How to destroy inline CKEditor with jQuery
Let's say that this is code I have: <div class="editor" contenteditable></div> // This is working for me $('.editor').click(function(){ $(this).ckeditor(); }); // This is the problem $('.editor').on('focusout', function(){ $(this).ckeditorDestroy(); // What will destroy ckeditor? }); I know that this function doesn't exists, but I didn't found nothing what was working? HTML <div contenteditable="true" class="editor">Editor 1!</div> <div contenteditable="true" class="editor">Editor 2!</div> JS CKEDITOR.disableAutoInline = true; $( '.editor' ).click( function(){ $( this ).ckeditor( function() {