/ Published in: JavaScript
tested with CKEDITOR 3.0 and Firefox 3.6.12 and IE 8
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//check if any ckeditor instance has focus if(CKEDITOR.currentInstance) console.log('editor has focus!'); //adding on focus handler CKEDITOR.instances.ckeditor.on('focus', function(){ console.log('focus') });