LinkControl: Add support for linking headings #53147
Labels
[Feature] Link Editing
Link components (LinkControl, URLInput) and integrations (RichText link formatting)
[Type] Enhancement
A suggestion for improvement.
When applying an inline link, it'd be nice to be able to link to headings that exist within the post content.
The idea here is that all available headings would be available to select. When you select one, an anchor tag is automatically applied to the corresponding heading, as the anchor link is applied to the selected text.
This UX leverages the existing pattern of having additional tools within the footer of the link popover, as discussed in #50891. The pattern is also explored in this proposal (#50888) for adding blocks within the navigation link block. We should build this out pattern in a way where it could be shared across both.
Visual
cc: @getdave, as you've worked extensively on LinkControl. 🤜🤛
The text was updated successfully, but these errors were encountered: