Skip to content

Commit

Permalink
IBX-8337: Can't add Custom classes and attributes for TR element with…
Browse files Browse the repository at this point in the history
… multiple line (#174)
  • Loading branch information
GrabowskiM authored Aug 1, 2024
1 parent 87d01b8 commit ae221f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class IbexaCustomAttributesCommand extends Command {

const commonAncestor = selectedBlock.getCommonAncestor(nextBlock);

return commonAncestor.name === 'tableRow';
return commonAncestor.name === 'tableRow' || commonAncestor.name === 'tableCell';
});

return !areBlocksInSameRow && isTableRow;
Expand Down

0 comments on commit ae221f6

Please sign in to comment.