Hi,
I just updated the plugin to 4.5 and my all custom blocks are gone.
On all the blocks it is displaying these kinds of messages.
Your site doesn鈥檛 include support for the "ct-plugin/slider-1" block. You can leave this block intact or remove it entirely.
Your site doesn鈥檛 include support for the "ct-plugin/gallery-1" block. You can leave this block intact or remove it entirely.
What to do ??
Just solve it myself. It seems now you have to add dependencies in the PHP file when enqueuing the scripts.
eg.
wp_enqueue_script(
'megablocks_cgb-block-js',
plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ),
array( 'wp-blocks', 'wp-i18n', 'wp-element' , 'wp-components' , 'wp-editor' ) // Dependencies
);
Most helpful comment
Just solve it myself. It seems now you have to add dependencies in the PHP file when enqueuing the scripts.
eg.