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

Fixes #29400.
Built from https://develop.svn.wordpress.org/trunk@35602


git-svn-id: http://core.svn.wordpress.org/trunk@35566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-11-10 19:33:26 +00:00
parent a90d108b82
commit 93fa052e49
4 changed files with 11 additions and 2 deletions

View File

@ -347,6 +347,15 @@ tinymce.PluginManager.add( 'wpview', function( editor ) {
attributeFilter: ['class']
} );
}
if ( tinymce.Env.ie ) {
// Prevent resize handles in newer IE
editor.dom.bind( editor.getBody(), 'controlselect mscontrolselect', function( event ) {
if ( getView( event.target ) ) {
event.preventDefault();
}
});
}
});
// Empty the wpview wrap and marker nodes

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-beta3-35601';
$wp_version = '4.4-beta3-35602';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.