/** * Build the editor's top bar (undo/redo/history, zoom group, Image * menu, Filter menu, Selection-edge menu, Shortcuts, Import, Save). * * Pure DOM — no module state, no event listeners. All wiring is done * by the caller via `document.getElementById(...)` against the IDs * baked into the markup. * * @returns {HTMLDivElement} */ export function buildTopbar() { const topBar = document.createElement('div'); topBar.className = 'ge-topbar'; topBar.innerHTML = `
`; return topBar; }