block.json
72 lines
| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "srfm/url", |
| 5 | "title": "URL", |
| 6 | "description": "Displays a SureForms URL Field", |
| 7 | "category": "sureforms", |
| 8 | "keywords": [ "url", "link", "website" ], |
| 9 | "textdomain": "sureforms", |
| 10 | "supports": { |
| 11 | "reusable": false, |
| 12 | "html": false |
| 13 | }, |
| 14 | "example": { |
| 15 | "attributes": { |
| 16 | "preview": true |
| 17 | } |
| 18 | }, |
| 19 | "attributes": { |
| 20 | "preview": { |
| 21 | "type": "boolean", |
| 22 | "default": false |
| 23 | }, |
| 24 | "block_id": { |
| 25 | "type": "string" |
| 26 | }, |
| 27 | "defaultValue": { |
| 28 | "type": "string" |
| 29 | }, |
| 30 | "required": { |
| 31 | "type": "boolean", |
| 32 | "default": false |
| 33 | }, |
| 34 | "placeholder": { |
| 35 | "type": "string", |
| 36 | "default": "" |
| 37 | }, |
| 38 | "fieldWidth": { |
| 39 | "type": "number", |
| 40 | "default": 100 |
| 41 | }, |
| 42 | "label": { |
| 43 | "type": "string", |
| 44 | "default": "URL" |
| 45 | }, |
| 46 | "help": { |
| 47 | "type": "string", |
| 48 | "default": "" |
| 49 | }, |
| 50 | "errorMsg": { |
| 51 | "type": "string", |
| 52 | "default": "" |
| 53 | }, |
| 54 | "formId": { |
| 55 | "type": "number", |
| 56 | "default": "" |
| 57 | }, |
| 58 | "isConditionalLogic":{ |
| 59 | "type":"boolean", |
| 60 | "default":false |
| 61 | }, |
| 62 | "slug":{ |
| 63 | "type":"string", |
| 64 | "default":"" |
| 65 | }, |
| 66 | "readOnly": { |
| 67 | "type": "boolean", |
| 68 | "default": false |
| 69 | } |
| 70 | } |
| 71 | } |
| 72 |