Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#7566 closed Bug (fixed)

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

Reported by: James Cunningham Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.6.1
Component: Core : BiDi Version: 3.0
Keywords: IBM Cc: Damian, Satya Minnekanti, Teresa Monahan

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 13 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by Jakub Ś

Status: newconfirmed
Version: 3.5.33.0

This problem has occured from CKEditor version 3.0

comment:2 Changed 13 years ago by Garry Yao

Keywords: BIDI removed

Changed 13 years ago by Garry Yao

Attachment: 7566.patch added

comment:3 Changed 13 years ago by Garry Yao

Owner: set to Garry Yao
Status: confirmedreview

comment:4 Changed 13 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.6.1
Status: reviewreview_passed

comment:5 Changed 13 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed

Fixed with [6928].

comment:6 Changed 12 years ago by Frederico Caldeira Knabben

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