Skip to content

Commit

Permalink
[lexical-table] Fix Table Cut Event Handling (#6596)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivailop7 authored Sep 5, 2024
1 parent bd507b9 commit 3a9f2ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/lexical-table/src/LexicalTableSelectionHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ export function applyTableHandlers(
const intercepted = $deleteCellHandler(event);
if ($isRangeSelection(selection)) {
selection.removeText();
return true;
}
return intercepted;
}
Expand Down

0 comments on commit 3a9f2ec

Please sign in to comment.