Ticket #4208: disable_object_resizing_ie.patch
File disable_object_resizing_ie.patch, 909 bytes (added by , 14 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
old new 403 403 domWindow = editor.window = new CKEDITOR.dom.window( domWindow ); 404 404 domDocument = editor.document = new CKEDITOR.dom.document( domDocument ); 405 405 406 // For IE, disable object resizing by stopping the resizestart event 407 if ( CKEDITOR.env.ie && editor.config.disableObjectResizing) 408 { 409 domDocument.on( 'mousedown', function(ev) 410 { 411 ev.data.getTarget().on( 'resizestart', function( ev2 ) 412 { 413 ev2.data.preventDefault(); 414 } ); 415 }); 416 } 417 406 418 // Gecko/Webkit need some help when selecting control type elements. (#3448) 407 419 if ( !( CKEDITOR.env.ie || CKEDITOR.env.opera) ) 408 420 {