| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "wpzoom-forms/submit-field", |
| 5 |
"title": "Submit", |
| 6 |
"category": "wpzoom-forms", |
| 7 |
"ancestor": [ "wpzoom-forms/form" ], |
| 8 |
"description": "A submit button input field.", |
| 9 |
"keywords": [ "wpzoom", "form", "input", "submit" ], |
| 10 |
"version": "1.1.0", |
| 11 |
"textdomain": "wpzoom-forms", |
| 12 |
"attributes": { |
| 13 |
"id": { |
| 14 |
"type": "string", |
| 15 |
"default": "" |
| 16 |
}, |
| 17 |
"name": { |
| 18 |
"type": "string", |
| 19 |
"source": "attribute", |
| 20 |
"attribute": "value", |
| 21 |
"selector": "input", |
| 22 |
"default": "Submit" |
| 23 |
} |
| 24 |
}, |
| 25 |
"supports": { |
| 26 |
"align": true, |
| 27 |
"html": false, |
| 28 |
"shadow": true, |
| 29 |
"color": { |
| 30 |
"background": true, |
| 31 |
"gradients": true, |
| 32 |
"text": true |
| 33 |
}, |
| 34 |
"typography": { |
| 35 |
"fontSize": true, |
| 36 |
"lineHeight": true, |
| 37 |
"__experimentalFontFamily": true, |
| 38 |
"__experimentalFontWeight": true, |
| 39 |
"__experimentalFontStyle": true, |
| 40 |
"__experimentalTextTransform": true, |
| 41 |
"__experimentalTextDecoration": true, |
| 42 |
"__experimentalLetterSpacing": true, |
| 43 |
"__experimentalDefaultControls": { |
| 44 |
"fontSize": true |
| 45 |
} |
| 46 |
}, |
| 47 |
"dimensions": { |
| 48 |
"minHeight": true |
| 49 |
}, |
| 50 |
"spacing": { |
| 51 |
"margin": true, |
| 52 |
"padding": true, |
| 53 |
"__experimentalDefaultControls": { |
| 54 |
"padding": true |
| 55 |
} |
| 56 |
}, |
| 57 |
"__experimentalBorder": { |
| 58 |
"color": true, |
| 59 |
"radius": true, |
| 60 |
"style": true, |
| 61 |
"width": true |
| 62 |
} |
| 63 |
}, |
| 64 |
"styles": [ |
| 65 |
{ "name": "modern", "label": "Modern", "isDefault": true }, |
| 66 |
{ "name": "classic", "label": "Classic" } |
| 67 |
], |
| 68 |
"editorScript": "file:./index.js", |
| 69 |
"editorStyle": "wpzoom-forms-css-backend-main", |
| 70 |
"script": "wpzoom-forms-js-frontend-formblock", |
| 71 |
"style": "wpzoom-forms-css-frontend-formblock" |
| 72 |
} |