reset ckeditor value on form reset button
问题 I have a form reset button on my form: <a href="#" id="reset_button" class="btn" onClick="name_of_form.reset();">Reset</a> This resets all the controls on my form except the ckeditor, and I want to be able to reset the value of the ckeditors on the form. The associated text areas of the ckeditors are reset. So how do I go code the reset of the ckeditor into the form reset button? 回答1: There's no easy way to synchronize CKEditor with <textarea> . But it is possible to synchronize <textarea>