Workaround for CSS Limitations

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Johann
Posts: 199
Joined: Wed Jun 17, 2015 12:46 pm

Workaround for CSS Limitations

Post by Johann »

Hello,

We are using Author Web version 26.0.

We are aware of the CSS limitations in Author Web: https://www.oxygenxml.com/doc/versions/ ... tions.html

We'd like to know your recommendations for working around the limitations concerning the :has selector, for example.

In Author (Desktop), we have many display rules based on this selector. They are not taken into account in Web Author. How can we reintegrate them?

Do we need to write javascript rules to add classes to the html elements representing the author node elements? Add CSS rules at another level (outside the framework?)?

Can you help us solve this problem?

Thank you,

Johann
cosminef
Site Admin
Posts: 84
Joined: Wed Aug 30, 2023 2:33 pm

Re: Workaround for CSS Limitations

Post by cosminef »

Hello,

Indeed, :has selector have certain limitations in Web Author, but you can set pseudo-classes using our API. [1]

[1] https://www.oxygenxml.com/oxygen_sdk/do ... ource-code

Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
Post Reply