PluginProbe
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management / 1.3.0
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management v1.3.0
1.6.1 1.6.0 1.5.1 1.5.0 1.4.0 1.3.0 trunk 0.0.1 1.0.0 1.1.0 1.1.1 1.1.2 1.2.0
suredonation / inc / blocks / donation-form / block.json

block.json in SureDonation – Donation Forms, Fundraising Campaigns & Donor Management 1.3.0, at inc/blocks/donation-form/block.json

68 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "suredonation/donation-form",
5 "version": "1.0.0",
6 "title": "Donation Form",
7 "category": "suredonation-campaign",
8 "description": "Display a donation form linked to a campaign",
9 "supports": {
10 "html": false,
11 "align": ["wide", "full"]
12 },
13 "attributes": {
14 "campaignId": {
15 "type": "number",
16 "default": 0
17 },
18 "formId": {
19 "type": "number",
20 "default": 0
21 },
22 "formTitle": {
23 "type": "string",
24 "default": "Support Us"
25 },
26 "showProgress": {
27 "type": "boolean",
28 "default": true
29 },
30 "showGoal": {
31 "type": "boolean",
32 "default": true
33 },
34 "showAnonymous": {
35 "type": "boolean",
36 "default": true
37 },
38 "showFeesCoverage": {
39 "type": "boolean",
40 "default": true
41 },
42 "amountType": {
43 "type": "string",
44 "default": "preset"
45 },
46 "presetAmounts": {
47 "type": "array",
48 "default": [25, 50, 100, 250, 500]
49 },
50 "allowCustomAmount": {
51 "type": "boolean",
52 "default": true
53 },
54 "minimumAmount": {
55 "type": "number",
56 "default": 1
57 },
58 "defaultAmount": {
59 "type": "number",
60 "default": 50
61 }
62 },
63 "textdomain": "suredonation",
64 "editorScript": "suredonation-donation-form-editor",
65 "editorStyle": "suredonation-donation-form-editor",
66 "style": "suredonation-donation-form"
67 }
68