From 8161f4f5ae1d6e02e236f2ccdb5aafc7e88e76e0 Mon Sep 17 00:00:00 2001 From: Anwar khanfir Date: Wed, 12 Jul 2023 10:17:41 +0100 Subject: [PATCH] fix : [Notes] insert position is wrong EXO-65312 - Meeds-io/meeds#1019 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();