Opened 9 years ago
Last modified 9 years ago
#14411 confirmed Bug
Removing content using backspace right after paste not triggering onChange event
Reported by: | Satya Minnekanti | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.4.4 |
Keywords: | IBM | Cc: | Irina, chrisgui |
Description
Steps to reproduce
- Open nightly build . http://nightly.ckeditor.com/16-02-17-07-09/full/samples/
- Open firebug or Chrome's developer tools' console tab.
- Copy, Paste & execute following command in the console:
CKEDITOR.instances.editor.on('change', function(){ console.log('onChange triggered') })
- Copy some text (ie. web or text editor) into clipboard using CTRL+C.
- Go to editor body, paste copied content using CTRL+V. It will trigger the console to display "onChange triggered".
- Now press Backspace to delete some content.
Issue : It won't trigger the onChange event to display "onChange triggered" message in console. But any Backspace after that will display the onChange message in console
Problem can be reproduced from CKEditor 4.4.4. Before that version, same TC produced two change events being fired for single paste and backspace (perhaps this was related to #11611).