make editor show condition from style

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
pdenchfield
Propellus Maximus
Posts: 574
Joined: Tue Oct 03, 2006 7:56 am
Location: Seattle, WA
Contact:

make editor show condition from style

Post by pdenchfield »

Hi, our CSS has this style:

Code: Select all

REVISED:
span.NoteToReviewer
{
        color: #ff0000;
        font-style: italic;
        mc-conditions: 'conditions.Notes to Reviewers';
}
But when we apply the style to some text, there is no conditional indicator in the Flare editor. (If I manually apply the condition,then I see the conditional indicator.)

I had this working at my previous employer but can't for the life of me remember how we did it.

How can I make my Flare editor automatically show the condition applied by CSS?

Thanks!
Pamela
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: make editor show condition from style

Post by doc_guy »

I just did this in a sample project.

When I apply a condition to a block level style (div.hideme), I see the background color showing a condition has been applied:
Image

When I apply a condition to an inline style (span.NoteToReviewer), I see a condition box to the left of the span's condition:
Image

Two settings control how these are displayed: First, ensure you have the "show/hide conditions" option selected at the bottom of the Flare XML editor -- but even then, that just disabled the background colors for block-level styles. It didn't remove the condition indicator for the inline style.
Image

Second, make sure you have this option enabled (so you can see the box next to the span that has the condition applied):
Image
Paul Pehrson
My Blog

Image
Post Reply