Opened 13 years ago
Closed 12 years ago
#9097 closed Bug (fixed)
Selection at the beginning of paragraphs is broken on IE9 and IE8
Reported by: | Jakub Ś | 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 )
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 (3)
Change History (16)
Changed 13 years ago by
comment:1 Changed 13 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 13 years ago by
Description: | modified (diff) |
---|---|
Summary: | Enter command is broken on IE9 and IE8 → Selection at the beginning of paragraphs is broken on IE9 and IE8 |
comment:3 Changed 13 years ago by
comment:4 Changed 13 years ago by
Cc: | monahant@… added |
---|---|
Keywords: | IBM added |
comment:7 Changed 13 years ago by
Changed 12 years ago by
Attachment: | 9097.patch added |
---|
comment:9 Changed 12 years ago by
Milestone: | → CKEditor 3.6.5 |
---|---|
Owner: | set to Garry Yao |
Status: | confirmed → review |
The patch unifies the behavior in all IEs, to allow selection start from all body margins.
comment:10 Changed 12 years ago by
Status: | review → 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.
Changed 12 years ago by
Attachment: | 9097_2.patch added |
---|
comment:11 Changed 12 years ago by
Status: | review_failed → 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:12 Changed 12 years ago by
Status: | review → review_passed |
---|
comment:13 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [7600].
Reproducible from rev. [7374]