Skip to content

Commit

Permalink
[table] fix: cell copy to clipboard works in IE11 (#3764)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuyachia authored and adidahiya committed Nov 10, 2019
1 parent 3dfe2a2 commit 497506a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/table/src/common/clipboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ export const Clipboard = {
e.preventDefault();
const clipboardData = (e as any).clipboardData || (window as any).clipboardData;
if (clipboardData != null) {
clipboardData.setData("text/html", elem.outerHTML);
clipboardData.setData("text/plain", plaintext);
clipboardData.setData("text", plaintext);
}
});
}
Expand Down

1 comment on commit 497506a

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[table] fix: cell copy to clipboard works in IE11 (#3764)

Previews: documentation | landing | table

Please sign in to comment.