block.json
49 lines
| 1 | { |
| 2 | "name": "surecart/submit", |
| 3 | "title": "Submit Button", |
| 4 | "description": "Display a submit button.", |
| 5 | "category": "surecart", |
| 6 | "keywords": ["submit", "button"], |
| 7 | "textdomain": "surecart", |
| 8 | "ancestor": ["surecart/form"], |
| 9 | "supports": { |
| 10 | "reusable": false, |
| 11 | "html": false, |
| 12 | "multiple": false |
| 13 | }, |
| 14 | "attributes": { |
| 15 | "text": { |
| 16 | "type": "string", |
| 17 | "default": "Purchase" |
| 18 | }, |
| 19 | "show_secure_notice": { |
| 20 | "type": "boolean", |
| 21 | "default": true |
| 22 | }, |
| 23 | "secure_notice_text": { |
| 24 | "type": "string", |
| 25 | "default": "This is a secure, encrypted payment." |
| 26 | }, |
| 27 | "type": { |
| 28 | "type": "string", |
| 29 | "default": "primary" |
| 30 | }, |
| 31 | "show_total": { |
| 32 | "type": "boolean", |
| 33 | "default": false |
| 34 | }, |
| 35 | "show_icon": { |
| 36 | "type": "boolean", |
| 37 | "default": true |
| 38 | }, |
| 39 | "full": { |
| 40 | "type": "boolean", |
| 41 | "default": false |
| 42 | }, |
| 43 | "size": { |
| 44 | "type": "string", |
| 45 | "default": "large" |
| 46 | } |
| 47 | } |
| 48 | } |
| 49 |