Opened 12 years ago

Closed 12 years ago

#9008 closed Bug (fixed)

List order is reversed when converting list type

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

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 (1)

9008.patch (2.1 KB) - added by Garry Yao 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed

Reproducible from CKEditor 3.6.3 rev. [7403]

Changed 12 years ago by Garry Yao

Attachment: 9008.patch added

comment:2 Changed 12 years ago by Garry Yao

Owner: set to Garry Yao
Status: confirmedreview

comment:3 Changed 12 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.6.4
Status: reviewreview_passed

comment:4 Changed 12 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed

Fixed with [7497].

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