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
  • Loading branch information
GrabowskiM committed Jul 23, 2024
1 parent 5ebad1e commit 65cd4bf
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 65cd4bf

Please sign in to comment.