Ticket #9097 (closed Bug: fixed)
Selection at the beginning of paragraphs is broken on IE9 and IE8
| Reported by: | j.swiderski | Owned by: | garry.yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.6.5 |
| Component: | General | Version: | 3.6.3 |
| Keywords: | IE8 IE9 IBM | Cc: | monahant@…, satya_minnekanti@… |
Description (last modified by j.swiderski) (diff)
I have found it when checking #9093
To reproduce:
- Insert below code and switch to WYSIWYG
<p>aaa</p> <p>bbb</p> <p>ccc</p>
- Try to select 'bbb' but start your selection a little bit to the left of 'bbb' like shown in picture.
- Once bbb is selected press Enter key
Result: new line is inserted above 'aaa'
Alternative step 3:
- Once bbb is selected, press Link button and insert a link. Note that the link is inserted in the wrong place (at the end of contents).
The same thing happens with inline styles - they are added at the end of content. You can inspect it only with developer tools.
This issue has only been reproducible in IE8 and IE9 from CKEditor 3.6.3
Attachments
Change History
comment:1 Changed 11 months ago by j.swiderski
- Status changed from new to confirmed
Reproducible from rev. [7374]
comment:2 Changed 11 months ago by wwalc
- Description modified (diff)
- Summary changed from Enter command is broken on IE9 and IE8 to Selection at the beginning of paragraphs is broken on IE9 and IE8
comment:6 Changed 10 months ago by j.swiderski
- Description modified (diff)
#8961 is a duplicate of this one.
comment:8 Changed 10 months ago by tmonahan
Ticket #8964 was also closed as a duplicate of this one.
comment:9 Changed 9 months ago by garry.yao
- Owner set to garry.yao
- Status changed from confirmed to review
- Milestone set to CKEditor 3.6.5
The patch unifies the behavior in all IEs, to allow selection start from all body margins.
comment:10 Changed 9 months ago by fredck
- Status changed from review to review_failed
With IE8 at least:
- Create 3 lines of text.
- Start dragging from the bottom-right whitespace part of the editor to make a selection up to the top-left.
It will work well for the first line only. As soon as the above lines get reached, the selection gets lost and we have a strange behaviour.
I didn't test it with other IE versions.
comment:11 Changed 9 months ago by garry.yao
- Status changed from review_failed to review
New patch addressed the above described issue, in IE > 8, the patch also has some indentation changes, that would be ignored when comparing a diff.
comment:13 Changed 9 months ago by garry.yao
- Status changed from review_passed to closed
- Resolution set to fixed
Fixed with [7600].
