- Initialize CodeMirror with existing Y.Text content (doc: yjs.notes.toString()) so text is visible immediately, not just after the next remote change - Use dedicated Y.UndoManager for notes instead of sharing with waypoints undo manager (different tracked origins caused conflicts) - Use yUndoManagerKeymap for proper Yjs-aware undo/redo Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| lib | ||
| routes | ||
| entry.client.tsx | ||
| entry.server.tsx | ||
| root.tsx | ||
| routes.ts | ||