Click Anywhere To Focus In Ckeditor
In FireFox, I can click anywhere in CKEditor (350px x 250px) to place focus on a single paragraph of text located at the top of the editor. However, in IE6 (I know, but our client
Solution 1:
This is a known problem apparently fixed in v3.1.
Solution 2:
I just had the same problem with the 4.2.2 release and IE 8 and was able to fix it with this code in the instanceReady
event. It sets the focus when the user clicks anywhere in the CKEditor edit region.
CKEDITOR.on( 'instanceReady', function( ev ) {
$('iframe.cke_wysiwyg_frame', ev.editor.container.$).contents().on('click', function() {
ev.editor.focus();
});
});
Post a Comment for "Click Anywhere To Focus In Ckeditor"