Ticket #3728: 3728_2.patch

File 3728_2.patch, 560 bytes (added by fredck, 3 years ago)
  • _source/plugins/colorbutton/plugin.js

     
    6666 
    6767                                        panel.hide(); 
    6868 
    69                                         var style = new CKEDITOR.style( config['colorButton_' + type + 'Style'], { color : color || '#000' } ); 
     69                                        var style = new CKEDITOR.style( config['colorButton_' + type + 'Style'], color && { color : color } ); 
    7070 
    7171                                        editor.fire( 'saveSnapshot' ); 
    7272                                        if ( color ) 
© 2003 – 2011 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy