|
|
@@ -59,7 +59,10 @@ export default class UndoUI extends Plugin {
|
|
|
|
|
|
view.bind( 'isEnabled' ).to( command, 'isEnabled' );
|
|
|
|
|
|
- this.listenTo( view, 'execute', () => editor.execute( name ) );
|
|
|
+ this.listenTo( view, 'execute', () => {
|
|
|
+ editor.execute( name );
|
|
|
+ editor.editing.view.focus();
|
|
|
+ } );
|
|
|
|
|
|
return view;
|
|
|
} );
|