Commit 3c4b7a93 authored by 黄奎's avatar 黄奎

页面修改

parent 9dbe519d
......@@ -18915,8 +18915,15 @@ UE.plugins['table'] = function () {
} else {
utils.each(tables, function (table) {
removeStyleSize(table, true);
domUtils.removeAttributes(table, ['style', 'border']);
domUtils.setAttributes(table, {
style:'border-left:1px solid #ddd; border-top:1px solid #ddd;',
});
//domUtils.removeAttributes(table, ['style', 'border']);
utils.each(domUtils.getElementsByTagName(table, "td"), function (td) {
//粘贴进来的表格td定义属性
domUtils.setAttributes(td, {
style:'border-bottom:1px solid #ddd; border-right:1px solid #ddd; padding:5px;',
});
if (isEmptyBlock(td)) {
domUtils.fillNode(me.document, td);
}
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