mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
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.
|
||||
function listener(e: any) {
|
||||
e.clipboardData.setData("text/plain", output);
|
||||
e.clipboardData.setData("text/html", output);
|
||||
e.preventDefault();
|
||||
}
|
||||
document.addEventListener("copy", listener);
|
||||
|
||||
Reference in New Issue
Block a user