Undo and redo each person's own document edits
The document editor suppressed Lexical's history in favour of a Yjs undo manager that was never created, so Cmd/Ctrl+Z did nothing. Register a Yjs UndoManager per binding that tracks only this client's edits, leaves peers' and the Planner's alone, skips edits made in reaction to remote changes, keeps blocks that hold other people's text, and refuses steps that would insert, remove or restore a protected projection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Parent838a26c
4 files changed+641-2
StackedSplit