From 91a08b7bf9a3712d4ef30a6ce7647e4e985e6d1f Mon Sep 17 00:00:00 2001 From: Tom Richards Date: Thu, 24 Oct 2024 09:11:33 +0100 Subject: [PATCH] [newswires] set drag'n'drop MIME type to `text/html` not `text/plain` --- client/src/payloadDisplay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/payloadDisplay.tsx b/client/src/payloadDisplay.tsx index 0a2c0b3f..82d05f0b 100644 --- a/client/src/payloadDisplay.tsx +++ b/client/src/payloadDisplay.tsx @@ -70,7 +70,7 @@ export const PayloadDisplay = ({ // event.dataTransfer.setData("text/plain", "This is text to drag"); event.dataTransfer.setData( - "text/plain", + "text/html", sanitizeHtml(payloadAndType.payload.embeddableHtml) ); } else {