Opened 9 years ago

Last modified 8 years ago

#7451 confirmed Bug

Backspace stops working when working with nested list

Reported by: Krzysztof Studnik Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.4
Keywords: IBM Cc: jamcunni@…

Description

Basing on #6159, and connected to #6236 While #is fully reproducible under IE7, under IE8/doc mode IE8, the same steps work in different way:

Steps to reproduce

  • Click bullet icon in editor
  • Type 'test1' , press enter
  • Indent the bullet
  • Type 'test11' , press enter
  • Type 'test12' , press enter
  • Type 'test13'
  • Move cursor behind test12
  • Press enter 3 times
  • Press backspace 4 times

Expected Result

Cursor should be back at the end of 'test12'

Actual

  • After pressing backspace for the 4th time, cursor is set in an empty line.
  • Pressing backspace more times, does not work
  • empty bullet line is placed below 'test12'

It works this way since v3.4

Attachments (1)

zrzut ekranu3.png (12.6 KB) - added by Krzysztof Studnik 9 years ago.
Empty bullet and line

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by Krzysztof Studnik

Attachment: zrzut ekranu3.png added

Empty bullet and line

comment:1 Changed 9 years ago by Krzysztof Studnik

Component: GeneralCore : Lists

comment:2 Changed 9 years ago by James Cunningham

Cc: jamcunni@… added
Keywords: IBM added

comment:3 Changed 9 years ago by James Cunningham

Here is a simpler test case:

  1. Paste in the following code:
<ol>
	<li>line 1
		<ol>
			<li>line 2</li>
		</ol>
	</li>
	<li>line 3</li>
</ol>

  1. Place the cursor at the start of the last list item.
  1. Click backspace.

Result: Nothing happens. (Reproduced on Firefox 3.6.15)

comment:4 Changed 9 years ago by Jakub Ś

Status: newconfirmed

Example provided by jamescun hasn't worked in Firefox since CKEditor version 3.0, but it works in IE

comment:5 Changed 8 years ago by Garry Yao

The Backspace behavior are not managed by the editor thus could vary from browsers.

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