TinyMCE: do not trigger `execCommand` on loading, it focuses the editor in Chrome.
Fixes #37243. Built from https://develop.svn.wordpress.org/trunk@37927 git-svn-id: http://core.svn.wordpress.org/trunk@37868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b39bddfd2a
commit
21ae71eaa1
|
@ -569,7 +569,7 @@
|
|||
toolbar.$el.find( '.wp-link-preview a' ).removeClass( 'wplink-url-error' ).attr( 'title', null );
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else if ( editToolbar.visible() ) {
|
||||
editor.execCommand( 'wp_link_cancel' );
|
||||
}
|
||||
} );
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-beta1-37926';
|
||||
$wp_version = '4.6-beta1-37927';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue