ahmadawais / create-guten-block

📦 A zero-configuration #0CJS developer toolkit for building WordPress Gutenberg block plugins.
https://Awais.dev/cgb-post
MIT License
3.15k stars 328 forks source link

Block.json is missing. Block styles will not load in future WordPress releases #303

Open virgiliud opened 2 years ago

virgiliud commented 2 years ago

Starting in WordPress 5.8 release, the use of block.json was encouraged. Create-guten-block does not have support for block.json which will cause custom block styles to not load. This can be tested by activating the Gutenberg plugin (to use the latest editor updates) Editor style and style must be defined in block.json metadata.