Page 1 of 1

Author view reflect local styling

Posted: Mon Jul 06, 2015 4:45 pm
by rhiannonppl
If I have, say, an XHTML document where local styling is applied to some of the elements, how do I get this to appear in Author view?

For (a minimal) example:

Code: Select all


<!DOCTYPE html>
<article class="Restricted" xmlns="http://www.w3.org/1999/xhtml">
<section title="SectionTitle">
<h4>Section</h4>
<p style="color:#ff00ff">
Half a pound of tuppeny rice
</p>
</section>
</article>
How would I get the text to appear purple in Author view to match the style attribute on the <p> element? Is this possible?

Re: Author view reflect local styling

Posted: Tue Jul 07, 2015 8:33 am
by Radu
Hi,

Hi, sorry but right now we do not have a CSS trick to parse the styles set on the @style attribute and use them for rendering in the Author editing mode.
But we'll consider adding such a feature. I will update this forum thread when we do.

Regards,
Radu

Re: Author view reflect local styling

Posted: Thu Apr 06, 2017 1:59 pm
by Radu
Hi,

Just to update this thread, Oxygen 19.0 should have this feature implemented.

Regards,
Radu