diff --git a/packages/block-editor/src/components/link-control/index.js b/packages/block-editor/src/components/link-control/index.js index 1476b47879a5a..c02855d1e226a 100644 --- a/packages/block-editor/src/components/link-control/index.js +++ b/packages/block-editor/src/components/link-control/index.js @@ -334,8 +334,6 @@ function LinkControl( { const showActions = isEditingLink && hasLinkValue; - const showURLInput = hasLinkValue && ! value?.id; - // Only show text control once a URL value has been committed // and it isn't just empty whitespace. // See https://github.com/WordPress/gutenberg/pull/33849/#issuecomment-932194927. @@ -401,18 +399,6 @@ function LinkControl( { 'has-actions': showActions, } ) } > - { showURLInput && ( - - ) } - { showTextControl && ( ) } - { ! hasLinkValue && ( - <> - + { ! showActions && ( +
+
- ) } - + ) } { errorMessage && (