Hi
I cannot understand.
Click the "source" button.
Write this html
<a href="#">
<div>
<p>Foo</p>
</div>
</a>
Re-click on the "source" button to get in "normal" mode.
The html is:
<div>
<p><a href=""Foo</a></p>
</div>
It is possible, I guess, to preserve the exact html you write, isn'it?
How?
Am I doing something wrong?
Thank you.
Pietro Conconi

CKEditor uses a combination
CKEditor uses a combination of XHTML 1.1 and some HTML5. XHTML is a stricter form of HTML, so it doesn't allow that kind of syntax - similar rule as in HTML 4.0. Inline tags can't have block-level tags inside. They can only have inline content inside. <div> is a block level.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Perfect. Clear.
Perfect. Clear.
Thank you for the quick reply!