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 // ══════════════════════════════════════════════════════