When we use CKEditor for a text area it creates an instance of an editor for this text area. But in some case, if we remove this element the instance of CKEditor not removed and it show on our browser, so for removing it completely we use
<textarea id="textareaid"></textarea>
<script>CKEDITOR.replace( 'textareaid' );</script>
if(CKEDITOR.instances["textareaid"])
CKEDITOR.instances["textareaid"].destroy();
0 Comment(s)