Merge pull request #3049 from josephharkins/josephharkins-patch-1

Form events navigator.clipboard API Firefox support
This commit is contained in:
Ilya Kantor 2022-06-12 23:54:14 +02:00 committed by GitHub
commit 669e6fc555
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ Even if someone decides to save `event.clipboardData` in an event handler, and t
To reiterate, [event.clipboardData](https://www.w3.org/TR/clipboard-apis/#clipboardevent-clipboarddata) works solely in the context of user-initiated event handlers.
On the other hand, [navigator.clipboard](https://www.w3.org/TR/clipboard-apis/#h-navigator-clipboard) is the more recent API, meant for use in any context. It asks for user permission, if needed. Not supported in Firefox.
On the other hand, [navigator.clipboard](https://www.w3.org/TR/clipboard-apis/#h-navigator-clipboard) is the more recent API, meant for use in any context. It asks for user permission, if needed.
## Summary