mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-17 03:04:26 +01:00
fix: new FS API not working on Linux (#4280)
This commit is contained in:
@@ -54,6 +54,7 @@ export const exportCanvas = async (
|
||||
return await fileSave(
|
||||
new Blob([tempSvg.outerHTML], { type: MIME_TYPES.svg }),
|
||||
{
|
||||
description: "Export to SVG",
|
||||
name,
|
||||
extension: "svg",
|
||||
fileHandle,
|
||||
@@ -86,6 +87,7 @@ export const exportCanvas = async (
|
||||
}
|
||||
|
||||
return await fileSave(blob, {
|
||||
description: "Export to PNG",
|
||||
name,
|
||||
extension: "png",
|
||||
fileHandle,
|
||||
|
||||
Reference in New Issue
Block a user