TinyMCE: return focus to the editor after closing the image toolbar. Props afercia, see #27642.

Built from https://develop.svn.wordpress.org/trunk@30775


git-svn-id: http://core.svn.wordpress.org/trunk@30765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-12-07 20:08:42 +00:00
parent 1f8f2e5ba1
commit 498c5d719c
4 changed files with 3 additions and 2 deletions

View File

@ -329,6 +329,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) {
floatingToolbar.on( 'keydown', function( event ) {
if ( event.keyCode === 27 ) {
hide();
editor.focus();
}
} );

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-beta2-30774';
$wp_version = '4.1-beta2-30775';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.