medium-editor
medium-editor copied to clipboard
Make it possible to disable the editor
Currently you can start the editor, but there is no easy way to turn it off after user has finished editing. This would be helpful for Create.js integration where users can switch between editing and browsing mode.
Done, there is a .deactivate() method now.
How I can use that function?
I try
$(".class_text_editor").first().deactivate();
but it not work
@brujo-rojas try destroy() instead.
var editor = new MediumEditor('#your-element');
editor.destroy();