Ticket #8014: 8014.patch

File 8014.patch, 688 bytes (added by Sa'ar Zac Elias, 13 years ago)
  • _source/plugins/autogrow/plugin.js

     
    6767                {
    6868                        editor.addCommand( 'autogrow', { exec : resizeEditor, modes : { wysiwyg:1 }, readOnly: 1, canUndo: false, editorFocus: false } );
    6969
    70                         var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1 };
     70                        var eventsList = { contentDom:1, key:1, selectionChange:1, insertElement:1, mode:1 };
    7171                        editor.config.autoGrow_onStartup && ( eventsList[ 'instanceReady' ] = 1 );
    7272                        for ( var eventName in eventsList )
    7373                        {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy