TinyMCE: return focus to the editor after closing the image toolbar. Props afercia, see #27642.
git-svn-id: https://develop.svn.wordpress.org/trunk@30775 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3e0e0f453e
commit
1a8c0b9254
@ -329,6 +329,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) {
|
||||
floatingToolbar.on( 'keydown', function( event ) {
|
||||
if ( event.keyCode === 27 ) {
|
||||
hide();
|
||||
editor.focus();
|
||||
}
|
||||
} );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user