Skip to content

Commit

Permalink
Remove group/ungroup from contentOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored and talldan committed Oct 24, 2024
1 parent 23e04ce commit 3b2f898
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ const BlockSettingsMenuControlsSlot = ( { fillProps, clientIds = null } ) => {
const convertToGroupButtonProps =
useConvertToGroupButtonProps( selectedClientIds );
const { isGroupable, isUngroupable } = convertToGroupButtonProps;
const showConvertToGroupButton = isGroupable || isUngroupable;
const showConvertToGroupButton =
( isGroupable || isUngroupable ) && ! isContentOnly;

return (
<Slot
Expand Down

0 comments on commit 3b2f898

Please sign in to comment.