diff --git a/packages/block-editor/src/components/link-control/index.js b/packages/block-editor/src/components/link-control/index.js index bdc1de27c6b25..60e503c1cca88 100644 --- a/packages/block-editor/src/components/link-control/index.js +++ b/packages/block-editor/src/components/link-control/index.js @@ -328,8 +328,7 @@ function LinkControl( { const isEditing = ( isEditingLink || ! value ) && ! isCreatingPage; const isDisabled = ! valueHasChanges || currentInputIsEmpty; - - const shouldShowAdvancedSettings = ! currentInputIsEmpty && isEditingLink; + const showSettings = !! settings?.length && isEditingLink && hasLinkValue; return (
) } -
- { shouldShowAdvancedSettings && ( + { showSettings && ( +
- ) } -
+
+ ) } { showActions && (