Fixed bug in Editor.loadFromURL where the promise was not resolving (#1040)

This commit is contained in:
Michael S. Scherotter
2025-03-26 00:08:41 -07:00
committed by GitHub
parent f4a66c989c
commit 5c05fd77bc

View File

@@ -1353,7 +1353,7 @@ class Editor extends EditorStartup {
})
.then((str) => {
this.loadSvgString(str, { noAlert })
return str
resolve(str)
})
.catch((error) => {
if (noAlert) {