Skip to content

Commit

Permalink
Remove the button only option from the UI until it can be wired up to…
Browse files Browse the repository at this point in the history
… something that works in the front end. (#27379)
  • Loading branch information
apeatling authored and tellthemachines committed Dec 1, 2020
1 parent f96bd44 commit bba4623
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/block-library/src/search/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,17 +221,6 @@ export default function SearchEdit( {
>
{ __( 'Button Inside' ) }
</MenuItem>
<MenuItem
icon={ buttonOnly }
onClick={ () => {
setAttributes( {
buttonPosition: 'button-only',
} );
onClose();
} }
>
{ __( 'Button Only' ) }
</MenuItem>
</MenuGroup>
) }
</DropdownMenu>
Expand Down

0 comments on commit bba4623

Please sign in to comment.