From 5f029e49380f3404b734d697d88068e2147500ad 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 ef9c6231516..0e28b1de398 100644 --- a/src/components/Editor/MediaHandler.vue +++ b/src/components/Editor/MediaHandler.vue @@ -10,6 +10,7 @@ @image-paste="onPaste" @dragover.prevent.stop="setDraggedOver(true)" @dragleave.prevent.stop="setDraggedOver(false)" + @drop.prevent.stop="setDraggedOver(false)" @file-drop="onEditorDrop">