Opened 12 years ago
Closed 12 years ago
#9341 closed Bug (fixed)
CKEditor removes <br /> tags in list items
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Lists | Version: | 3.0.2 |
Keywords: | Cc: |
Description (last modified by )
Reported by one of our customers.
CKEditor removes <br /> tags (made with SHIFT + ENTER) at end of a <li> tag. It happens when nested lists are used.
<ul> <li>Test 1 <ul> <li>Test 1.1</li> </ul> </li> </ul>
If you add a <br /> (SHIFT + ENTER) after "Test 1" and switch
between WYSIWYG and the Source view, then the CKEditor will remove the <br />.
However, if you add more then one <br /> tag, then only the last one
will be removed per each view switch. This happens also on loading HTML into the editor.
Problem has been reproducible in all browsers from CKEditor 3.0.2
Attachments (1)
Change History (4)
Changed 12 years ago by
Attachment: | Test-case.txt added |
---|
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Status: | new → confirmed |
comment:2 Changed 12 years ago by
This is working fine in CKE 4.x (v4) - http://nightly-v4.ckeditor.com/.
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
I confirm that this has been fixed on v4.
Please have a look at attached file. The <br /> after "Test 3" will be removed by CKEditor.