godaddy-wordpress / coblocks

A suite of professional page building content blocks for the WordPress Gutenberg block editor.
https://wordpress.org/plugins/coblocks/
GNU General Public License v2.0
749 stars 145 forks source link

ISBAT Compatibility issue with other blocks, like the WooCommerce checkout #2578

Open gdandrija opened 1 year ago

gdandrija commented 1 year ago

Describe the bug:

Initially submitted on WordPress.org

Hi there!

We have the CoBlocks plugin installed, but it’s causing a compatibility issue with the WooCommerce Checkout block. The main impact is that it removes the background of the “Place Order” button, but it also changes some other styles.

This happens because the dependency /wp-includes/css/dist/components/style.min.css is being imported in the frontend. Based on the documentation, this dependency is supposed to be used on the WordPress dashboard.

creating common UI elements shared between screens and features of the WordPress dashboard

Is it possible to update the plugin to not import this dependency on the frontend? Or is it important for the CoBlocks blocks to work?

To reproduce:

  1. Create a blank page
  2. Add the WooCommerce checkout block to the page
  3. Click update to save the changes
  4. Visit the newly created page -->

Expected behavior:

WooCommerce Checkout

Isolating the problem:

WordPress version:

6.4.1