-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 more menu to customize widgets #31970
Conversation
Size Change: +3.19 kB (0%) Total Size: 1.59 MB
ℹ️ View Unchanged
|
Looks nice! The only issue I noticed is that pressing Esc when the menu is open causes the Customizer to navigate back. |
Yeah, I'm not sure how to fix that. The popover component does already call |
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.
We can fix the Esc thing in a follow-up if you want. This is good 👍
There's also the same issue with the escape key in the customizer when trying to use:
So I think we need to treat this as a separate issue and disable escape for the entire panel 😬 I've reported it in #31972. |
e61f6a8
to
0e92312
Compare
Why was this merged with failing tests? It's not because trunk is failing that that's ok? |
Awesome 😁 Only notes here are that I think the menu should appear in the top Customizer bar next to the Publish button (even though it's related to the editor, it's getting a little lost where it is currently). Minor note but it would be nice to have the "Preferences" subheading (same style as "View" or "Tools") above the last option.
Related to Esc key functionality: #31730 |
Description
Closes #30886
Adds the editor 'more menu' to the customize editor.
I haven't added 'Copy all content' yet, as the post editor version copies post content. I think this should be possible (would need to serialize blocks), but I'd like to address it in a follow-up.
How has this been tested?
Screenshots
Types of changes
New feature (non-breaking change which adds functionality)
Checklist:
*.native.js
files for terms that need renaming or removal).