From 90f7b5dc4a42f2403559eb28e396dbb830d42042 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Tue, 28 Jan 2020 15:30:02 -0500 Subject: [PATCH] Adds Submit button to allow resubmission of existing link when editing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When clicking “Change” on an existing link you should be able to modify and then resubmit the link without having to repeat your search over again. Co-Authored-By: Dave Smith --- .../components/link-control/search-input.js | 31 ++++++++++++++----- .../src/components/link-control/style.scss | 2 +- .../test/__snapshots__/index.js.snap | 2 +- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/packages/block-editor/src/components/link-control/search-input.js b/packages/block-editor/src/components/link-control/search-input.js index 4bda15f1f1eb7..4243abe3a1e92 100644 --- a/packages/block-editor/src/components/link-control/search-input.js +++ b/packages/block-editor/src/components/link-control/search-input.js @@ -81,14 +81,29 @@ const LinkControlSearchInput = ( { __experimentalShowInitialSuggestions={ showInitialSuggestions } /> - "`; +exports[`Basic rendering should render 1`] = `""`;