Skip to content

DRY up LinkControl normal and "Create" suggestions code  #20271

@getdave

Description

@getdave

It would be nice if we could refactor to reduce the code duplication between this and the LinkControlSearchCreate above. It seems like the two receive largely the same props, with few exceptions.

Originally posted by @aduth in #19775


Should be a case of creating a common props object and spreading it onto the two components. There are only 3 shared props but it's probably worth it.

Metadata

Metadata

Assignees

Labels

[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions