我想清除tinymce内容并添加新内容.我尝试使用以下代码,但它附加到旧内容.如何清除tinymce中的现有内容.
tinymce.activeEditor.execCommand('mceCleanup'); tinymce.activeEditor.execCommand('mceInsertContent', false, result.content);
javascript jquery tinymce
javascript ×1
jquery ×1
tinymce ×1