TinyMCE: fix setting of zIndex on the dialogs.
Props subrataemfluence, azaozz. See #43984. Built from https://develop.svn.wordpress.org/trunk@43181 git-svn-id: http://core.svn.wordpress.org/trunk@43010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
798e3dc84d
commit
4a3b42a09e
|
@ -9252,8 +9252,8 @@
|
||||||
api.bind( 'change', startAutosaving );
|
api.bind( 'change', startAutosaving );
|
||||||
|
|
||||||
// Make sure TinyMCE dialogs appear above Customizer UI.
|
// Make sure TinyMCE dialogs appear above Customizer UI.
|
||||||
$( document ).one( 'wp-before-tinymce-init', function() {
|
$( document ).one( 'tinymce-editor-setup', function() {
|
||||||
if ( ! window.tinymce.ui.FloatPanel.zIndex || window.tinymce.ui.FloatPanel.zIndex < 500001 ) {
|
if ( window.tinymce.ui.FloatPanel && ( ! window.tinymce.ui.FloatPanel.zIndex || window.tinymce.ui.FloatPanel.zIndex < 500001 ) ) {
|
||||||
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
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-alpha-43180';
|
$wp_version = '5.0-alpha-43181';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue