Merge pull request #25952 from overleaf/em-split-editor-facade

Split EditorFacade functionality for history OT (2nd attempt)

GitOrigin-RevId: 2bc6d6c54a9f336fd4a69f0eb548dd06b9f06f5f
This commit is contained in:
Eric Mc Sween
2025-06-02 08:05:30 +00:00
committed by Copybot
parent fe64856be7
commit c6f4229147
2 changed files with 57 additions and 18 deletions
@@ -365,7 +365,7 @@ export class ShareJsDoc extends EventEmitter {
attachToCM6(cm6: EditorFacade) {
this.attachToEditor(cm6, () => {
cm6.attachShareJs(this._doc, getMeta('ol-maxDocLength'))
cm6.attachShareJs(this._doc, getMeta('ol-maxDocLength'), this.type)
})
}