Opened 12 years ago

Closed 8 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:


It seems that under some very specific circumstances IE9 and IE10 expand the selection by a character or two.

How to reproduce:

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:

</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/>

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 Tuomas Salo

Version: (SVN - trunk)

Also happens after 3.6.5, tested on rev 7657 (try here:

comment:2 Changed 12 years ago by Jakub Ś

Component: GeneralCore : Selection
Keywords: IE9 IE10 added
Status: newconfirmed
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 8 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

I have checked latest CKEditor 4.5.10 and problem doesn't occur there anymore. I'm closing this one as fixed.

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