mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user