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 |
noisysocks
left a comment
There was a problem hiding this comment.
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.jsfiles for terms that need renaming or removal).