| 1 |
{ |
| 2 |
"$schema": "https://json.schemastore.org/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "givewp/campaign-form", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Campaign Form", |
| 7 |
"category": "give", |
| 8 |
"description": "The GiveWP Campaign Form block inserts an existing campaign form into the page.", |
| 9 |
"supports": { |
| 10 |
"align": ["wide", "full"] |
| 11 |
}, |
| 12 |
"attributes": { |
| 13 |
"campaignId": { |
| 14 |
"type": "number" |
| 15 |
}, |
| 16 |
"blockId": { |
| 17 |
"type": "string" |
| 18 |
}, |
| 19 |
"prevId": { |
| 20 |
"type": "number" |
| 21 |
}, |
| 22 |
"id": { |
| 23 |
"type": "number" |
| 24 |
}, |
| 25 |
"displayStyle": { |
| 26 |
"type": "string" |
| 27 |
}, |
| 28 |
"continueButtonTitle": { |
| 29 |
"type": "string" |
| 30 |
}, |
| 31 |
"showTitle": { |
| 32 |
"type": "boolean" |
| 33 |
}, |
| 34 |
"contentDisplay": { |
| 35 |
"type": "string" |
| 36 |
}, |
| 37 |
"showGoal": { |
| 38 |
"type": "boolean" |
| 39 |
}, |
| 40 |
"showContent": { |
| 41 |
"type": "boolean" |
| 42 |
}, |
| 43 |
"useDefaultForm": { |
| 44 |
"type": "boolean", |
| 45 |
"default": true |
| 46 |
} |
| 47 |
}, |
| 48 |
"example": {}, |
| 49 |
"textdomain": "give", |
| 50 |
"render": "file:./render.php", |
| 51 |
"viewScript": "file:../../../../build/campaignFormBlockApp.js", |
| 52 |
"editorScript": "file:../../../../build/assets/dist/js/parent-page.js", |
| 53 |
"viewStyle": "file:../../../../build/campaignFormBlockApp.css", |
| 54 |
"editorStyle": "file:../../../../build/assets/dist/css/embed-form.css", |
| 55 |
"style": "file:../../../../build/campaignFormBlock.css" |
| 56 |
} |
| 57 |
|