Opened 12 years ago

Last modified 12 years ago

#2927 closed Bug

CKEDITOR.event duplicate dom event registration — at Initial Version

Reported by: Garry Yao Owned by:
Priority: Must have (possibly next milestone) Milestone: CKEditor 3.0
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Review+ Cc:


Dom event delegation registration is currently incorrect, if the specified event were registered twice, the listener function suffer from duplicate invocation. Reproduce Steps:

  1. Open one editor page in FF
  2. Execute the following codes through console:
    	var body = CKEDITOR.document.getBody();
    	body.on('click', function(){
    	body.on('click', function(){
  3. Every listener was invoked twice.

Change History (0)

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