diff --git a/src/linkui.js b/src/linkui.js index d73246b..f706a89 100644 --- a/src/linkui.js +++ b/src/linkui.js @@ -208,7 +208,10 @@ export default class LinkUI extends Plugin { button.bind( 'isOn' ).to( linkCommand, 'value', value => !!value ); // Show the panel on button click. - this.listenTo( button, 'execute', () => this._showUI( true ) ); + this.listenTo( button, 'execute', () => { + this._showUI( true ); + editor.editing.view.focus(); + } ); return button; } );