We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f5a65c commit a6b869dCopy full SHA for a6b869d
1 file changed
src/vs/base/browser/canIUse.ts
@@ -19,7 +19,7 @@ export const BrowserFeatures = {
19
clipboard: {
20
writeText: (
21
platform.isNative
22
- || document.queryCommandSupported('copy')
+ || (document.queryCommandSupported && document.queryCommandSupported('copy'))
23
|| !!(navigator && navigator.clipboard && navigator.clipboard.writeText)
24
),
25
readText: (
0 commit comments