Skip to content

Commit

Permalink
[SlateEditor] remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaanj committed Sep 15, 2023
1 parent d777438 commit 7cc1c84
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/table/src/transforms/deleteRow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,11 @@ export const deleteRow = <V extends Value>(editor: PlateEditor<V>) => {
| undefined;

if (nextRow) {
// console.log('nextRow', nextRow);
moveToNextRowCells.forEach((cur, index) => {
const curRowCell = cur as TTableCellElement;
const curRowCellColIndex = curRowCell.colIndex!;
const curRowCellRowSpan = curRowCell.rowSpan!;

// console.log('current row', nextRow.children, 'current cell', curRowCell);
// search for anchor cell where to place current cell
const startingCellIndex = nextRow.children.findIndex((curC) => {
const cell = curC as TTableCellElement;
Expand Down

0 comments on commit 7cc1c84

Please sign in to comment.