From 7d368c8cddee8d8bc8723cd2263f175da786dfef Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Tue, 12 Dec 2023 17:43:59 +0200 Subject: [PATCH] fix delete row --- wax-table-service/src/tableSrc/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wax-table-service/src/tableSrc/index.js b/wax-table-service/src/tableSrc/index.js index 4b193e70c..d81747469 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( -- GitLab