Ticket #8014: 8014.patch
File 8014.patch, 688 bytes (added by , 13 years ago) |
---|
-
_source/plugins/autogrow/plugin.js
67 67 { 68 68 editor.addCommand( 'autogrow', { exec : resizeEditor, modes : { wysiwyg:1 }, readOnly: 1, canUndo: false, editorFocus: false } ); 69 69 70 var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1 };70 var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1, mode:1 }; 71 71 editor.config.autoGrow_onStartup && ( eventsList[ 'instanceReady' ] = 1 ); 72 72 for ( var eventName in eventsList ) 73 73 {