diff --git a/src/standardeditingmodeui.js b/src/standardeditingmodeui.js index fb8f84b..65a4ec8 100644 --- a/src/standardeditingmodeui.js +++ b/src/standardeditingmodeui.js @@ -42,7 +42,10 @@ export default class StandardEditingModeUI extends Plugin { return value ? t( 'Disable editing' ) : t( 'Enable editing' ); } ); - this.listenTo( view, 'execute', () => editor.execute( 'restrictedEditingException' ) ); + this.listenTo( view, 'execute', () => { + editor.execute( 'restrictedEditingException' ); + editor.editing.view.focus(); + } ); return view; } );