diff --git a/src/components/Editor.vue b/src/components/Editor.vue index 5358d16b..6003e5b1 100644 --- a/src/components/Editor.vue +++ b/src/components/Editor.vue @@ -169,18 +169,18 @@ ...mapActions(useEditorCacheStore, ["getEditor", "addEditor", "eachEditor"]), loadBuffer(path) { - console.log("loadBuffer", path) + //console.log("loadBuffer", path) if (this.editor) { this.editor.hide() } let cachedEditor = this.getEditor(path) if (cachedEditor) { - console.log("show cached editor") + //console.log("show cached editor") this.editor = cachedEditor toRaw(this.editor).show() } else { - console.log("create new editor") + //console.log("create new editor") try { this.editor = new HeynoteEditor({ element: this.$refs.editor, diff --git a/src/editor/editor.js b/src/editor/editor.js index 3d4d77d4..4a3f3ac9 100644 --- a/src/editor/editor.js +++ b/src/editor/editor.js @@ -343,11 +343,11 @@ export class HeynoteEditor { } hide() { - console.log("hiding element", this.view.dom) + //console.log("hiding element", this.view.dom) this.view.dom.style.setProperty("display", "none", "important") } show() { - console.log("showing element", this.view.dom) + //console.log("showing element", this.view.dom) this.view.dom.style.setProperty("display", "") triggerCursorChange(this.view) }