Opened 8 years ago

Closed 8 years ago

#14635 closed Bug (duplicate)

Pasting into ckeditor will prevent the "change" event from firing for the first subsequent keypress

Reported by: Kevin Kamel Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Steps to reproduce

  1. Visit https://jsfiddle.net/kamelkev/af6495xf/3/ which attaches a handler for the change event which replicates the content into a div
  2. Copy arbitrary content (text, image, does not matter)
  3. Paste content into CKEditor
  4. Press a single key, observe that the change event has not fired
  5. Press a second key, observe that the change event has fired and the content area has updated with both the first and second key.

Expected result

I expect that when CKEditor has a change in the content that the change event will be fired.

Actual result

CKEditor fails to fire the change event for the very first key after pasting in content.

Other details (browser, OS, CKEditor version, installed plugins)

I have tested on 4.5.4, 4.5.8 and 4.5.9 - all are affected. Browser does not matter. The jsfiddle uses a stock ckeditor configuration, there are no special circumstances to reproducing this issue, it appears to happen in all browsers.

I do not know how to properly tag this ticket, please update the tagging as you see fit.

I have attached a file that is identical to what is on jsfiddle, along with an animated gif displaying the issue.

Attachments (2)

reproduce.html (810 bytes) - added by Kevin Kamel 8 years ago.
simple demo displaying bug
17WBv.gif (448.8 KB) - added by Kevin Kamel 8 years ago.
animated gif showing problem

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Kevin Kamel

Attachment: reproduce.html added

simple demo displaying bug

Changed 8 years ago by Kevin Kamel

Attachment: 17WBv.gif added

animated gif showing problem

comment:1 Changed 8 years ago by Jakub Ś

Resolution: duplicate
Status: newclosed
Version: 4.5.9

This is actually a DUP of #13763.

I will forward it to the team.

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