Skip to content

Commit c5dd0c1

Browse files
Update article.md
Stated that navigator.clipboard API is not compatible in Firefox but it is: https://caniuse.com/mdn-api_navigator_clipboard
1 parent 00689d3 commit c5dd0c1

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/4-forms-controls/3-events-change-input

1 file changed

+1
-1
lines changed

2-ui/4-forms-controls/3-events-change-input/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Even if someone decides to save `event.clipboardData` in an event handler, and t
101101

102102
To reiterate, [event.clipboardData](https://www.w3.org/TR/clipboard-apis/#clipboardevent-clipboarddata) works solely in the context of user-initiated event handlers.
103103

104-
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.
104+
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.
105105

106106
## Summary
107107

0 commit comments

Comments
 (0)