Ticket #9008 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

List order is reversed when converting list type

Reported by: tmonahan Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.6.4
Component: Core : Lists Version: 3.6.3
Keywords: IBM Cc: damo, satya

Description

To Reproduce:

  • Copy the following into the source view. This is just a bulleted list followed by a numbered list.
<ul>
	<li>
		item 1</li>
	<li>
		item 2</li>
	<li>
		item 3</li>
	<li>
		item 4</li>
</ul>
<ol>
	<li>
		Numbered list item</li>
</ol>
  • Switch back to wysiwyg mode and select the entire bulleted list.
  • Click on the Number list toolbar icon to convert the list type.

Problem: The order of the list items is reversed. The actual result is:

    item 4
    item 3
    item 2
    item 1
    Numbered list item

The result should be:

    item 1
    item 2
    item 3
    item 4
    Numbered list item

This also occurs when converting from numbered lists to bulleted lists. It is a regression in 3.6.3 and seemed to be introduced with rev #7403

Attachments

9008.patch (2.1 KB) - added by garry.yao 3 years ago.

Change History

comment:1 Changed 3 years ago by j.swiderski

  • Status changed from new to confirmed

Reproducible from CKEditor 3.6.3 rev. [7403]

Changed 3 years ago by garry.yao

comment:2 Changed 3 years ago by garry.yao

  • Owner set to garry.yao
  • Status changed from confirmed to review

comment:3 Changed 3 years ago by fredck

  • Status changed from review to review_passed
  • Milestone set to CKEditor 3.6.4

comment:4 Changed 3 years ago by garry.yao

  • Status changed from review_passed to closed
  • Resolution set to fixed

Fixed with [7497].

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