From 189b35b1652ffabf67f1f44ab0d8879ab5565a00 Mon Sep 17 00:00:00 2001 From: Rahul Harpal Date: Mon, 9 Sep 2024 19:55:29 +0530 Subject: [PATCH 01/11] replace input with InputControl --- .../src/components/link-control/index.js | 30 +++++++++++-------- .../components/link-control/search-input.js | 4 +-- .../src/components/url-input/index.js | 14 ++++----- 3 files changed, 26 insertions(+), 22 deletions(-) diff --git a/packages/block-editor/src/components/link-control/index.js b/packages/block-editor/src/components/link-control/index.js index 2024aca998caac..5965ae600ef94d 100644 --- a/packages/block-editor/src/components/link-control/index.js +++ b/packages/block-editor/src/components/link-control/index.js @@ -404,20 +404,24 @@ function LinkControl( { createSuggestionButtonText } hideLabelFromVision={ ! showTextControl } + // Passing the Button component as a suffix prop + suffix={ + showActions ? null : ( +