-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add missing styling panels for uncontrolled navigation #41114
Conversation
…d blocks in navigation
Size Change: +7 B (0%) Total Size: 1.24 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, the panels are showing now.
Separate issue: -The colors are not applying to the page list submenus in the editor, and only for the first submenu item level on the front.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - thanks for the quick fix.
At some point we should just extract these controls to a component.
@carolinan is this only for uncontrolled menus (menus with items coming from theme files) or for all menus? |
…d blocks in navigation (#41114)
I just cherry-picked this PR to the wp/6.0 branch to get it included in the next release: 880c4cc |
I just cherry-picked this PR to the wp/6.0 branch to get it included in the next release: 880c4cc |
What?
Fixes #41080
Why?
The menus that themes provide by default did not have styling UI in the inspector.
How?
The navigation block returned early the uncontrolled blocks but the styling inspector panels were not
part of the returned JSX.
Testing Instructions
(color, icon button, display settings)
Screenshots or screencast