Opened 12 years ago

Last modified 12 years ago

#9080 closed Bug

List structure broken when deleting a list entry — at Version 1

Reported by: Teresa Monahan Owned by:
Priority: Normal Milestone: CKEditor 3.6.4
Component: Core : Lists Version: 3.6.3
Keywords: IBM Cc: Damian, Satya Minnekanti

Description (last modified by Frederico Caldeira Knabben)

To Reproduce:

  • Copy the following into source view:
<ol>
	<li>A</li>
	<li>B</li>
	<li>C</li>
</ol>
  • Return to wysiwyg and place the cursor after 'B'
  • Press backspace twice to delete the 2nd entry entirely.

Expected Result: The cursor should be placed after 'A'.

Actual result: A new paragraph is created and the list is broken:

<ol>
	<li>A</li>
</ol>
<p>
	&nbsp;</p>
<ol>
	<li>C</li>
</ol>

Even if the user hits backspace again to try to re-create the original list structure, 'A' and 'C' are now treated as separate lists e.g. the numbering is restarted, if the user tries to indent the list, only 'A' is indented.

This was introduced with rev [7392] and also occurs for bulleted lists.

Change History (1)

comment:1 Changed 12 years ago by Frederico Caldeira Knabben

Description: modified (diff)
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