From e544da537afd680c4acb6ec6bfa160ea0ad4f073 Mon Sep 17 00:00:00 2001 From: Richard Sauer Date: Wed, 8 Apr 2026 17:19:11 +1000 Subject: [PATCH] Auto-open blocks panel on load --- templates/editor.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/editor.html b/templates/editor.html index ed96098..45201c5 100644 --- a/templates/editor.html +++ b/templates/editor.html @@ -218,6 +218,13 @@ editor.Panels.addButton('options', { // ══════════════════════════════════════════════════════ registerHMIBlocks(editor); +// Open blocks panel by default +editor.on('load', () => { + const pn = editor.Panels; + const openBl = pn.getButton('views', 'open-blocks'); + if (openBl) openBl.set('active', true); +}); + // ══════════════════════════════════════════════════════ // Save / Load / Export // ══════════════════════════════════════════════════════