block.json
41 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 2, |
| 4 | "name": "hostinger-reach/subscription", |
| 5 | "title": "Reach Subscription Form", |
| 6 | "category": "common", |
| 7 | "icon": "email", |
| 8 | "description": "Subscription form for Hostinger Reach", |
| 9 | "textdomain": "hostinger-reach", |
| 10 | "attributes": { |
| 11 | "formId": { |
| 12 | "type": "string", |
| 13 | "default": "" |
| 14 | }, |
| 15 | "showName": { |
| 16 | "type": "boolean", |
| 17 | "default": false |
| 18 | }, |
| 19 | "showSurname": { |
| 20 | "type": "boolean", |
| 21 | "default": false |
| 22 | }, |
| 23 | "contactList": { |
| 24 | "type": "string", |
| 25 | "default": "" |
| 26 | }, |
| 27 | "tags": { |
| 28 | "type": "array", |
| 29 | "default": [] |
| 30 | }, |
| 31 | "layout": { |
| 32 | "type": "string", |
| 33 | "default": "default", |
| 34 | "enum": ["default", "inline"] |
| 35 | } |
| 36 | }, |
| 37 | "supports": { |
| 38 | "html": false |
| 39 | } |
| 40 | } |
| 41 |