Opened 5 years ago

Closed 5 years ago

#6861 closed Bug (fixed)

The Indent command changes a text direction

Reported by: tobiasz.cudnik Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.5.3
Component: Core : Styles Version: 3.4 Beta
Keywords: IBM Cc: jamcunni@…

Description

The Indent command changes a text direction.

  1. Use a following content with a selection:
    <ul>
    	<li dir="rtl">
    		1</li>
    	<li>
    		[2</li>
    	<li>
    		3]</li>
    </ul>
    
  2. Press the Increase Indent button.

Result:

<ul>
	<li dir="rtl">
		1
		<ul>
			<li>
				2</li>
			<li>
				3</li>
		</ul>
	</li>
</ul>

Expected: A new list element wrapping LIs 2 & 3 ?

Attachments (2)

6861.patch (850 bytes) - added by garry.yao 5 years ago.
6861_2.patch (887 bytes) - added by garry.yao 5 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 5 years ago by james c

  • Cc jamcunni@… added
  • Keywords IBM added

comment:2 Changed 5 years ago by garry.yao

  • Component changed from General to Core : Styles
  • Status changed from new to confirmed
  • Version set to 3.4 Beta

Changed 5 years ago by garry.yao

comment:3 Changed 5 years ago by garry.yao

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

comment:4 Changed 5 years ago by damo

Can we target this for a milestone?

comment:5 Changed 5 years ago by wwalc

  • Milestone set to CKEditor 3.5.3

comment:6 Changed 5 years ago by Saare

  • Status changed from review to review_failed

In a RTL editor:

  • Use:
    <ul>
    	<li dir="ltr">
    		1</li>
    	<li>
    		[2</li>
    	<li>
    		3]</li>
    </ul>
    
  • Press "increase indent".

Note that the direction had changed for items 2 and 3.

Changed 5 years ago by garry.yao

comment:7 Changed 5 years ago by garry.yao

  • Status changed from review_failed to review

comment:8 Changed 5 years ago by Saare

  • Status changed from review to review_passed

comment:9 Changed 5 years ago by garry.yao

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

Fixed with [6562].

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