Opened 9 years ago
Last modified 9 years ago
#14526 confirmed Bug
Carriage return in empty list leaves childless list behind.
Reported by: | Alex T | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.2 |
Keywords: | Cc: |
Description
Steps to reproduce
- Create an empty list
<ul><li></li></ul>
- Press enter when caret is inside the first empty list item (it should already be here)
- Check the view source to see the current page source
Expected result
<p> </p>
Actual result
<p> </p> <ul> </ul>
The ul will be invisible as well, which is extra annoying.
Other details (browser, OS, CKEditor version, installed plugins)
I've tested this in both demo & nightly, on Chrome & Firefox.
Problem can be reproduced in all browsers starting from CKEditor 4.2.0.
Seems that version 4.2 has broken at least two things in empty lists #11897.