From 7a37f1ca17ea48a7bb8663b3e63405e1ebabae06 Mon Sep 17 00:00:00 2001 From: Anwar khanfir <93767376+akhanfir@users.noreply.github.com> Date: Wed, 12 Jul 2023 10:31:26 +0100 Subject: [PATCH] fix : [Notes] insert position is wrong EXO-65312 - Meeds-io/meeds#1019 (#698) Prior to this change, when create new notes page, add 3 lines of content and on 4th line insert an image,this image inserted on top of notes content . To fix this problem, remove the reset of the ckeditor when opening the `customPluginsDrawer` drawer. After this change, image inserted at last cursor position. --- .../webapp/vue-app/notes-editor/components/NoteCustomPlugins.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NoteCustomPlugins.vue b/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NoteCustomPlugins.vue index 824a76d81e..4d6250778d 100644 --- a/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NoteCustomPlugins.vue +++ b/notes-webapp/src/main/webapp/vue-app/notes-editor/components/NoteCustomPlugins.vue @@ -97,7 +97,6 @@ export default { methods: { open() { this.$refs.customPluginsDrawer.open(); - this.$root.$emit('initCkeditor'); }, close() { this.$refs.customPluginsDrawer.close();