823 | | try { editor.document.$.execCommand( 'enableObjectResizing', false, !editor.config.disableObjectResizing ) ; } catch(e) {} |
824 | | try { editor.document.$.execCommand( 'enableInlineTableEditing', false, !editor.config.disableNativeTableHandles ) ; } catch(e) {} |
| 823 | try { editor.document.$.execCommand( 'enableInlineTableEditing', false, !editor.config.disableNativeTableHandles ); } catch(e) {} |
| 824 | if ( editor.config.disableObjectResizing ) |
| 825 | { |
| 826 | try |
| 827 | { |
| 828 | editor.document.$.execCommand( 'enableObjectResizing', false, false ); |
| 829 | } |
| 830 | catch(e) |
| 831 | { |
| 832 | // For browsers in which the above method failed, we can cancel the resizing on the fly (#4208) |
| 833 | editor.document.getBody().on( CKEDITOR.env.ie ? 'resizestart' : 'resize', function( evt ) |
| 834 | { |
| 835 | evt.data.preventDefault(); |
| 836 | }); |
| 837 | } |
| 838 | } |