PluginProbe
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management / 1.6.1
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management v1.6.1
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.6.1, at inc/blocks/donation-form/block.json

77 lines 1.4 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 "example": {
14 "attributes": {
15 "preview": true
16 }
17 },
18 "attributes": {
19 "preview": {
20 "type": "boolean",
21 "default": false
22 },
23 "campaignId": {
24 "type": "number",
25 "default": 0
26 },
27 "formId": {
28 "type": "number",
29 "default": 0
30 },
31 "formTitle": {
32 "type": "string",
33 "default": "Support Us"
34 },
35 "showProgress": {
36 "type": "boolean",
37 "default": true
38 },
39 "showGoal": {
40 "type": "boolean",
41 "default": true
42 },
43 "showAnonymous": {
44 "type": "boolean",
45 "default": true
46 },
47 "showFeesCoverage": {
48 "type": "boolean",
49 "default": true
50 },
51 "amountType": {
52 "type": "string",
53 "default": "preset"
54 },
55 "presetAmounts": {
56 "type": "array",
57 "default": [25, 50, 100, 250, 500]
58 },
59 "allowCustomAmount": {
60 "type": "boolean",
61 "default": true
62 },
63 "minimumAmount": {
64 "type": "number",
65 "default": 1
66 },
67 "defaultAmount": {
68 "type": "number",
69 "default": 50
70 }
71 },
72 "textdomain": "suredonation",
73 "editorScript": "suredonation-donation-form-editor",
74 "editorStyle": "suredonation-donation-form-editor",
75 "style": "suredonation-donation-form"
76 }
77