Opened 6 years ago

Closed 4 years ago

#10561 closed Bug (duplicate)

Multiple Initialize - Destroy actions cause issues in IE

Reported by: smholstein Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0 Beta
Keywords: Cc:

Description

When the inline CKeditor is initialized dynamically on the same element multiple times IE runs the enter key multiple times (the number of times the editor has been initialized). I have not seen the problem in Firefox or Chrome. Only IE. I am running IE10 on Windows 8. The only key I have found to be affected is Enter. Attaching a test file for reproduction.

To reporduce:

  1. Click Init and see that enter works as expected adding 1 p element after pressed.
  2. Click Destroy and Init again. Enter key will add 2 p elements after pressed.
  3. Click Destroy and Init again. Enter Key will add 3 p elements after pressed.

So on...

Attachments (2)

test.html (1.8 KB) - added by smholstein 6 years ago.
test1.html (1.6 KB) - added by Jakub Ś 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by smholstein

Attachment: test.html added

Changed 6 years ago by Jakub Ś

Attachment: test1.html added

comment:1 Changed 6 years ago by Jakub Ś

Status: newconfirmed
Version: 4.1.24.0 Beta

Problem can be reproduced in IE9-10 from CKEditor 4.0 beta.

In test1.html I have removed all jQuery code just to make sure it doesn't cause any problems. You get as many enters as times editor was initialied

comment:2 Changed 4 years ago by Jakub Ś

Resolution: duplicate
Status: confirmedclosed

DUP of #10093.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy