diff --git a/wax-table-service/src/tableSrc/index.js b/wax-table-service/src/tableSrc/index.js index 4b193e70c180a62918e623b67356300507e848f2..d81747469ab8641c2d744c0945b887aa8d98b163 100644 --- a/wax-table-service/src/tableSrc/index.js +++ b/wax-table-service/src/tableSrc/index.js @@ -2591,7 +2591,7 @@ function removeRow(tr, { map, table, tableStart }, row) { rowspan: attrs.rowspan - 1, }); col += attrs.colspan - 1; - } else if (row < map.width && pos == map.map[index + map.width]) { + } else if (row < map.height && pos == map.map[index + map.width]) { const cell = table.nodeAt(pos); const attrs = cell.attrs; const copy = cell.type.create(