From 5c05fd77bc1a04755124889f41359ba725da36d5 Mon Sep 17 00:00:00 2001 From: "Michael S. Scherotter" Date: Wed, 26 Mar 2025 00:08:41 -0700 Subject: [PATCH] Fixed bug in Editor.loadFromURL where the promise was not resolving (#1040) --- src/editor/Editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/Editor.js b/src/editor/Editor.js index afa6a7a7..54db8a5e 100644 --- a/src/editor/Editor.js +++ b/src/editor/Editor.js @@ -1353,7 +1353,7 @@ class Editor extends EditorStartup { }) .then((str) => { this.loadSvgString(str, { noAlert }) - return str + resolve(str) }) .catch((error) => { if (noAlert) {