You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe document.execCommand is being deprecated. navigator.clipboard.readText and writeText are already supported in all browsers so we should be able to just replace the implementation.
Describe the solution you'd like
Replace document.execCommand with navigator.clipboard.readText/writeText
Describe alternatives you've considered
None
Are you able to assist to bring the feature to reality?
I can try
This discussion was converted from issue #825 on October 21, 2022 19:52.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
💥 Proposal
Is your feature request related to a problem? Please describe
document.execCommand
is being deprecated.navigator.clipboard.readText
andwriteText
are already supported in all browsers so we should be able to just replace the implementation.Describe the solution you'd like
Replace
document.execCommand
withnavigator.clipboard.readText/writeText
Describe alternatives you've considered
None
Are you able to assist to bring the feature to reality?
I can try
Additional context
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Interact_with_the_clipboard
Have you read the Contributing Guidelines on issues?
Yes
Beta Was this translation helpful? Give feedback.
All reactions