fixup text/plain removal
This commit is contained in:
+1
-1
@@ -454,7 +454,7 @@ function htmlSerializeButtonHandler(): void {
|
|||||||
|
|
||||||
// Deprecated, but the most supported for now.
|
// Deprecated, but the most supported for now.
|
||||||
function listener(e: any) {
|
function listener(e: any) {
|
||||||
e.clipboardData.setData("text/plain", output);
|
e.clipboardData.setData("text/html", output);
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
document.addEventListener("copy", listener);
|
document.addEventListener("copy", listener);
|
||||||
|
|||||||
Reference in New Issue
Block a user