← Back
Editing: block.json
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "woocommerce/product-filters", "title": "Product Filters", "description": "Add a set of filters shoppers can use.", "category": "woocommerce", "keywords": [ "WooCommerce" ], "supports": { "align": true, "color": { "background": true, "text": true, "heading": true, "enableContrastChecker": false, "button": true }, "inserter": true, "interactivity": true, "typography": { "fontSize": true }, "layout": { "default": { "type": "flex", "orientation": "vertical", "flexWrap": "nowrap", "justifyContent": "stretch" }, "allowEditing": false }, "position": { "sticky": true }, "spacing": { "blockGap": true } }, "textdomain": "woocommerce", "usesContext": [ "postId", "query", "queryId", "forcePageReload" ], "attributes": { "isPreview": { "type": "boolean", "default": false }, "overlayMode": { "type": "string", "enum": [ "off", "mobile", "always" ] }, "overlayPosition": { "type": "string", "enum": [ "left", "right" ] } }, "example": { "attributes": { "isPreview": true } }, "viewScriptModule": "woocommerce/product-filters", "style": "file:../woocommerce/product-filters-style.css", "editorStyle": "file:../woocommerce/product-filters-editor.css" }
Save File
Cancel