-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link interface unification using one in navigation block #18833
Comments
We have four by my count! 😀 Soon to be five if #18139 is merged. Paragraph block: Image block: Navigation block: Button block: |
Do you have any link for the documentation on how to extend the new interface? Thanks! |
There is a little documentation on the |
Just thinking through what might be involved here:
There's no need to do everything at once. We can start small and iterate.
<LinkControl currentLink={ ... } onLinkChange={ ... }>
<LinkControl.ToggleSetting title="Open in new tab" onToggle={ ... } />
<LinkControl.TextSetting title="Link rel" value="" onToggle={ ... } />
<LinkControl.TextSetting title="Link CSS class" value="" onToggle={ ... } />
</LinkControl> |
Closing this one as making individual issues for each area that needs this. |
@noisysocks Any updates on how we can add extra controls on the Link popover? Planning to add extra 'trash' icon at the bottom to remove link. Thanks! |
There is a new link interface being used for navigation:
Whilst the #17557 was closed this only brought it into navigation. I would like to see it replacing the one also used anywhere else. Unfortunately, right now we have 2 ways to add links so let's fix that.
The text was updated successfully, but these errors were encountered: