Hi,
I am using the CKEditor 4 Inline editing and as i sow its not cleanning all the trash after using destroy.
Code before i edit it:
<div id="myId">Text text text</div>
Code after i edit it and use destroy to remove the CKEditor instance:
<div id="myId" class="cke_focus" style="position: relative;">Text text text</div>
As we can see the class of "cke_focus" and the "position:relative" are not removed when i use the destroy.
Are there is a way to remove all the CKEditor trash?
Somebody?
Somebody?
I fix it alone
Hi,
As we can see no one answet in this forum so i fix this issue manually.
Before start editing i save the CSS position property in temporary variable and after i destroy the
CKEditor i remove the "cke_focus" class manually and return the position property back to what it was.
Thanks to my self!
By the way it is still a bug so i will be very happy if the CKEditor team fix it.
I have the same problem with
I have the same problem with an inline version. I want the editor to be destroyed on a resize or a scroll of the page so on these events I call editor.destroy(false). This though doesn't quite work as the yellow border is still there + the cursor blinks in the editor (only the toolbar dissapears)...
I did the same thing as you:
$( editor.element.$).removeClass("cke_focus");
$( editor.element.$).blur();
To remove focus and border...