Index: /CKEditor/trunk/CHANGES.html =================================================================== --- /CKEditor/trunk/CHANGES.html (revision 7198) +++ /CKEditor/trunk/CHANGES.html (revision 7199) @@ -43,4 +43,5 @@
mode
event now carries the previous editor mode.Index: /CKEditor/trunk/_source/plugins/autogrow/plugin.js =================================================================== --- /CKEditor/trunk/_source/plugins/autogrow/plugin.js (revision 7198) +++ /CKEditor/trunk/_source/plugins/autogrow/plugin.js (revision 7199) @@ -42,5 +42,7 @@ init : function( editor ) { - for ( var eventName in { contentDom:1, key:1, selectionChange:1, insertElement:1 } ) + var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1 }; + editor.config.autoGrow_onStartup && ( eventsList[ 'instanceReady' ] = 1 ); + for ( var eventName in eventsList ) { editor.on( eventName, function( evt ) @@ -78,4 +80,14 @@ * config.autoGrow_maxHeight = 400; */ + + /** + * Whether to have the auto grow happen on editor creation. + * @name CKEDITOR.config.autoGrow_onStartup + * @type Boolean + * @default false + * @since 3.6.2 + * @example + * config.autoGrow_onStartup = true; + */ /**