id summary reporter owner description type status priority milestone component version resolution keywords cc 11747 Javascript error when removing a CKeditor instance (including extra plugins) before its content is fully loaded WIRIS math "The example attached includes the latest CKeditor version, we've tried the latest nightly one with the same results. We've included WIRIS plugin (http://www.wiris.com/plugins/docs/ckeditor). In the attached .zip you need to open destroy.php We've experienced this issue using Chrome. Steps to reproduce it: 1.- Create a page with a button to create and another to destroy a CKeditor instance (destroy.php in the example attached). 2.- Load CKeditor with some content 2.- Open the page and hit alternatively create and remove buttons 3.- Whenever you remove a CKeditor instance before its content is loaded this error shows in Chrome console: {{{ Uncaught TypeError: Cannot read property 'on' of undefined ckeditor.js:322 CKEDITOR.editable.CKEDITOR.tools.createClass.proto.attachListener ckeditor.js:322 CKEDITOR.editable.CKEDITOR.tools.createClass.proto.setup ckeditor.js:328 k ckeditor.js:716 (anonymous function) ckeditor.js:24 }}} This doesn't happen if we comment the line where the custom plugin is added in config.js. {{{ config.extraPlugins += (config.extraPlugins.length == 0 ? '' : ',') + 'ckeditor_wiris'; }}} The issue can be reproduced with an empty CKeditor too but the create-remove buttons would need to be clicked faster to trigger the error. The error is in ckeditor.js file, so that's why we believe it's a CKeditor issue. " Bug closed Normal General duplicate t.bussmann@…