TinyMCE: prevent resize handles in newer IE when inserting a wpView.
Fixes #29400. git-svn-id: https://develop.svn.wordpress.org/trunk@35602 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fec164e485
commit
bf8e1083de
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user