From ab4c311cded6fe165495144dcb11ed98ab2d308d Mon Sep 17 00:00:00 2001 From: Konstantin Markov Date: Fri, 12 Jan 2024 13:37:39 +0200 Subject: [PATCH] Display dropzone for article embeds dropping (#4413) --- scripts/core/editor3/components/Editor3Component.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/core/editor3/components/Editor3Component.tsx b/scripts/core/editor3/components/Editor3Component.tsx index 3f48512bb4..7e29fee87c 100644 --- a/scripts/core/editor3/components/Editor3Component.tsx +++ b/scripts/core/editor3/components/Editor3Component.tsx @@ -52,6 +52,9 @@ const EVENT_TYPES_TRIGGER_DROP_ZONE = [ ...MEDIA_TYPES_TRIGGER_DROP_ZONE, EDITOR_BLOCK_TYPE, 'Files', + + // allows dropping marked links as embeds (used by ansa) + 'application/superdesk.compatible.embed', ]; const VALID_MEDIA_TYPES = [