We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b18817 commit 76154acCopy full SHA for 76154ac
src/y-monaco.js
@@ -202,7 +202,7 @@ export class MonacoBinding {
202
destroy () {
203
this._monacoChangeHandler.dispose()
204
this.ytext.unobserve(this._ytextObserver)
205
- this.doc.off('beforeTransaction', this._beforeTransaction)
+ this.doc.off('beforeAllTransactions', this._beforeTransaction)
206
if (this.awareness !== null) {
207
this.awareness.off('change', this._rerenderDecorations)
208
}
0 commit comments