Feature Description
There is no undo/redo functionality. Accidental deletions require manual rebuilding.
Proposed Solution
- History stack storing snapshots of blocks state array
- Ctrl+Z (undo) and Ctrl+Shift+Z (redo) keyboard shortcuts
- Undo/redo buttons in toolbar
- Limit to last 50 states to prevent memory issues
Technical Approach
Create a useHistory custom hook wrapping useState with past and future stacks.
Why This Matters
Feature Description
There is no undo/redo functionality. Accidental deletions require manual rebuilding.
Proposed Solution
Technical Approach
Create a useHistory custom hook wrapping useState with past and future stacks.
Why This Matters