Merge pull request #20052 from overleaf/em-tracked-deletes-limit

Include tracked deletes when limiting document size

GitOrigin-RevId: 9d7b2870001fb942eaa92db78993fee1ddb3937c
This commit is contained in:
Eric Mc Sween
2024-08-27 08:04:31 +00:00
committed by Copybot
parent e643a8ea32
commit 8b4b454b97
7 changed files with 40 additions and 14 deletions
@@ -127,9 +127,7 @@ export class DocumentContainer extends EventEmitter {
if (this.doc) {
this.doc.attachToCM6(this.cm6)
}
if (this.cm6) {
this.cm6.on('change', this.checkConsistency)
}
this.cm6.on('change', this.checkConsistency)
}
detachFromCM6() {