From dd61322293dbb3fec44fdeee896a75aa7ed56dff Mon Sep 17 00:00:00 2001 From: Jonas Date: Tue, 3 Dec 2024 14:58:30 +0100 Subject: [PATCH] fix(editor): Also unset `draggedOver` at drop Fixes the background staying at light blue when dragging and dropping text in the editor. Fixes: #6724 Signed-off-by: Jonas --- src/components/Editor/MediaHandler.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Editor/MediaHandler.vue b/src/components/Editor/MediaHandler.vue index 7bb82a0ca4f..a8f5ec8b4ae 100644 --- a/src/components/Editor/MediaHandler.vue +++ b/src/components/Editor/MediaHandler.vue @@ -27,6 +27,7 @@ @image-paste="onPaste" @dragover.prevent.stop="setDraggedOver(true)" @dragleave.prevent.stop="setDraggedOver(false)" + @drop.prevent.stop="setDraggedOver(false)" @file-drop="onEditorDrop">