fix: file handle not persisted when importing excalidraw files (#5372)
This commit is contained in:
parent
120c8f373c
commit
bbfd2b3cd3
@ -98,7 +98,12 @@ export const loadFromJSON = async (
|
||||
// gets resolved. Else, iOS users cannot open `.excalidraw` files.
|
||||
// extensions: ["json", "excalidraw", "png", "svg"],
|
||||
});
|
||||
return loadFromBlob(await normalizeFile(file), localAppState, localElements);
|
||||
return loadFromBlob(
|
||||
await normalizeFile(file),
|
||||
localAppState,
|
||||
localElements,
|
||||
file.handle,
|
||||
);
|
||||
};
|
||||
|
||||
export const isValidExcalidrawData = (data?: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user