CRM-16354 - Remove old wysiwyg code
[civicrm-core.git] / js / wysiwyg / crm.ckeditor.js
index f42ab23319713c4383cb349df82d6a8e8c82b1b8..fe7fc499d8ff881744f9e07cc61258ee9feaf849 100644 (file)
@@ -25,6 +25,9 @@
       editor.config.filebrowserUploadUrl = uploadUrl + '&type=files';
       editor.config.filebrowserImageUploadUrl = uploadUrl + '&type=images';
       editor.config.filebrowserFlashUploadUrl = uploadUrl + '&type=flash';
+      editor.on('focus', function() {
+        $(item).trigger('focus');
+      });
       editor.on('blur', function() {
         editor.updateElement();
         $(item).trigger("blur");