Hi, I'm having small trouble making FCKeditor format the code correctly. I have e.g. a list that I want to wrap in <div>, but the editor insists of wrapping each <li> (and other) element in <div></div> tags.
That is not what I want. Is there a config option that tells FCKeditor only to add element to the beginning and end of the selected block, not every block inside the selection?
That is not what I want. Is there a config option that tells FCKeditor only to add element to the beginning and end of the selected block, not every block inside the selection?
Re: styled <div> around other elements?
Using this xml in the style config:
I get the display I want - ie, the generated html looks like this:
Now, if I want to put a list into this div, I position the cursor (in wysiwyg-mode, of course) at the beginning of line 2, press the "list" button and get this:
I expected to get something like this:
Is this behaviour by design?
Re: styled <div> around other elements?
Btw - I'm using FCKEditor v. 2.6.2, but have seen similar behaviour in the latest demo of CKEditor.
Re: styled <div> around other elements?