Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full site editor renders blank page with WooCommerce activated #27938

Closed
hsingyuc opened this issue Dec 31, 2020 · 4 comments
Closed

Full site editor renders blank page with WooCommerce activated #27938

hsingyuc opened this issue Dec 31, 2020 · 4 comments

Comments

@hsingyuc
Copy link
Contributor

Describe the bug
When activating WooCommerce, the full site editor will render a blank page.

To reproduce
Steps to reproduce the behavior:

  1. Use any full site editor capable theme
  2. Activate WooCommerce
  3. Click on the site editor
  4. See blank page

Expected behavior
To see the full site editing page

Screenshots
Looks like it's hidden by this css
blank page

Editor version (please complete the following information):

  • WordPress version: 5.6
  • Gutenberg plugin version 9.6.2

Desktop (please complete the following information):

  • OS: iOS
  • Browser: chrome
  • Version 87.0.4280.88
@hsingyuc
Copy link
Contributor Author

This might be where the issue is coming from woocommerce/woocommerce-blocks#3219

The issue is that wp-edit-post-css is being loaded which hides various elements and should not be loaded.

wp-edit-post-css is not an actual dependency of WC Blocks, but is used to load the editor css before the blocks css. One solution might be to remove this dependency and fix the ordering of the stylesheets in a different way.

Another option would be to not add this dependency on site editor pages.

@youknowriad
Copy link
Contributor

Thanks for testing WooCommerce and FSE.

I think this is better raised in the woocommerce tracker instead, there's nothing we can do from Gutenberg side.

@Aljullu
Copy link
Contributor

Aljullu commented Jan 4, 2021

Thanks for the report @hsingyuc, I opened an issue in WC Blocks repo to investigate this: woocommerce/woocommerce-blocks#3626.

@strarsis
Copy link
Contributor

Related issue: #45170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants