Skip to content
#

gutenberg

Here are 519 public repositories matching this topic...

gutenberg
woocommerce-gutenberg-products-block
dinhtungdu
dinhtungdu commented Oct 4, 2021

Describe the bug

Working on #4852, I found that we return different preview data based on the woocommerce_tax_display_cart option:

https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/8f3c29265fae50eeb43f933b261ba6cdd8fca344/assets/js/previews/cart.ts#L200-L202

While it may have little to no effect on the end-users, it's the wrong usage of `woocommerce_tax_display_

fabiankaegy
fabiankaegy commented Aug 7, 2020

It would be cool to have an additional parameter when creating a BlockStory to allow to create stories for Mobile as well as Desktop.

I'm not sure wether we should just have a Boolean to toggle between mobile & Desktop, have an array of different possible screen sizes or just pass through the viewportWidth to the BlockPreview component.

Improve this page

Add a description, image, and links to the gutenberg topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the gutenberg topic, visit your repo's landing page and select "manage topics."

Learn more