Hi,
I've been customising the htmlcleaner.xml and I was hoping someone could help. Is there a way to allow for a series of class values to be used on *any* allowed elements? e.g.
<p class="style-one">para</p>
<a class="style-one" href="#">link</p>
<h1 class="style-one">heading</h1>
I've added:
<attribute name="class"/>
<attribute name="id"/>
To all of the allowed elements.
Then I tried adding (as a guess):
<allowed-classes>
<class>style-one</class>
<class>style-two</class>
<class>style-three</class>
</allowed-classes>
At the top of the xml (between allowed-span-classes and allowed-div-classes), but unsurprisingly I saw this message on restart/re-edit:
unexpected element allowed-classes inside cleanup
Is there a way to express this in the xml? If not, could this be something I could add fairly easily? I haven't looked at the source yet - wanted to ask here first.
Any help / advice would be really appreciated; thanks
A