We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e959f commit a40557aCopy full SHA for a40557a
src/table-utils/commands/appendRow.ts
@@ -39,7 +39,7 @@ export const appendRow: CommandWithAttrs<{
39
});
40
41
let position = tablePos + parentRow.pos;
42
- position += direction === 'before' ? 1 : parentRow.node.nodeSize + 2;
+ position += direction === 'before' ? 1 : parentRow.node.nodeSize + 1;
43
44
dispatch(state.tr.insert(position, parentRow.node.copy(Fragment.from(newCellNodes))));
45
}
0 commit comments