Make WordPress Core

Changeset 32095


Ignore:
Timestamp:
04/09/2015 12:10:23 AM (10 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/plugins/wpautoresize/plugin.js

    r30338 r32095  
    2626        isActive = false;
    2727
     28    if ( editor.settings.inline || tinymce.Env.iOS ) {
     29        return;
     30    }
     31
    2832    function isFullscreen() {
    2933        return editor.plugins.fullscreen && editor.plugins.fullscreen.isFullscreen();
    30     }
    31 
    32     if ( editor.settings.inline ) {
    33         return;
    3434    }
    3535
Note: See TracChangeset for help on using the changeset viewer.