import { Editor } from '../../editor/Editor.js'; import { EditorPanelDefinition, FileEditorPanelDefinition } from '../../editor/editor-panel.js'; import { ContextMenuDirectory, ContextMenuReadOnlyEntry } from '../context-menu/context-menu.js'; import { showInputDialog } from '../confirm-dialog/confirm-dialog.js'; // ── Block registry ──────────────────────────────────────────────────────────── interface PageBlockEntry { name: string; preview?: string; html: string; } const PAGE_BLOCK_REGISTRY: PageBlockEntry[] = [ { name: 'Full Width', preview: '