Skip to content

Commit

Permalink
Add tbody tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Piechota committed May 19, 2024
1 parent 94f8614 commit bf03bb1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/lexical-table/src/LexicalTableObserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ export class TableObserver {
const target = record.target;
const nodeName = target.nodeName;

if (nodeName === 'TABLE' || nodeName === 'TR') {
if (
nodeName === 'TABLE' ||
nodeName === 'TBODY' ||
nodeName === 'TR'
) {
gridNeedsRedraw = true;
break;
}
Expand Down

0 comments on commit bf03bb1

Please sign in to comment.