From bba46230d6e204c1b08c496cdf47dcf7ad4d9474 Mon Sep 17 00:00:00 2001 From: Andy Peatling Date: Mon, 30 Nov 2020 17:48:58 -0800 Subject: [PATCH] Remove the button only option from the UI until it can be wired up to something that works in the front end. (#27379) --- packages/block-library/src/search/edit.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/block-library/src/search/edit.js b/packages/block-library/src/search/edit.js index 7e7b1934b3fc31..0970de33248312 100644 --- a/packages/block-library/src/search/edit.js +++ b/packages/block-library/src/search/edit.js @@ -221,17 +221,6 @@ export default function SearchEdit( { > { __( 'Button Inside' ) } - { - setAttributes( { - buttonPosition: 'button-only', - } ); - onClose(); - } } - > - { __( 'Button Only' ) } - ) }