Hello,
One of the Blocksy theme developers here.
I’m reaching out about an issue that happens with Blocksy theme, WooCommere and CoBlocks plugins being active on the site.
The problem can be observed in the block widgets editor in the Appearance -> Customize area only.
Appearance -> Widgets screen works well.
In short, the issue is caused by CoBlocks loading the wp-edit-post dependency in the customizer screen.
I saw that in the includes/class-coblocks-block-assets.php file there is a specific check that skips this dependency in the widgets.php screen but I believe this check should also cover the customizer area too, to avoid the mentioned problem.
We also have a work-around script for it that we gave the customer until a proper fix lands in CoBlocks, here it is:
add_action('enqueue_block_editor_assets', function () {
global $wp_customize;
if (! $wp_customize) {
return;
}
wp_deregister_script('coblocks-editor');
}, 50);
I hope you could collaborate with us here on a solution. Thank you!
Hello,
One of the Blocksy theme developers here.
I’m reaching out about an issue that happens with Blocksy theme, WooCommere and CoBlocks plugins being active on the site.
The problem can be observed in the block widgets editor in the Appearance -> Customize area only.
Appearance -> Widgets screen works well.
In short, the issue is caused by CoBlocks loading the
wp-edit-postdependency in the customizer screen.I saw that in the
includes/class-coblocks-block-assets.phpfile there is a specific check that skips this dependency in thewidgets.phpscreen but I believe this check should also cover the customizer area too, to avoid the mentioned problem.We also have a work-around script for it that we gave the customer until a proper fix lands in CoBlocks, here it is:
I hope you could collaborate with us here on a solution. Thank you!