Opened 10 years ago

Closed 10 years ago

#11897 closed Bug (fixed)

Enter key in an empty formatted list item, creates a new line instead of breaking the list

Reported by: noam Owned by:
Priority: Normal Milestone: CKEditor 4.4.3
Component: General Version: 4.2
Keywords: Cc:

Description

This bug is very similar to bug #5376 but with a change.

Reproduce:

  • Open any demo page
  • Create a new list (numbered or bullets it doesn't matter)
  • Create a new empty list item
  • Change the list item format to any format (h1, normal, etc...)
  • Press Enter Key.

Expected Result: The cursor should come out of the list and a new empty Paragraph should open

Actual Result: A new paragraph is created in the <ul> list and the <li> still exist

Change History (3)

comment:1 Changed 10 years ago by Jakub Ś

Status: newconfirmed
Version: 4.2

Problem can be reproduced in all browsers from CKEditor 4.2.

comment:2 Changed 10 years ago by Piotrek Koszuliński

This issue has a pull request: https://github.com/ckeditor/ckeditor-dev/pull/99

I pushed branch:t/11897 with the code from pull request + code style fixes.

comment:3 Changed 10 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.4.3
Resolution: fixed
Status: confirmedclosed

Fixed on master with git:e0542d2.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy