Visual builder: block editor with palette, reordering and undo/redo #63

Open
opened 2026-10-26 09:11:22 -04:00 by vmanne-poc · 0 comments
Owner

Part of #19.

Goal

A canvas where an email is built from a vertical list of blocks.

Requirements

  • Block palette: heading, text, button, image, divider, spacer, 2-column row, 3-column row, social links, footer.
  • Add a block from the palette at the end or between existing blocks.
  • Reorder by drag and drop.
  • Keyboard-accessible reorder: each block has Move up / Move down controls that work by keyboard and announce the new position to screen readers.
  • Duplicate and delete on every block. Delete can be undone.
  • Undo/redo for every change (add, move, duplicate, delete, content and style edits), with buttons and Ctrl+Z / Ctrl+Shift+Z (Cmd on macOS).
  • Column rows hold their own blocks per column.
  • The document is stored as JSON (blocks + settings) so it can be re-edited later.

Acceptance

  • Every palette block can be added, moved, duplicated and deleted using mouse only and keyboard only.
  • Undo/redo walks back and forward through at least 50 steps.
  • Saving and reopening gives the same layout.
Part of #19. ## Goal A canvas where an email is built from a vertical list of blocks. ## Requirements - Block palette: heading, text, button, image, divider, spacer, 2-column row, 3-column row, social links, footer. - Add a block from the palette at the end or between existing blocks. - Reorder by drag and drop. - Keyboard-accessible reorder: each block has Move up / Move down controls that work by keyboard and announce the new position to screen readers. - Duplicate and delete on every block. Delete can be undone. - Undo/redo for every change (add, move, duplicate, delete, content and style edits), with buttons and Ctrl+Z / Ctrl+Shift+Z (Cmd on macOS). - Column rows hold their own blocks per column. - The document is stored as JSON (blocks + settings) so it can be re-edited later. ## Acceptance - Every palette block can be added, moved, duplicated and deleted using mouse only and keyboard only. - Undo/redo walks back and forward through at least 50 steps. - Saving and reopening gives the same layout.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vmanne-poc/Postak#63
No description provided.