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:
Sergey Biryukov 2015-08-06 02:17:25 +00:00
parent 1e5b0ff0fa
commit 1b282962a4
3 changed files with 5 additions and 7 deletions

View File

@ -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 );

File diff suppressed because one or more lines are too long

View File

@ -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.