TinyMCE: fix setting of zIndex on the dialogs.
Props subrataemfluence, azaozz. Merges [43181] to the 4.9 branch. Fixes #43984. Built from https://develop.svn.wordpress.org/branches/4.9@43182 git-svn-id: http://core.svn.wordpress.org/branches/4.9@43011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1d2fd8ef87
commit
cca8f1053b
|
@ -9284,8 +9284,8 @@
|
|||
api.bind( 'change', startAutosaving );
|
||||
|
||||
// Make sure TinyMCE dialogs appear above Customizer UI.
|
||||
$( document ).one( 'wp-before-tinymce-init', function() {
|
||||
if ( ! window.tinymce.ui.FloatPanel.zIndex || window.tinymce.ui.FloatPanel.zIndex < 500001 ) {
|
||||
$( document ).one( 'tinymce-editor-setup', function() {
|
||||
if ( window.tinymce.ui.FloatPanel && ( ! window.tinymce.ui.FloatPanel.zIndex || window.tinymce.ui.FloatPanel.zIndex < 500001 ) ) {
|
||||
window.tinymce.ui.FloatPanel.zIndex = 500001;
|
||||
}
|
||||
} );
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9.6-beta1-43176';
|
||||
$wp_version = '4.9.6-beta1-43182';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue