@@ -132,6 +132,9 @@ export default class Document {
this.fire( 'change', operation.type, evt.return, operation.delta.batch, operation.delta.type );
}
}, { priority: 'low' } );
+
+ // Temporary compatibility.
+ model.delegate( 'changesDone' ).to( this );
/**
@@ -62,8 +62,6 @@ export default class Model {
if ( this._pendingChanges.length == 1 ) {
this._runPendingChanges();
-
- this.document.fire( 'changesDone' );
_runPendingChanges() {