Add the Cut block action to the block actions menu #68550
Labels
[Package] Block editor
/packages/block-editor
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Noticed while testing #68167
The Options menu in the block toolbar provides access to some block actions like Copy, Copy Styles, Paste Styles.
While testing these features I discovered there's also a 'Cut block' action that only works via keyboard shortcut
Cmd/Ctrl + x
. I didn't know this action existed or maybe I didn't rationalize and mentally absorbed that it existed. Which proves it's very little discoverable.In fact, the Cut action isn't present in the Options menu, which feels like the most natural place for a Cut operation.
I'm not sure whether this has been discussed elsewhere and what the reasoning behind not exposing the Cut action in a prominent place is, but I'd think that since the editor already provides actions that are conceptually related in the Options menu, the Cut action should be exposed there.
Testing with two styled Paragraphs:
However, the Options menu doesn't provide a 'Cut' action:
Also, it is worth noting that neither the Cut keyboard shortcut not the Copy keyboard shortcut are listed in the Keyboard shortcuts modal dialog.
Step-by-step reproduction instructions
Cmd/Ctrl + x
keys.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: