Make WordPress Core

Changeset 35602


Ignore:
Timestamp:
11/10/2015 07:32:01 PM (10 years ago)
Author:
azaozz
Message:

TinyMCE: prevent resize handles in newer IE when inserting a wpView.

Fixes #29400.

File:
1 edited

Legend:

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

    r33728 r35602  
    348348            } );
    349349        }
     350
     351        if ( tinymce.Env.ie ) {
     352            // Prevent resize handles in newer IE
     353            editor.dom.bind( editor.getBody(), 'controlselect mscontrolselect', function( event ) {
     354                if ( getView( event.target ) ) {
     355                    event.preventDefault();
     356                }
     357            });
     358        }
    350359    });
    351360
Note: See TracChangeset for help on using the changeset viewer.