Skip to content

Commit

Permalink
fix: ignore delete on any table size of cells
Browse files Browse the repository at this point in the history
  • Loading branch information
saif-ellafi committed Nov 7, 2024
1 parent d81bd58 commit e8e6180
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Future<void> onDelete(
AppFlowyEditorLog.input.debug('onDelete: $deletion');

final selection = editorState.selection;
if (selection == null || (selection.end.offset == 0 && selection.end.path.length == 3)) {
if (selection == null || (selection.end.offset == 0 && selection.end.path.length > 1)) {
return;
}

Expand Down

0 comments on commit e8e6180

Please sign in to comment.