mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-24 09:11:24 +01:00
wpLink: Make sure the link wrapper is the last element in the body, otherwise the inline editor toolbar may show up above the backdrop.
props azaozz. fixes #33268. Built from https://develop.svn.wordpress.org/trunk@33588 git-svn-id: http://core.svn.wordpress.org/trunk@33555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1e5b0ff0fa
commit
1b282962a4
@ -113,11 +113,9 @@ var wpLink;
|
|||||||
this.textarea = $( '#' + window.wpActiveEditor ).get( 0 );
|
this.textarea = $( '#' + window.wpActiveEditor ).get( 0 );
|
||||||
|
|
||||||
if ( typeof tinymce !== 'undefined' ) {
|
if ( typeof tinymce !== 'undefined' ) {
|
||||||
// Make sure the link wrapper is the last element in the body.
|
// Make sure the link wrapper is the last element in the body,
|
||||||
// Fixes z-index bug in iOS.
|
// or the inline editor toolbar may show above the backdrop.
|
||||||
if ( tinymce.Env.iOS ) {
|
$body.append( inputs.backdrop, inputs.wrap );
|
||||||
$body.append( inputs.backdrop, inputs.wrap );
|
|
||||||
}
|
|
||||||
|
|
||||||
ed = tinymce.get( wpActiveEditor );
|
ed = tinymce.get( wpActiveEditor );
|
||||||
|
|
||||||
|
2
wp-includes/js/wplink.min.js
vendored
2
wp-includes/js/wplink.min.js
vendored
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 = '4.3-RC2-33586';
|
$wp_version = '4.3-RC2-33588';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
Block a user