block.json
32 lines
| 1 | { |
| 2 | "name": "woocommerce/catalog-sorting", |
| 3 | "title": "Catalog Sorting", |
| 4 | "description": "Enable customers to change the sorting order of the products.", |
| 5 | "category": "woocommerce", |
| 6 | "keywords": [ "WooCommerce" ], |
| 7 | "supports": { |
| 8 | "interactivity": true, |
| 9 | "color": { |
| 10 | "text": true, |
| 11 | "background": false |
| 12 | }, |
| 13 | "typography": { |
| 14 | "fontSize": true |
| 15 | } |
| 16 | }, |
| 17 | "viewScriptModule": "woocommerce/catalog-sorting", |
| 18 | "attributes": { |
| 19 | "fontSize": { |
| 20 | "type": "string", |
| 21 | "default": "small" |
| 22 | }, |
| 23 | "useLabel": { |
| 24 | "type": "boolean", |
| 25 | "default": false |
| 26 | } |
| 27 | }, |
| 28 | "textdomain": "woocommerce", |
| 29 | "apiVersion": 3, |
| 30 | "$schema": "https://schemas.wp.org/trunk/block.json" |
| 31 | } |
| 32 |