Opened 10 years ago

Last modified 10 years ago

#11623 confirmed Bug

Text reflow is broken when deleting text at the end of a list followed by a table

Reported by: ndeuma Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.6.4
Keywords: Cc:


Steps to reproduce:

  • Create an unordered list. The text of the last list item must not be empty.
  • Insert a table immediately after the list. The first cell in the first row must have some text.
  • At the end of the last list item, press "Delete"

Actual behavior:

  • The text in the first table cell flows inside the list item (see screenshot). The first table becomes empty.

Expected behavior (one of the following):

  1. The entire table flows into the list item
  2. Nothing happens

Attachments (1)

CK Editor Bug 02.png (51.6 KB) - added by ndeuma 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by ndeuma

Attachment: CK Editor Bug 02.png added


comment:1 Changed 10 years ago by Jakub Ś

Keywords: tables lists delete removed
Status: newconfirmed

Expected behaviour (one of the following):
The entire table flows into the list item
Nothing happens

At first editor was following default browser behaviour which is:

  • IE - does nothing
  • FF - deletes text in table cells when delete is pressed
  • Webkit, Bkink - Selects and deletes table

This has been changed in CKEditor 3.6.4 rev. [7540] and from that revision text from first cell was moved to last list item. Additionally JS error was thrown.

From CKEditor 4.3.1 there is no JS error but text is still moved to last list item.

I agree with @ndeuma that one of expected behaviours should be applied if it is possible.

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