Extend block core style and/or add block core variation
Plugin header
Extend Block Core Style
The registerBlockStyle
function allows you to register a new style to block to give alternative way.
NB: If you use it, all fields are required to generate code!
Create block variation
The registerBlockVariation
function allows you to define variants of a block. Each variant can set their own icon, title, and default values.
Typically, embeds are variations of the block embed.
NB: If you use it, all fields are required to generate code!
Plugin Generated
PHP
/* nothing yet... */
JS
/* nothing yet... */
CSS
/* nothing yet... */