From 17d39e30bf10e1d63477b897a47cdae39513dc1f Mon Sep 17 00:00:00 2001 From: Roy Ho Date: Fri, 13 Oct 2023 11:19:14 -0700 Subject: [PATCH] product gallery block: add preview (#11247) --- assets/js/blocks/product-gallery/block.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/blocks/product-gallery/block.json b/assets/js/blocks/product-gallery/block.json index 7a6219d5ec3..6eb94afcf6b 100644 --- a/assets/js/blocks/product-gallery/block.json +++ b/assets/js/blocks/product-gallery/block.json @@ -23,7 +23,6 @@ "hoverZoom": "hoverZoom", "fullScreenOnClick": "fullScreenOnClick" }, - "usesContext": [ "postId" ], "attributes": { "thumbnailsPosition": { "type": "string", @@ -62,5 +61,6 @@ "default": "standard" } }, - "viewScript": "wc-product-gallery-frontend" + "viewScript": "wc-product-gallery-frontend", + "example": {} }