-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Copy/Cut from block options menu does not work in empty Classic Block (7.0-beta1) #75798
Copy link
Copy link
Open
Labels
[Block] ClassicAffects the Classic Editor BlockAffects the Classic Editor Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
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.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] ClassicAffects the Classic Editor BlockAffects the Classic Editor Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.