Opened 6 years ago

Last modified 6 years ago

#10791 confirmed Bug

It is possible to write in hidden elements in IE 9+.

Reported by: Daazku Owned by:
Priority: Normal Milestone:
Component: Core : Selection Version: 4.0
Keywords: IE9 IE10 Cc:

Description

It seems that in IE10 (at least) you can write in hidden elements that have innerHTML !== ; If the said element is contenteditable:false it is worse because you cannot get out of it.

It may relate to this: https://dev.ckeditor.com/ticket/10641

Test case: http://jsbin.com/UNOWOba/5

PS: I discovered the problem because I use an element (<span contenteditable="false" style="display:none">&nbsp;</span>) just before a space holder that is removed on click and on IE the users could not write... It may suggest a cursor positionning problem. PSS: No problem in chrome.

Attachments (1)

test.htm (2.6 KB) - added by Jakub Ś 6 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 6 years ago by Daazku

Component: GeneralCore : Selection
Summary: It is possible to write in hidden elements in IE 10.It is possible to write in hidden elements in IE 9+.

Well it seems to be a selection problem from IE 9+. Probably caused by getStartElement??

In Chrome the returned element is the editor.
In IE8- the returned element is a P.
In IE9+ the returned element is the span...

Last edited 6 years ago by Daazku (previous) (diff)

Changed 6 years ago by Jakub Ś

Attachment: test.htm added

comment:2 Changed 6 years ago by Jakub Ś

Keywords: IE9 IE10 added
Status: newconfirmed
Version: 4.24.0

Problem can be reproduced from CKEditor 4.0 in IE9-10

Version 1, edited 6 years ago by Jakub Ś (previous) (next) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy