Ticket #6339: 6339_3.patch
File 6339_3.patch, 789 bytes (added by , 14 years ago) |
---|
-
_source/plugins/autogrow/plugin.js
41 41 { 42 42 editor.on( eventName, function( evt ) 43 43 { 44 var maximize = editor.getCommand( 'maximize' ); 44 45 // Some time is required for insertHtml, and it gives other events better performance as well. 45 if ( evt.editor.mode == 'wysiwyg' ) 46 if ( evt.editor.mode == 'wysiwyg' && 47 // Disable autogrow when the editor is maximized .(#6339) 48 ( !maximize || maximize.state != CKEDITOR.TRISTATE_ON ) ) 49 { 46 50 setTimeout( function(){ resizeEditor( evt.editor ); }, 100 ); 51 } 47 52 }); 48 53 } 49 54 }