I have a div inside ckeditor, with everything turned off (contentEditable = false), except the text area inside the div.
When CKEditor loads, I noticed that it takes 2 clicks for the blinking cursor to show up inside the text area. Has anyone experienced this before? If so, what do you propose?
sample of the div:
P.S I am able to capture every click event inside the editor:
just not sure if there is a way to force the blinking cursor inside my text area.
I've done some troubleshooting and all evidence seems to be pointing towards selectionChange event. This event gets fired a lot, but somehow being consumed by the editor.
thanks,
adico
When CKEditor loads, I noticed that it takes 2 clicks for the blinking cursor to show up inside the text area. Has anyone experienced this before? If so, what do you propose?
sample of the div:
<div contentEditable="true" style="left:50px;top:50px;position:absolute;background-color:#12d635;width:250px;height:20px;">CKEditor requires JavaScript to run</div>
P.S I am able to capture every click event inside the editor:
evt.editor.document.on( 'mousedown', function() { alert ("adico"); } );
just not sure if there is a way to force the blinking cursor inside my text area.
I've done some troubleshooting and all evidence seems to be pointing towards selectionChange event. This event gets fired a lot, but somehow being consumed by the editor.
thanks,
adico