Opened 8 years ago

Closed 8 years ago

#3820 closed Bug (fixed)

Strange bullet/list problem

Reported by: Damian Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: IBM Confirmed Review+ Cc:

Description

Problem occurs when a line of text is below a bullet/number list:

<ul>
	<li>
		bullet line 1</li>
	<li>
		bullet line 2</li>
</ul>
<p>
	Second line</p>

Select the line at the bottom "Second line" and make it a bullet item using the toolbar option.

Result:

<ul>
	<li>
		Second line</li>
	<li>
		bullet line 1</li>
	<li>
		bullet line 2</li>
</ul>

The item is appended to the top of the list. If it is added to the list it should be to the bottom.

Attachments (2)

3820.patch (547 bytes) - added by Garry Yao 8 years ago.
3820_2.patch (7.1 KB) - added by Garry Yao 8 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 8 years ago by Frederico Caldeira Knabben

Keywords: Confirmed added

Confirmed with IE and FF.

comment:2 Changed 8 years ago by Garry Yao

Owner: set to Garry Yao
Status: newassigned

Changed 8 years ago by Garry Yao

Attachment: 3820.patch added

comment:3 Changed 8 years ago by Garry Yao

Keywords: Review? added

There's an obvious logic bug within merge list logic.

Changed 8 years ago by Garry Yao

Attachment: 3820_2.patch added

comment:4 Changed 8 years ago by Garry Yao

Appending TCs, the previous list.html is messed up.

comment:5 Changed 8 years ago by Martin Kou

Keywords: Review+ added; Review? removed

comment:6 Changed 8 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [3771].

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