Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try: use ariakit for DropdownMenu v2, test it in block editor settings #54612

Closed
wants to merge 11 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ const BlockSettingsMenuControlsSlot = ( {
}

return (
<MenuGroup>
{ showConvertToGroupButton && (
<>
{ /* { showConvertToGroupButton && (
<ConvertToGroupButton
{ ...convertToGroupButtonProps }
onClose={ fillProps?.onClose }
Expand All @@ -83,9 +83,9 @@ const BlockSettingsMenuControlsSlot = ( {
<BlockLockMenuItem
clientId={ selectedClientIds[ 0 ] }
/>
) }
) } */ }
{ fills }
{ fillProps?.canMove && ! fillProps?.onlyBlock && (
{ /* { fillProps?.canMove && ! fillProps?.onlyBlock && (
<MenuItem
onClick={ pipe(
fillProps?.onClose,
Expand All @@ -100,8 +100,8 @@ const BlockSettingsMenuControlsSlot = ( {
clientId={ fillProps?.firstBlockClientId }
onToggle={ fillProps?.onClose }
/>
) }
</MenuGroup>
) } */ }
</>
);
} }
</Slot>
Expand Down
Loading