Hello everybody !
I'm using FCKeditor under Drupal (a CMS) and I can do almost everything what I want except understand how to get clean source code when I change text style.
Exemple : I choose to set "My text" to style 1 so the generated code is :
And if I want to change "My text" from style 1 to style 2, the generated code becomes :
so I get a bastard style between style 1 and style 2, can anybody explain me why the first span is not replaced by the second ? because when I change a title from H1 to H2, the change is made, I don't have 2 tags ! why doesn't it work with span ?
any explanation is welcome ! I use version 5.x-2.2-beta2, perhaps it comes from this beta version ?
thanks
Hugo
I'm using FCKeditor under Drupal (a CMS) and I can do almost everything what I want except understand how to get clean source code when I change text style.
Exemple : I choose to set "My text" to style 1 so the generated code is :
<span class="style_1">My Text</span>
And if I want to change "My text" from style 1 to style 2, the generated code becomes :
<span class="style_2"><span class="style_1">My Text</span></span>
so I get a bastard style between style 1 and style 2, can anybody explain me why the first span is not replaced by the second ? because when I change a title from H1 to H2, the change is made, I don't have 2 tags ! why doesn't it work with span ?
any explanation is welcome ! I use version 5.x-2.2-beta2, perhaps it comes from this beta version ?
thanks
Hugo