Ticket #3781: 3781.patch
File 3781.patch, 1.0 KB (added by , 15 years ago) |
---|
-
_source/plugins/button/plugin.js
99 99 // Get the command name. 100 100 var command = this.command; 101 101 102 if ( command)102 if ( this.modes ) 103 103 { 104 editor.on( 'mode', function() 105 { 106 this.setState( this.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED ); 107 }, this); 108 } 109 else if ( command ) 110 { 104 111 // Get the command instance. 105 112 command = editor.getCommand( command ); 106 113 -
_source/plugins/colorbutton/plugin.js
27 27 label : title, 28 28 title : title, 29 29 className : 'cke_button_' + name.toLowerCase(), 30 modes : { wysiwyg : 1 }, 30 31 31 32 panel : 32 33 {