Skip to content

LinkControl: Add ability to extend/modify link suggestions #58712

@aurooba

Description

@aurooba

What problem does this address?

As far as I can tell, there is no way to hook into the LinkControl component and modify the query that fetches link suggestions. It would be really nice to have a setting/hook that allows us to do so. For example, if we wanted to block certain content types or pull in link suggestions from remote sources.

What is your proposed solution?

Add a filter to provide a different search handler or a different query to the the fetchSuggestions functionality in LinkControl

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] ExtensibilityThe ability to extend blocks or the editing experience[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions