Merge pull request #26041 from overleaf/em-history-ot-type-serialize

History OT type: operate on parsed EditOperations

GitOrigin-RevId: dbb35789736958d4ef398e566400d6e9a0e49e8b
This commit is contained in:
Eric Mc Sween
2025-06-04 08:07:54 +00:00
committed by Copybot
parent f11ea06c1a
commit 7a556cf1fd
4 changed files with 71 additions and 71 deletions
@@ -360,7 +360,7 @@ class HistoryOTAdapter {
let snapshotUpdated = false
for (const effect of transaction.effects) {
if (effect.is(historyOTOperationEffect)) {
this.shareDoc.submitOp(effect.value.map(op => op.toJSON()))
this.shareDoc.submitOp(effect.value)
snapshotUpdated = true
}
}