Opened 10 years ago

Last modified 10 years ago

#12783 confirmed Bug

Backspace and delete keys do not function properly when working with lists that have sublist

Reported by: Karen Ananiev Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.6.5
Keywords: Cc:

Description

Use the following code:

<p>test</p>

<ul>
	<li>test
	<ul>
		<li>test</li>
	</ul>
	</li>
</ul>

Put the cursor at the start of the first list item and hit backspace. The item won't be removed, cursor will be moved at the end of the previous paragraph.

Change History (2)

comment:1 Changed 10 years ago by Karen Ananiev

Is there any chance to get it resolved?

comment:2 Changed 10 years ago by Jakub Ś

Status: newconfirmed
Version: 3.6.5

This behaviour can be first observed in CKEditor 3.6.5 rev [7601]. It looks like it gets fixed in CKEditor 4.0 beta and breaks again in CKEditor 4.0 (perhaps some change made in beta was reverted).

Problem can be observed in all browsers.

The question is probably what the proper result here is. Unfortunately this test case in native contenteditable produced different results in different browsers.
When looking at older versions of CKEditor (3.6.4-) and native contenteditable in Chrome I think the result should stay as:

<p>testtest</p>

<ul>
	<li>
	<ul>
		<li>test</li>
	</ul>
	</li>
</ul>
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