mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user