This commit is contained in:
2026-01-20 02:02:20 +01:00
parent 8e6248cea1
commit 06dddedef6
3 changed files with 36 additions and 15 deletions

View File

@@ -913,8 +913,13 @@
                };
                if (Array.isArray(data.snippets) && data.snippets.length) applySnips(data.snippets);
                else (B.fetchSnippets ? B.fetchSnippets() : Promise.resolve([])).then(applySnips);
                if (Array.isArray(data.snippets) && data.snippets.length) {
                    applySnips(data.snippets);
                } else if (B.USE_DYNAMIC_SECTIONS) {
                    applySnips([]);
                } else {
                    (B.fetchSnippets ? B.fetchSnippets() : Promise.resolve([])).then(applySnips);
                }
                if (data.ref && (Array.isArray(data.ref.sections) || Array.isArray(data.ref.blocks))) {
                    replaceReferenceLibrary(ed, {