block.json
39 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 2, |
| 4 | "name": "woocommerce/product-radio-field", |
| 5 | "title": "Product radio control", |
| 6 | "category": "woocommerce", |
| 7 | "description": "The product radio.", |
| 8 | "keywords": ["products", "radio", "input"], |
| 9 | "textdomain": "default", |
| 10 | "attributes": { |
| 11 | "title": { |
| 12 | "type": "string" |
| 13 | }, |
| 14 | "description": { |
| 15 | "type": "string" |
| 16 | }, |
| 17 | "property": { |
| 18 | "type": "string" |
| 19 | }, |
| 20 | "options": { |
| 21 | "type": "array", |
| 22 | "items": { |
| 23 | "type": "object" |
| 24 | }, |
| 25 | "default": [], |
| 26 | "__experimentalRole": "content" |
| 27 | } |
| 28 | }, |
| 29 | "supports": { |
| 30 | "align": false, |
| 31 | "html": false, |
| 32 | "multiple": true, |
| 33 | "reusable": false, |
| 34 | "inserter": false, |
| 35 | "lock": false, |
| 36 | "__experimentalToolbar": false |
| 37 | } |
| 38 | } |
| 39 |