Author view reflect local styling

Having trouble installing Oxygen? Got a bug to report? Post it all here.
rhiannonppl
Posts: 6
Joined: Wed May 20, 2015 5:01 pm

Author view reflect local styling

Post 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?
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Author view reflect local styling

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Author view reflect local styling

Post by Radu »

Hi,

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply