How to Destroy and Reinitialize CKEDITOR Again?
问题 I use the below code to destroy the editor instance. editor.destroy(); After this, I try to initialize CKEditor and set content using the below code. CKEDITOR.replace('editor1'); CKEDITOR.instances['editor1'].setData("MY HTML DATA"); But when I am doing like this only the empty HTML page is Shown. How can I do this in a Correct Way? 回答1: If i understand you correctly, following fiddle will help you in initializing and destroying ckeditor. <!DOCTYPE html> <html> <head> <meta charset="utf-8">