Skip to content

LinkControl: Only suggest either "Add new page" or "Add link" #50178

@getdave

Description

@getdave

Part of #50891

When typing a URL (e.g. www.wordpress.org) the option to add a draft should not display (and vise-versa). There should only be one or the either available as an action.

Visual

This mockup takes the full LinkControl refresh into account:

CleanShot 2023-05-23 at 15 16 55

And here's what we have today:

Screenshot 2023-04-28 at 15 48 31

Related to #38497

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)[Feature] UI ComponentsImpacts or related to the UI component system[Package] Block editor/packages/block-editor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions