diff --git a/packages/lexical-yjs/src/SyncEditorStates.ts b/packages/lexical-yjs/src/SyncEditorStates.ts index f52f7ca7fd7..3813a656fb2 100644 --- a/packages/lexical-yjs/src/SyncEditorStates.ts +++ b/packages/lexical-yjs/src/SyncEditorStates.ts @@ -183,6 +183,7 @@ export function syncYjsChangesToLexical( } }, { + discrete: true, onUpdate: () => { syncCursorPositionsFn(binding, provider); // If there was a collision on the top level paragraph