Opened 9 years ago
Last modified 9 years ago
#14676 confirmed Bug
P tag pollution in lists after a table — at Initial Version
Reported by: | Alex T | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Lists | Version: | 4.3 |
Keywords: | Cc: |
Description
Steps to reproduce
(This is done in the demo site)
- Create a list
- Create a table in the list item
- Move the cursor to the right of the table
(Firefox-only step - you must add text after the table)
- Hit enter
- A new list item is created, but with a p tag
- Hit enter again
- all further list items are created with p tags
Expected result
New list items should just be an empty li
Actual result
All the rest of the list items automatically have p tags within
Other details (browser, OS, CKEditor version, installed plugins)
Demo site with Chrome. We observe this in our build which is based on 4.5.7 as well.
In Firefox, pressing right from the last table cell puts you in a new p tag within the original list item. if you do not type anything into this new p tag, when you press enter, the table gets destroyed. If you do type into it, then you will observe the behaviour described where all the next list items will automatically have p tags