Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #826 from csbde/dev-1.4.3
Browse files Browse the repository at this point in the history
BUG修复 td包含p属性时未清理p的width和height值。会造成表格与后台编辑宽度不一致。
  • Loading branch information
carsonxu committed Jul 6, 2014
2 parents acae1c6 + 400dd4f commit 7328e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _parse/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ UE.parse.register('table', function (utils) {
selector + ' table tr.firstRow th{border-top:2px solid #BBB;background:#F7F7F7;}' +
selector + ' tr.ue-table-interlace-color-single td{ background: #fcfcfc; }' +
selector + ' tr.ue-table-interlace-color-double td{ background: #f7faff; }' +
selector + ' td p{margin:0;padding:0;}',
selector + ' td p{margin:0;padding:0;width:auto;height:auto;}',
document);
//填充空的单元格

Expand Down Expand Up @@ -158,4 +158,4 @@ UE.parse.register('table', function (utils) {
}
}
}
});
});

0 comments on commit 7328e15

Please sign in to comment.