| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "jet-forms/form-block", |
| 5 |
"title": "JetForm", |
| 6 |
"keywords": [ |
| 7 |
"jetform", |
| 8 |
"form", |
| 9 |
"builder", |
| 10 |
"crocoblock" |
| 11 |
], |
| 12 |
"textdomain": "jet-form-builder", |
| 13 |
"supports": { |
| 14 |
"html": false, |
| 15 |
"anchor": true |
| 16 |
}, |
| 17 |
"editorScript": "jet-form-builder/form", |
| 18 |
"editorStyle": "jet-form-builder-others", |
| 19 |
"category": "layout", |
| 20 |
"icon": "<svg width=\"36\" height=\"48\" viewBox=\"0 0 36 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9 10C7.34315 10 6 11.3431 6 13C6 14.6569 7.34315 16 9 16H27C28.6569 16 30 14.6569 30 13C30 11.3431 28.6569 10 27 10H9ZM8 13C8 12.4477 8.44772 12 9 12H27C27.5523 12 28 12.4477 28 13C28 13.5523 27.5523 14 27 14H9C8.44772 14 8 13.5523 8 13Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M27 24C28.6569 24 30 25.3431 30 27C30 28.6569 28.6569 30 27 30H9C7.34315 30 6 28.6569 6 27C6 25.3431 7.34315 24 9 24H27ZM9 26C8.44772 26 8 26.4477 8 27C8 27.5523 8.44772 28 9 28H27C27.5523 28 28 27.5523 28 27C28 26.4477 27.5523 26 27 26H9Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M17 34H9C7.34315 34 6 35.3431 6 37C6 38.6569 7.34315 40 9 40H17C18.6569 40 20 38.6569 20 37C20 35.3431 18.6569 34 17 34ZM8 37C8 36.4477 8.44772 36 9 36H17C17.5523 36 18 36.4477 18 37C18 37.5523 17.5523 38 17 38H9C8.44772 38 8 37.5523 8 37Z\" fill=\"currentColor\"/>\n<path d=\"M6.5 7C6.5 6.44772 6.94772 6 7.5 6H17C17.5523 6 18 6.44772 18 7C18 7.55228 17.5523 8 17 8H7.5C6.94772 8 6.5 7.55228 6.5 7Z\" fill=\"currentColor\"/>\n<path d=\"M7.5 20C6.94772 20 6.5 20.4477 6.5 21C6.5 21.5523 6.94772 22 7.5 22H17C17.5523 22 18 21.5523 18 21C18 20.4477 17.5523 20 17 20H7.5Z\" fill=\"currentColor\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0 4C0 1.79086 1.79086 0 4 0H32C34.2091 0 36 1.79086 36 4V44C36 46.2091 34.2091 48 32 48H4C1.79086 48 0 46.2091 0 44V4ZM4 2H32C33.1046 2 34 2.89543 34 4V44C34 45.1046 33.1046 46 32 46H4C2.89543 46 2 45.1046 2 44V4C2 2.89543 2.89543 2 4 2Z\" fill=\"currentColor\"/>\n</svg>", |
| 21 |
"attributes": { |
| 22 |
"form_id": { |
| 23 |
"type": "number", |
| 24 |
"default": 0 |
| 25 |
}, |
| 26 |
"form_id_custom": { |
| 27 |
"type": "string", |
| 28 |
"default": "" |
| 29 |
}, |
| 30 |
"submit_type": { |
| 31 |
"type": "string", |
| 32 |
"default": "" |
| 33 |
}, |
| 34 |
"required_mark": { |
| 35 |
"type": "string", |
| 36 |
"default": "" |
| 37 |
}, |
| 38 |
"fields_layout": { |
| 39 |
"type": "string", |
| 40 |
"default": "" |
| 41 |
}, |
| 42 |
"enable_progress": { |
| 43 |
"type": "boolean", |
| 44 |
"default": false |
| 45 |
}, |
| 46 |
"fields_label_tag": { |
| 47 |
"type": "string", |
| 48 |
"default": "" |
| 49 |
}, |
| 50 |
"markup_type": { |
| 51 |
"type": "string", |
| 52 |
"default": "div" |
| 53 |
}, |
| 54 |
"clear": { |
| 55 |
"type": "boolean", |
| 56 |
"default": false |
| 57 |
}, |
| 58 |
"anchor": { |
| 59 |
"type": "string", |
| 60 |
"default": "" |
| 61 |
}, |
| 62 |
"isPreview": { |
| 63 |
"type": "boolean", |
| 64 |
"default": false |
| 65 |
} |
| 66 |
} |
| 67 |
} |