Differentiate 'Copy' and 'Copy styles' snackbar confirmation messages #57254
Labels
[Package] Block editor
/packages/block-editor
[Type] Bug
An existing feature does not function as intended
Description
WHen copying a block and when copying a block styles, a snackbar notice appears with a confirmation message. The confirmation message text is the same in both cases:
`Copied {block name} to clipboard'
when copying styles of multiple blocks:
'Copied {n} blocks to clipboard'
For better clarity and better user experience, the copy stiles operation should use its own confirmation message, something along the lines of:
`Copied block styles to clipboard' and 'Copied {n} blocks styles to clipboard'
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Snackbars notices with the same text after 'Copy' and then click 'Copy styles':
Copy styles with multiple block selected:
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: