@@ -119,7 +119,7 @@ describe( 'convertSelectionChange', () => {
const spy = sinon.spy();
- model.on( 'changesDone', spy );
+ model.on( 'change', spy );
convertSelection( null, { newSelection: viewSelection } );
@@ -75,7 +75,7 @@ ClassicEditor
toolbar: [ 'undo', 'redo' ]
} )
.then( editor => {
- editor.model.document.on( 'changesDone', () => {
+ editor.model.document.on( 'change', () => {
printModelContents( editor );
} );