fixup text/plain removal

This commit is contained in:
Simon Lamon
2022-02-03 18:30:28 +00:00
parent 4d70606feb
commit 4c1722da2c
+1 -1
View File
@@ -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);