Table of contents

Destroyer

You can destroy Editor.js instance by calling a destroy method.

/** * Create an instance */ const editor = new EditorJS(); /** * Destroy editor. */ editor.destroy();

All editor UI will be removed, all listeners binded with Listeners API will be cleared and other Editor.js staff will be deallocated.