Commit 7b9be193 authored by campaign's avatar campaign

by zhanyi

parent 603838dd
......@@ -151,7 +151,10 @@ KM.registerUI( 'forecolor', function ( name ) {
name: name,
title: this.getLang( 'tooltips' )[ name ] || '',
click: function () {
me.execCommand( name, getCurrentColor() );
var color = kity.Color.parse(getCurrentColor()).toHEX();
if(!color == '#000000'){
me.execCommand( name, color );
}
}
} );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment