Author view reflect local styling

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
rhiannonppl
Posts: 6

Author view reflect local styling

Mon Jul 06, 2015 4:45 pm

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: 5763

Re: Author view reflect local styling

Tue Jul 07, 2015 8:33 am

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: 5763

Re: Author view reflect local styling

Thu Apr 06, 2017 1:59 pm

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

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 2 guests