mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: show copy-as-png export button on firefox and show steps how to enable it (#6125)
* feat: hide copy-as-png shortcut from help dialog if not supported * fix: support firefox if clipboard.write supported * show shrotcut in firefox and instead show error message how to enable the flag support * widen to TypeError because minification * show copy-as-png on firefox even if it will throw
This commit is contained in:
parent
0f1720be61
commit
d2b698093c
12 changed files with 50 additions and 23 deletions
|
@ -6,6 +6,7 @@ import {
|
|||
DEFAULT_VERSION,
|
||||
EVENT,
|
||||
FONT_FAMILY,
|
||||
isDarwin,
|
||||
MIME_TYPES,
|
||||
THEME,
|
||||
WINDOWS_EMOJI_FALLBACK_FONT,
|
||||
|
@ -13,7 +14,6 @@ import {
|
|||
import { FontFamilyValues, FontString } from "./element/types";
|
||||
import { AppState, DataURL, LastActiveToolBeforeEraser, Zoom } from "./types";
|
||||
import { unstable_batchedUpdates } from "react-dom";
|
||||
import { isDarwin } from "./keys";
|
||||
import { SHAPES } from "./shapes";
|
||||
import React from "react";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue