From cc1432b3e41ee0935b8813ca231a8b05c42ebe51 Mon Sep 17 00:00:00 2001 From: Abhinav Raut Date: Fri, 6 Jun 2025 03:02:11 +0530 Subject: [PATCH] refactor(editor): Remove unncessary props and simplify code for tiptap editor, update all editors for the same --- frontend/src/components/editor/TextEditor.vue | 168 ++++-------------- frontend/src/constants/navigation.js | 3 +- .../admin/general/GeneralSettingForm.vue | 16 +- .../src/features/admin/macros/MacroForm.vue | 2 +- .../src/features/contact/ContactNotes.vue | 14 +- .../conversation/CreateConversation.vue | 14 +- .../conversation/MacroActionsPreview.vue | 2 +- .../src/features/conversation/ReplyBox.vue | 26 +-- .../features/conversation/ReplyBoxContent.vue | 38 +--- .../features/conversation/ReplyBoxMenuBar.vue | 5 +- frontend/src/stores/conversation.js | 2 +- 11 files changed, 62 insertions(+), 228 deletions(-) diff --git a/frontend/src/components/editor/TextEditor.vue b/frontend/src/components/editor/TextEditor.vue index 3b48fb44..0fde4260 100644 --- a/frontend/src/components/editor/TextEditor.vue +++ b/frontend/src/components/editor/TextEditor.vue @@ -30,25 +30,23 @@