Editor and Live Preview
The smallest honest workspace: blocks on the left, the rendered truth on the right. Right for small sites where the document is shallow and preview is everything.
Create a two-pane editing workspace: a slim top bar with the document title, a save-status text reading 'All changes saved' in zinc-400 after autosave and switching to amber 'Unsaved changes' while dirty, and one Publish button. Left half: a single-column block editor — heading, paragraph, image blocks — each with a hover toolbar for move up, move down, and delete. Right half: a live preview rendering the same blocks exactly as the public page would, updating as the editor types, with a device-width toggle at its top. Debounce autosave at two seconds, guard navigation with an unsaved-changes dialog, and confirm publish with a success toast carrying an Undo action.



