I'm trying to help out my team's editors and simplify the review process a bit. So, in copy we're submitting to our editors, I'm trying to use styles to mark snippets so that the editors know they may have already seen and given feedback on a particular bit of reused text.
To that end, I've set up the following styles:
Code: Select all
MadCap|snippetBlock.flagged
{
border: 1px green solid;
background-color: #c9ffd2;
}
MadCap|snippetBlock.flagged::before
{
content: "This is a snippet; consider whether you have reviewed this text before";
font-size: 50%;
letter-spacing: .1em;
word-spacing: .1em;
text-color: #016011;
font-style: italic;
}
MadCap|snippetText.flagged
{
border: 1px green solid;
background-color: #c9ffd2;
}
MadCap|snippetText.flagged::before
{
content: "Snippet Text:";
font-style: italic;
font-size: 60%;
background-color: #c9ffd2;
text-color: #016011;
vertical-align: top;
}
All of these test out just fine when I had them set up as Div and Span styles, so I know Flare supports the ::before pseudoclass.
but when in my file I include the snippets and use the class:
Code: Select all
<MadCap:snippetBlock src="Resources/MySnippet.flsnp" class="flagged" />
<p>This is a sentence I want to include some <MadCap:snippetText src="Resources/MySnippet.flsnp" class="flagged" /> into. It uses the snippetText.flagged style.</p>
...but PDF and HTML5, both preview and output, display as plain text.
I've also tried removing the classes so that all snippets use the classes, but no luck there either.
Is this just something Flare doesn't support, and I should stop trying to find something wrong in what I'm doing? Or am I doing something wrong? I can go back to the divs and spans, but I'm trying to roll this out across a broad userbase with varying levels of expertise and comfort, and I really want to make it as simple as possible.
Thanks for any help you can offer!