Skip to content

Commit

Permalink
[newswires] set drag'n'drop MIME type to text/html not text/plain
Browse files Browse the repository at this point in the history
  • Loading branch information
twrichards committed Oct 24, 2024
1 parent 790f13f commit 3fd4beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/payloadDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3fd4beb

Please sign in to comment.