TinyMCE: disable the wp-autoresize plugin in iOS. All iframes there are already expanded to the height of the content document.

Fixes #31937.

git-svn-id: https://develop.svn.wordpress.org/trunk@32095 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-04-09 00:10:23 +00:00
parent a00cfeb4f6
commit 01da3522f6
1 changed files with 4 additions and 4 deletions

View File

@ -25,12 +25,12 @@ tinymce.PluginManager.add( 'wpautoresize', function( editor ) {
oldSize = 300,
isActive = false;
function isFullscreen() {
return editor.plugins.fullscreen && editor.plugins.fullscreen.isFullscreen();
if ( editor.settings.inline || tinymce.Env.iOS ) {
return;
}
if ( editor.settings.inline ) {
return;
function isFullscreen() {
return editor.plugins.fullscreen && editor.plugins.fullscreen.isFullscreen();
}
function getInt( n ) {