Opened 4 years ago

Last modified 4 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

  1. Create an empty list
    <ul><li></li></ul>
    
  1. Press enter when caret is inside the first empty list item (it should already be here)
  2. Check the view source to see the current page source

Expected result

<p>&nbsp;</p>

Actual result

<p>&nbsp;</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.

Change History (1)

comment:1 Changed 4 years ago by Jakub Ś

Status: newconfirmed
Version: 4.5.74.2

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy