| 1 |
{ |
| 2 |
"$schema": "https://json.schemastore.org/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "givewp/campaign-donate-button", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Donate Button", |
| 7 |
"category": "give", |
| 8 |
"description": "The GiveWP Donate Button inserts an donate button into the page.", |
| 9 |
"supports": { |
| 10 |
"align": ["wide", "full"] |
| 11 |
}, |
| 12 |
"attributes": { |
| 13 |
"campaignId": { |
| 14 |
"type": "number" |
| 15 |
}, |
| 16 |
"useDefaultForm": { |
| 17 |
"type": "boolean", |
| 18 |
"default": true |
| 19 |
}, |
| 20 |
"selectedForm": { |
| 21 |
"type": "string" |
| 22 |
}, |
| 23 |
"buttonText": { |
| 24 |
"type": "string" |
| 25 |
} |
| 26 |
}, |
| 27 |
"example": {}, |
| 28 |
"textdomain": "give", |
| 29 |
"render": "file:./render.php", |
| 30 |
"style": "file:../../../../build/campaignDonateButtonBlockApp.css" |
| 31 |
} |
| 32 |
|