Skip to content

Commit e8391da

Browse files
committed
Unintentional removal of this line which makes sure that undo/redo remains applicable to only the local user, not across the collaboration session
1 parent ec7e648 commit e8391da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/ui/coaching-sessions/coaching-notes/extensions.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,9 @@ const validateYjsDocument = (doc: Y.Doc) => {
246246
const createCollaborationExtension = (doc: Y.Doc) => {
247247
return Collaboration.configure({
248248
document: doc,
249+
yUndoOptions: {
250+
trackedOrigins: [null],
251+
},
249252
});
250253
};
251254

0 commit comments

Comments
 (0)