X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/02a35b6db4234e9256b2c0b38e12d3eadb9b0b38..refs/pull/5721/head:/resources/js/wysiwyg/index.ts diff --git a/resources/js/wysiwyg/index.ts b/resources/js/wysiwyg/index.ts index b9770219d..f572f9de5 100644 --- a/resources/js/wysiwyg/index.ts +++ b/resources/js/wysiwyg/index.ts @@ -144,8 +144,8 @@ export class SimpleWysiwygEditorInterface { } remove() { - this.context.editorDOM.remove(); this.context.manager.teardown(); + this.context.containerDOM.remove(); if (this.editorListenerTeardown) { this.editorListenerTeardown(); }