Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7566 closed Bug (fixed)

BiDi: Increasing indentation on a list item changes the language direction

Reported by: jamescun Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.6.1
Component: Core : BiDi Version: 3.0
Keywords: IBM Cc: damo, satya, tmonahan

Description

Steps to reproduce the defect:

  1. Open the Ajax sample.
  1. Paste the following code into the source view:
<ol dir="rtl">
	<li>
		List item 1 (RTL)
		<ol dir="ltr">
			<li dir="ltr">
				List item 2 (nested + LTR)</li>
		</ol>
	</li>
	<li>
		List item 3 (RTL)</li>
</ol>

  1. In WYSIWYG mode, place the cursor in the last list item & click on increase indent.

Expected: The last list item becomes indented and remains RTL.

Actual: The last list item becomes indented but is now LTR. The user does not specify that they want to change the language of that list item so this should not happen.

This bug was introduced in 3.5.3.

Attachments (1)

7566.patch (2.9 KB) - added by garry.yao 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by j.swiderski

  • Status changed from new to confirmed
  • Version changed from 3.5.3 to 3.0

This problem has occured from CKEditor version 3.0

comment:2 Changed 5 years ago by garry.yao

  • Keywords BIDI removed

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 fredck

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

comment:5 Changed 5 years ago by garry.yao

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

Fixed with [6928].

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