I have an editor input for adding resume.When user click edit button the editor is loaded via ajax.Here is the code for loading editor:-
jQuery('#resumeEditor').wysihtml5();
When the user clicks the cancel button and again tries to edit the resume, multiple editor toolbar appears. I think I have to delete all instance of editor.But I dont know how!
Any help appreciated.....
This worked for me. Try it out:
It removes the wysihtml5 and shows the textarea as it was before initializing.