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 committed Oct 22, 2024
1 parent 916d3ff commit 207efd6
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 207efd6

Please sign in to comment.