Ticket #3095 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Indent/Outdent problem with list item

Reported by: garry.yao Owned by: martinkou
Priority: High Milestone: CKEditor 3.0
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Review+ Cc:

Description

Procedures

  1. Open the replace by code example page;
  2. Initial the document with the following content and selection:
    	<ol>
    		<li>level1</li>
    		<li>leve1
    			<ol>
    				<li>^level2</li>
    			</ol>
    		</li>
    	</ol>
    
    
  3. Click on Outdent button to degrade list item once.
  4. Click on Indent button to arise list item once.
  • Actual Result: The previous list item was indented too.
    <ol>
    	<li>
    		level1
    		<ol>
    			<li>
    				leve1</li>
    			<li>
    				level2</li>
    		</ol>
    	</li>
    </ol>
    

Attachments

3095.patch (1.5 KB) - added by martinkou 5 years ago.

Change History

comment:1 Changed 5 years ago by martinkou

  • Status changed from new to assigned
  • Keywords Confirmed added
  • Owner set to martinkou

comment:2 Changed 5 years ago by martinkou

  • Priority changed from Normal to High

Changed 5 years ago by martinkou

comment:3 Changed 5 years ago by martinkou

  • Keywords Review? added

Turns out the bug was caused by a small logic error in the indent plugin, which is feeding arrayToList() the wrong UL or OL node to begin with.

There's also a small bugfix for the list plugin in the patch.

comment:4 Changed 5 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:5 Changed 5 years ago by martinkou

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

Fixed with [3253].

Click here for more info about our SVN system.

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