generateblocks
generateblocks copied to clipboard
Fix image block not using default values
Description
Fix the image block not using default values
Steps to reproduce
- Use the PHP hook
generateblocks_defaults - Change any attribute from the image block
Expected behavior
On adding the block it should come with default styles
Actual behavior
The block does have the new default applied
References:
https://edge22studios.slack.com/archives/C022YLCJXHS/p1657832885522419
I think we need to think about whether or not we want filterable defaults. Seems to cause more issues than it solves a lot of the time. Going to punt this to 1.6.0.