mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Fix a bug where clipboard object doesn't exist in Safari (#296)
This commit is contained in:
parent
2fb3cdd5e4
commit
35b5f6dd0d
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ const ClipboardIcon = () => (
|
|||
|
||||
const probablySupportsClipboard =
|
||||
"toBlob" in HTMLCanvasElement.prototype &&
|
||||
"clipboard" in navigator &&
|
||||
"write" in navigator.clipboard &&
|
||||
"ClipboardItem" in window;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue