JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.3
[ckeditor.git] / _source / plugins / autogrow / plugin.js
index c8c668e..fdbb578 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -67,7 +67,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                {\r
                        editor.addCommand( 'autogrow', { exec : resizeEditor, modes : { wysiwyg:1 }, readOnly: 1, canUndo: false, editorFocus: false } );\r
 \r
-                       var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1 };\r
+                       var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1, mode:1 };\r
                        editor.config.autoGrow_onStartup && ( eventsList[ 'instanceReady' ] = 1 );\r
                        for ( var eventName in eventsList )\r
                        {\r