Description
Block attributes can have multiple types (i.e. string or boolean), which is encoded in block.json as an array. The current type does not allow for that
Step-by-step reproduction instructions
- Try to pass an array of strings as the type of a block attribute
- Observe that that does not work
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
Block attributes can have multiple types (i.e. string or boolean), which is encoded in block.json as an array. The current type does not allow for that
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.