If a site contains an empty reusable block, the editor crashes when opening the block inserter #26485
Labels
[Feature] Inserter
The main way to insert blocks using the + button in the editing interface
[Feature] Synced Patterns
Related to synced patterns (formerly reusable blocks)
[Priority] High
Used to indicate top priority items that need quick attention
[Type] Bug
An existing feature does not function as intended
Describe the bug
When the site has a reusable block which is empty (post content is an empty string), then opening the inserter for any post will cause a WSOD.
I have a fix here: #26484
To reproduce
Expected behavior
The inserter should open. No crash!
Editor version (please complete the following information):
The text was updated successfully, but these errors were encountered: