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:
parent
a90d108b82
commit
93fa052e49
|
@ -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
Binary file not shown.
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue