diff --git a/public/assets/kindeditor/plugins/table/table.js b/public/assets/kindeditor/plugins/table/table.js index ba72a0ff8..c96ab0326 100644 --- a/public/assets/kindeditor/plugins/table/table.js +++ b/public/assets/kindeditor/plugins/table/table.js @@ -228,8 +228,10 @@ KindEditor.plugin('table', function(K) { } if (borderColor !== '') { table.attr('borderColor', borderColor); + table.css("border-color",borderColor); } else { table.removeAttr('borderColor'); + table.css("border-color","none"); } self.hideDialog().focus(); self.cmd.range.moveToBookmark(bookmark); @@ -251,7 +253,10 @@ KindEditor.plugin('table', function(K) { if (border !== ''){ style += 'border:'+border+'px solid;'; } - + if (borderColor !== ''){ + style += 'border-color:'+borderColor+';'; + } + style += 'table-layout: '+'fixed;'; var html = '
' + (K.IE ? ' ' : ' ') + ' | ';
+ html += ' ';
}
html += '';
}