From 4c1722da2ca968763bfd4d2e708dca2f6e41f5c8 Mon Sep 17 00:00:00 2001 From: Simon Lamon Date: Thu, 3 Feb 2022 18:30:28 +0000 Subject: [PATCH] fixup text/plain removal --- demo/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/client.ts b/demo/client.ts index 1b3987bd..5202db76 100644 --- a/demo/client.ts +++ b/demo/client.ts @@ -454,7 +454,7 @@ function htmlSerializeButtonHandler(): void { // Deprecated, but the most supported for now. function listener(e: any) { - e.clipboardData.setData("text/plain", output); + e.clipboardData.setData("text/html", output); e.preventDefault(); } document.addEventListener("copy", listener);