Opened 15 years ago
Last modified 12 years ago
#5471 confirmed Bug
Insert 'Div' result wrong in enterMode=BR
Reported by: | Garry Yao | Owned by: | |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Cc: |
Description
Reproducing Procedures
- Load the 'enterkey' sample and switch enterMode from <P> to <BR>;
- Click on 'Div' command and insert a default div container.
- Expected Result:
<div> This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>. </div>
- Actual Result: Line is wrapped by an extra paragraph.
<div> <p> This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p> </div>
Change History (1)
comment:1 Changed 12 years ago by
Priority: | Normal → Low |
---|---|
Status: | new → confirmed |
Version: | SVN (CKEditor) - OLD → 3.0 |
Currently this is how div container works - it inserts div with p inside. Thanks to such approach div is not replaced by other block level elements (like list or table) when they are inserted.
Perhaps adjusting div container to enter mode would require using attribute on this div?