Opened 14 years ago
Closed 14 years ago
#6938 closed Bug (fixed)
IE/Opera: RTL language direction is not preserved when enter is pressed at the end of a list.
Reported by: | James | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.5.3 |
Component: | Core : BiDi | Version: | 3.5 |
Keywords: | IE Opera IBM | Cc: | Damian, joek, Satya Minnekanti |
Description
Steps to reproduce the defect:
- Open the Ajax sample in IE (or Opera 11).
- Paste in the following code:
<p> paragraph 1</p> <ol> <li> list item 1 <ol> <li> list item 2 <ol> <li> list item 3</li> </ol> </li> </ol> </li> </ol>
- Press CTRL + A and click on RTL icon.
- Place the cursor at the end of the last list item.
- Press Enter 3 times.
Expected: The cursor should remain on the right and the language direction should be RTL.
Actual: The cursor is on the left and the language direction is be LTR.
Attachments (3)
Change History (11)
Changed 14 years ago by
Attachment: | language_direction_list_defect.jpg added |
---|
Changed 14 years ago by
Attachment: | 6938.patch added |
---|
comment:1 Changed 14 years ago by
Keywords: | HasPatch added |
---|---|
Status: | new → confirmed |
comment:2 Changed 14 years ago by
Keywords: | HasPatch removed |
---|---|
Owner: | set to Garry Yao |
Status: | confirmed → review |
comment:4 Changed 14 years ago by
Milestone: | → CKEditor 3.5.3 |
---|
comment:5 Changed 14 years ago by
Status: | review → review_failed |
---|
In IE:
<ol dir="rtl"> <li> list item 1 <ol dir="ltr"> <li> ^</li> </ol> </li> </ol>
- Insert a few characters.
- Hit ENTER once, insert a few more characters.
- Hit ENTER twice. Note that the new list item is ltr.
Changed 14 years ago by
Attachment: | 6938_tc.docx added |
---|
comment:6 Changed 14 years ago by
Status: | review_failed → review |
---|
AFAIK that's just the desired behavior where language inherit from last list item (without considering list hierarchy ), it could be verified with the attached doc with MS Word.
comment:7 Changed 14 years ago by
Status: | review → review_passed |
---|
Agreed to follow the MS Word behavior for now.
comment:8 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [6566].
Browser irrelevant TC: press enter key at the following position: