handle nested moves

This commit is contained in:
Kevin Jahns
2021-12-06 15:01:37 +01:00
parent fc5e36158f
commit 0948229422
8 changed files with 52 additions and 22 deletions

View File

@@ -114,6 +114,14 @@ export class Transaction {
* @type {Set<Doc>}
*/
this.subdocsLoaded = new Set()
/**
* We store the reference that last moved an item.
* This is needed to compute the delta when multiple ContentMove move
* the same item.
*
* @type {Map<Item, Item>}
*/
this.prevMoved = new Map()
}
}