I would like to know how to reset or clear the bootstrap Summernote WYSIWYG editor using jQuery or JavaScript.
I tried below codes
$('#MyForm').delay(1000).resetForm(1000);
This dose reset the whole form except for the textarea with the Summernote
$('#SummernoteText').reset();
SummernoteText is the html textarea but the code doesn't do anything at all.
$('#SummernoteText').destroy();
Above seems to distroy the editor instead of clearing the editor.
Can someone point me out the way to do this.
Link to Summernote http://summernote.org/#/
$("#SummernoteText").summernote("reset");
– Pate