I have the following content in the editable field:
<div class="abc">this is my text</div>
Then I select the fragment "my" and choose another style, e.g. "Blue Title".
The editable field now contains:
<P class=abc>this is <FONT class=BlueTitle>my </FONT>text</P>
I don't want that: first of all this is not valid X(HT)ML, but more importantly, the P tag has been replaced. Why is this necessary?
<div class="abc">this is my text</div>
Then I select the fragment "my" and choose another style, e.g. "Blue Title".
The editable field now contains:
<P class=abc>this is <FONT class=BlueTitle>my </FONT>text</P>
I don't want that: first of all this is not valid X(HT)ML, but more importantly, the P tag has been replaced. Why is this necessary?
RE: Automatic replace of DIV
<div class="abc">this is my text</div>
is replaced by:
<P class=abc>this is <FONT class=BlueTitle>my</FONT> text</P>