:fix: handle cell that has both columnSpan
and rowSpan
This commit is contained in:
@ -87,6 +87,7 @@ export class Table extends XmlComponent {
|
|||||||
for (let i = rowIndex + 1; i <= endRowIndex; i++) {
|
for (let i = rowIndex + 1; i <= endRowIndex; i++) {
|
||||||
rows[i].addCellToIndex(
|
rows[i].addCellToIndex(
|
||||||
new TableCell({
|
new TableCell({
|
||||||
|
columnSpan: cell.options.columnSpan,
|
||||||
borders: cell.options.borders,
|
borders: cell.options.borders,
|
||||||
children: [],
|
children: [],
|
||||||
verticalMerge: VerticalMergeType.CONTINUE,
|
verticalMerge: VerticalMergeType.CONTINUE,
|
||||||
|
Reference in New Issue
Block a user