How to retain default outputclass for element while applying speciific attribute a certain elements in OxygenXML Author
Posted: Fri May 19, 2023 8:58 am
Hi Team,
I have defined generic output class in cc_config.xml for all elements. Now I am trying to add a different output class only for codeblock element , but all the default attributes are getting removed when I open Oxygenxml Author. how to retain all the generic attribute in codeblock?
Generic output class for all element
I have defined generic output class in cc_config.xml for all elements. Now I am trying to add a different output class only for codeblock element , but all the default attributes are getting removed when I open Oxygenxml Author. how to retain all the generic attribute in codeblock?
Code: Select all
<match elementName="codeblock" attributeName="outputclass" editable="true">
<items action="append">
<item value="language-java"
annotation=""/>
</items>
</match>
Code: Select all
<match attributeName="outputclass" editable="true">
<items action="append">
<item value="text-foreground-blue"/>
<item value="text-foreground-brown"/>
<item value="text-foreground-dark-green"/>
<item value="text-foreground-light-green"/>
</items>
</match>