Hi,
I have been trying to attach events to CKE 3. They seem to work in FF, but not in Safari.
I have added the following code to the replacebycode.html sample to test out what I'm doing:
CKEDITOR.replace( 'editor1' ); var editor = CKEDITOR.instances['editor1']; if (editor) { console.log('Registering focus event') editor.on('focus', function(event) { console.log(event); }); }
Re: Events in Safari dont seem to work (Bug?)
Re: Events in Safari dont seem to work (Bug?)
The changeset that caused this to start working in Safari at all was in the #3856 patch:
http://dev.fckeditor.net/attachment/ticket/3856/3856.patch
_source/plugins/wysiwygarea/plugin.js