godaddy-wordpress / godaddy-wordpress/coblocks

ISBAT Compatibility issue with other blocks, like the WooCommerce checkout

Open
#2,578 0 comments 0 reactions 0 assignees View on GitHub
[Priority] Low [Type] Bug
Dominant language
JavaScript
Stars
794
Forks
142
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug:
Initially submitted on [WordPress.org](https://wordpress.org/support/topic/compatibility-issue-with-other-blocks-like-the-woocommerce-checkout/)

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](https://github.com/Automattic/gutenberg/tree/trunk/packages/components), 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:

- [x] This bug happens with no other plugins activated
- [x] This bug happens with a default WordPress theme active
- [x] This bug happens **without** the Gutenberg plugin active
- [x] I can reproduce this bug consistently using the steps above

### WordPress version:
6.4.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.