mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
parent
68bdfaefbe
commit
b2822f3538
7 changed files with 33 additions and 18 deletions
|
@ -66,6 +66,7 @@ export const actionChangeShouldAddWatermark = register({
|
|||
export const actionSaveScene = register({
|
||||
name: "saveScene",
|
||||
perform: (elements, appState, value) => {
|
||||
// TODO: Make this part of `AppState`.
|
||||
saveAsJSON(elements, appState, (window as any).handle)
|
||||
.catch(muteFSAbortError)
|
||||
.catch((error) => console.error(error));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue