From 25981ab25b1117abdb1bdeadc8e18f1a68beb360 Mon Sep 17 00:00:00 2001 From: Bogdan Kostyuk Date: Fri, 25 Oct 2024 22:22:49 +0300 Subject: [PATCH] chore: maybe fix memory leak surely not, the leak is inside note formatter, yet to be discovered maybe... chore: don't forget to destroy editor --- .../Workspace/Note/Editor/NoteEditor.vue | 34 ++++++------- .../tiptap/extensions/bubble-menu/plugin.ts | 36 ++++++++++---- .../extensions/emoji-picker/EmojiPicker.vue | 6 +-- composables/tiptap/index.ts | 48 ++++++++++++------- 4 files changed, 78 insertions(+), 46 deletions(-) diff --git a/components/Workspace/Note/Editor/NoteEditor.vue b/components/Workspace/Note/Editor/NoteEditor.vue index a8b14551..674edc3a 100644 --- a/components/Workspace/Note/Editor/NoteEditor.vue +++ b/components/Workspace/Note/Editor/NoteEditor.vue @@ -1,4 +1,6 @@