-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)Link components (LinkControl, URLInput) and integrations (RichText link formatting)
Description
What problem does this address?
In #32658 we created a WP-specific function that abstracts away the logic of fetching rich preview data for a given URL. This function is then added as a block editor setting called __experimentalFetchRichUrlData
and then consumed by <LinkControl>
.
Currently this function resides directly within the packages/editor/src/components/provider/use-block-editor-settings.js
file. I'm not convinced this is the best location.
What is your proposed solution?
I would suggest this would be better suited to live within @wordpress/core-data
. That would mean adding another API to core data but I feel it's valid.
@youknowriad I'd value your input on alternative suggestions.
Metadata
Metadata
Assignees
Labels
[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)Link components (LinkControl, URLInput) and integrations (RichText link formatting)