-
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
[WIP] Add Link Control UI to the Nav item block sidebar #46981
Conversation
Size Change: +54 B (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
Flaky tests detected in 554218f. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4165160225
|
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
This is a POC and I'll pick it up again once the feature is stablised. |
9fd8fde
to
554218f
Compare
There's more input in #48072 for how to proceed here. |
554218f
to
2fa51cc
Compare
Rather than using the whole control I think we should only use |
Going to close this one out until someone says we still need it. |
What?
Adds the
<LinkControl>
component to the inspector controls sidebar of the Nav Link block.Closes #46217
Why?
Currently (and this is especially problematic when utilising the new offcanvas experiment for the Nav block) it's difficult to edit the link settings once it's been created because you don't have access to the link creation UI.
By adding it to the sidebar we provide this powerful feature.
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast