-
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
Remove deprecated classnames from Navigation Link block #35358
Conversation
There are some separate styles for the navigation editor that depend on those classnames which would also need to be updated: |
Replace .wp-block-navigation-link__label with .wp-block-navigation-item__label
Size Change: +1.23 kB (0%) Total Size: 1.07 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.
Thanks for fixing this! Code is looking good aside from a tiny typo I commented on below, so I'm going to go ahead and approve the PR anyway.
@@ -51,7 +51,7 @@ The structural CSS for the navigation block targets generic classnames across me | |||
- `.wp-block-navigation__submenu-container` is applied to submenus to main menu items. |
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.
Not sure what these docs about Nav block classnames are doing in the components package 🤔 they should be in the block folder instead. No need to fix that here though, I've created #35445 to address it separately.
Description
Fixes #35237, #35238
How has this been tested?
Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).