Move copy and pasting styles menu items to a separate menu group#47430
Move copy and pasting styles menu items to a separate menu group#47430
Conversation
|
Size Change: +52 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in e180b7c. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4009244323
|
jasmussen
left a comment
There was a problem hiding this comment.
Good change. The before image below is not very clear about the feature-set, that you can copy and paste styles:
This after image below is much clearer that you can both copy blocks, or copy styles. Yes, the copy action might technically be the same, but the actual feature becomes much clearer for it:

There's a future followup of improving this menu further, in terms of leveraging flyouts for a couple of actions when possible. But in lieu of that, this is a stronger starting point, even if the menu becomes taller. Nice work!
ndiego
left a comment
There was a problem hiding this comment.
A good interim solution for 6.2. 💪

What?
Closes #47164 by adding a MenuGroup with "Copy styles" and "Paste styles" within and removing the standalone "Copy styles" MenuItem.
Technically, "Copy styles" and "Copy block" are the same functionality, but having a separate control for copying styles makes this more discoverable.
Why?
Makes the copy/pasting of styles more discoverable, as in the current state copying styles is undiscoverable.
Testing Instructions
The functionality has not changed, just the presentation.
Screenshots or screencast
CleanShot.2023-01-25.at.14.18.23.mp4