Clearing or overwriting a previous style with a new one in editor


I seem to have a problem with how the Styles in the editor are applied.

A example:

I highlight a word and define my custom style to it: Headline which is a css-class.

Then I change my mind and want to change the word to another custom style: Content which is also a css-class.

Here I could assume the new class would replace the old one, ie instead of the word using Headline-class it would use Content-class. But when I look at the resulting code, the editor has added both classes to the word; ie adding, not replacing, the css. This is not what I want.

How can I make it so that the word only gets the latest applied css and not anything else?

Oct 31, 2011 13:03
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.