Changeset 7199
- Timestamp:
- 08/15/11 05:40:46 (22 months ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/autogrow/plugin.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r7198 r7199 43 43 <li><a href="http://dev.ckeditor.com/ticket/6089">#6089</a> : Minimum compatibility with iOS5. </li> 44 44 <li><a href="http://dev.ckeditor.com/ticket/7931">#7931</a> : The <code><a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#event:mode">mode</a></code> event now carries the previous editor mode.</li> 45 <li><a href="http://dev.ckeditor.com/ticket/6161">#6161</a> : Add new <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.autoGrow_onStartup">autoGrow_onStartup</a> configuration option.</li> 45 46 </ul> 46 47 <p> -
CKEditor/trunk/_source/plugins/autogrow/plugin.js
r7156 r7199 42 42 init : function( editor ) 43 43 { 44 for ( var eventName in { contentDom:1, key:1, selectionChange:1, insertElement:1 } ) 44 var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1 }; 45 editor.config.autoGrow_onStartup && ( eventsList[ 'instanceReady' ] = 1 ); 46 for ( var eventName in eventsList ) 45 47 { 46 48 editor.on( eventName, function( evt ) … … 78 80 * config.autoGrow_maxHeight = 400; 79 81 */ 82 83 /** 84 * Whether to have the auto grow happen on editor creation. 85 * @name CKEDITOR.config.autoGrow_onStartup 86 * @type Boolean 87 * @default false 88 * @since 3.6.2 89 * @example 90 * config.autoGrow_onStartup = true; 91 */ 80 92 81 93 /**
Note: See TracChangeset
for help on using the changeset viewer.
