From the documentation on this page: http://dev.fckeditor.net/wiki/Components/Styles
To solve this situation, a list of "overrides" can be defined, with element definitions to be overridden. Each element in the list is much similar to a normal element definition, with the exception that attributes and styles can be set to "null" to catch all values, or a regular expression.
I cannot for the life of me figure out how this is exactly supposed to work. My use case is extremely simple, I have 2 classes that I don't want applied simultaneously. How do I make these override tags work?
I tried this with no luck:
<Style name="class1" element="span">
<Attribute name="class" value="class1" />
<Override name="class" value="class2" />
</Style>
<Style name="class2" element="span">
<Attribute name="class" value="class2" />
<Override name="class" value="class1" />
</Style>
I have been trying to randomly guess how this works for hours. My understanding is that this was carried forth into CKEditor - I am on the crux of filing a bug report as the docs appear to be either incorrect, or there is a problem with the behaviour.
Any help is mucho mucho appreciated!