I want to reset form, with editor's content. Is it possible?
var md = new MdEditor('#textarea', {
uploader: true,
preview: false,
});
$('#resetFormBtn').on('click', function(){
$('#form')[0].reset();
md.editor.reset(); // here
});
and How to set value of editor? for example,
md.editor.value(myValue);
thank you.
I want to reset form, with editor's content. Is it possible?
and How to set value of editor? for example,
thank you.