Command Palette Error because of block transform in 6.4 RC 2 #55668
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
If you have a block that has a transform from
core/paragraph
(it's not specific to only this block, happens also incore/heading
), then you try using the command palette, it will cause the whole editor to crash.Here's the error:
Step-by-step reproduction instructions
Using WP 6.4 RC2:
The important thing with this block is that it has a transform from a
core/paragraph
.Screenshots, screen recording, code snippet
Here's a screen recording without the error. In this video, it's just a new page, added a paragraph block and used the command palette:
Screen.Recording.2023-10-28.at.1.10.16.AM.mov
Here's a screen recording with the error. In this video, I continued from the previous video, registering the block with the transform, then used the command palette and getting the error:
Screen.Recording.2023-10-28.at.1.10.40.AM.mov
Environment info
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
The text was updated successfully, but these errors were encountered: