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. git-svn-id: https://develop.svn.wordpress.org/trunk@33588 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1872e759ea
commit
1dcb93b541
@ -113,11 +113,9 @@ var wpLink;
|
||||
this.textarea = $( '#' + window.wpActiveEditor ).get( 0 );
|
||||
|
||||
if ( typeof tinymce !== 'undefined' ) {
|
||||
// Make sure the link wrapper is the last element in the body.
|
||||
// Fixes z-index bug in iOS.
|
||||
if ( tinymce.Env.iOS ) {
|
||||
$body.append( inputs.backdrop, inputs.wrap );
|
||||
}
|
||||
// Make sure the link wrapper is the last element in the body,
|
||||
// or the inline editor toolbar may show above the backdrop.
|
||||
$body.append( inputs.backdrop, inputs.wrap );
|
||||
|
||||
ed = tinymce.get( wpActiveEditor );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user