I have a list
and a custom style:
If i select the list, and apply the style, it goes like this:
But this is not what I want. What I would FCKeditor like to do, is:
How can I persuade the editor to listen to me?
P.S. The same counts for applying a style for multiple paragraphs:
Becomes
in stead of
<ul> <li>A</li> <li>B</li> </ul>
and a custom style:
<Styles> <Style name="Important block" element="div"> <Attribute name="class" value="important" /> </Style> </Styles>
If i select the list, and apply the style, it goes like this:
<ul> <li><div class="important">A</div></li> <li><div class="important">B</div></li> </ul>
But this is not what I want. What I would FCKeditor like to do, is:
<div class="important"> <ul> <li>A</li> <li>B</li> </ul> </div>
How can I persuade the editor to listen to me?
P.S. The same counts for applying a style for multiple paragraphs:
<p>...</p> <p>...</p> <p>...</p>
Becomes
<p><div class=...</div></p> <p><div class=...</div></p> <p><div class=...</div></p>
in stead of
<div class="..."> <p>...</p> <p>...</p> <p>...</p> </div>
