Opened 12 years ago
Closed 9 years ago
#9502 closed Bug (fixed)
[IE] The selection expands by some characters when eg. creating a link
Reported by: | Tuomas Salo | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Selection | Version: | 3.5.1 |
Keywords: | IE9 IE10 | Cc: |
Description
It seems that under some very specific circumstances IE9 and IE10 expand the selection by a character or two.
How to reproduce:
- go to http://venko.net/naapuri/tyo/ck-selection/ (use IE9 or IE10)
- double click the long word in the editor
- press Ctrl+L (or click the link button on the toolbar)
- press ESC (or create a link)
Expected result:
- the long word (and the trailing space) is still selected, and nothing else
Actual result:
- the selection is expanded by two characters, so now "doubleclickthis fo" is selected.
This bug can also be reproduced on the CKEditor demo page, by pasting the same code to the editor source view:
<table><tr><td><p><b>foo<br/><a href="#">baz</a> </b>qux</p><p><br/> fred<br/> doubleclickthis foo <a href="#">fred</a> foo<br/> bar<br/> baz<br/> qux<br/> foo<br/> bar<br/><b>baz</b><br/> </p></td></tr></table><p> </p>
Apologies for the long test case. It seemed that if I change anything, the bug doesn't show up. Gotta love IE. <3
Note that this bug also appears if you right-click on the text and then push ESC, so it's not only connected to the hyperlink dialog.
Change History (3)
comment:1 Changed 12 years ago by
Version: | 3.6.5 → 3.6.6 (SVN - trunk) |
---|
comment:2 Changed 12 years ago by
Component: | General → Core : Selection |
---|---|
Keywords: | IE9 IE10 added |
Status: | new → confirmed |
Version: | 3.6.6 (SVN - trunk) → 3.5.1 |
Can be reproduced in IE9, IE10, in CKEditor 3.x and 4.x.
It has first occurred in CKEditor 3.5.1 rev. [6337] - selection was moved by 1 character to the right.
In CKEditor 3.5.3 selection was moved by 2 characters to the right
In CKEditor 3.5.4 rev. [6740] selection instead of being moved it has started extending 2 characters to the right
comment:3 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
I have checked latest CKEditor 4.5.10 and problem doesn't occur there anymore. I'm closing this one as fixed.
Also happens after 3.6.5, tested on rev 7657 (try here: http://venko.net/naapuri/tyo/ck-selection/nightly/).