Opened 3 years ago

Closed 3 years ago

#14720 closed Bug (duplicate)

Paste event blocks change event

Reported by: Mark Wade Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Steps to reproduce

  1. Create a plugin with the following code and add it to your editor:
CKEDITOR.plugins.add( 'myplugin', {
    init: function( editor ) {
	    editor.on( 'change', function(e) {
			console.log('change');
		});
	}
});
  1. Hit any key and observe that the message "change" is logged to the console.
  1. Paste something - "change" will be logged" - then hit any key, and it will not be logged. If you hit another key after that, it is logged again.

Expected result

"change" should always be logged when a key is pressed.

Actual result

"change" is not logged immediately after a paste.

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

Seems to only affect Chrome.

Change History (1)

comment:1 Changed 3 years ago by Jakub Ś

Resolution: duplicate
Status: newclosed
Version: 4.5.9

DUP of #13763.

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