Skip to content

Commit 232b4ea

Browse files
authored
await fromJSON complete (#28318)
1 parent 7f8624f commit 232b4ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editor/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@
106106

107107
editor.storage.init( function () {
108108

109-
editor.storage.get( function ( state ) {
109+
editor.storage.get( async function ( state ) {
110110

111111
if ( isLoadingFromHash ) return;
112112

113113
if ( state !== undefined ) {
114114

115-
editor.fromJSON( state );
115+
await editor.fromJSON( state );
116116

117117
}
118118

0 commit comments

Comments
 (0)