Media & text block validation error from blocks in the pattern directory #42805
Labels
[Block] Media & Text
Affects the Media & Text Block
[Type] Bug
An existing feature does not function as intended
Description
Since #40806 there is a block validation error for media & text block created before the pull request was merged. But the errors are specifically for media & text blocks in the pattern directory, and I am not able to reproduce it with local blocks.
Step-by-step reproduction instructions
I used this method to test "local" blocks:
one with media on the left, and one to the right. Save.
You should see errors for block patterns in the block pattern directory if you open the browser developer tools console, but not for any of the blocks that are placed in the editor.
Screenshots, screen recording, code snippet
See screenshots in the discussion on the pull request.
Environment info
WordPress 6.0.1
Gutenberg current trunk.
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: