fix: wire schema scopes at import boundaries

This commit is contained in:
Ryan Di
2026-03-20 18:03:36 +11:00
parent ec458d92e3
commit 1e113e4a3b
5 changed files with 55 additions and 16 deletions
+4 -1
View File
@@ -168,7 +168,10 @@ export const loadSceneOrLibraryFromBlob = async (
);
const migratedElements = migrateElementsBySchema(
data.elements,
schemaVersion,
{
schemaVersion,
scope: "scene",
},
);
return {
type: MIME_TYPES.excalidraw,