Description
In Safari, Copy and Cut actions from the block options dropdown menu do not work when the Classic Block is empty.
Keyboard shortcuts (Command + C / Command + X) work as expected.
The issue only occurs when the Classic Block is empty.
If the block contains content (e.g., after using "Edit" and adding text), the menu Copy/Cut actions work correctly.
This suggests a possible focus or selection issue when the Classic Block has no content.
Expected Behavior
The block should be copied or cut.
Actual Behavior
Nothing happens.
Step-by-step reproduction instructions
- Open WordPress Playground running WordPress 7.0-beta1.
- Create a new post.
- Insert a Classic Block.
- Do not add any content.
- Open the block options dropdown menu.
- Click "Copy" or "Cut".
Screenshots, screen recording, code snippet
Environment info
- WordPress: 7.0-beta1
- Environment: WordPress Playground
- OS: macOS Tahoe 26.3
- Browser: Safari 26.3
- Gutenberg plugin: Not installed
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.
Description
In Safari, Copy and Cut actions from the block options dropdown menu do not work when the Classic Block is empty.
Keyboard shortcuts (Command + C / Command + X) work as expected.
The issue only occurs when the Classic Block is empty.
If the block contains content (e.g., after using "Edit" and adding text), the menu Copy/Cut actions work correctly.
This suggests a possible focus or selection issue when the Classic Block has no content.
Expected Behavior
The block should be copied or cut.
Actual Behavior
Nothing happens.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
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.