-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Block] FileAffects the File BlockAffects the File Block[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When inserting a reusable block, converting it to a normal/editable block, and then trying to insert the same reusable block again, the editor freezes/crashes.
The editor will freeze when a synced pattern (née reusable block) that contains a File block with Show download button disabled.
Step-by-step reproduction instructions
Insert a reusable block in a post.Convert the reusable block to a normal/editable block.Try to insert the same reusable block again.
- Create a new post.
- Add a File block and upload a file.
- Toggle Show download button off.
- Select File block, open Options menu, select Create pattern.
- Name the pattern.
- Editor will freeze/hang.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.6.1
Tried and was able to reproduced the issue on Firefox, Edge and Safari
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
Metadata
Metadata
Assignees
Labels
[Block] FileAffects the File BlockAffects the File Block[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended