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

72 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": "widgets",
8 "icon": "heart",
9 "description": "Display a donation form, optionally linked to a campaign",
10 "supports": {
11 "html": false,
12 "align": ["wide", "full"]
13 },
14 "attributes": {
15 "campaignId": {
16 "type": "number",
17 "default": 0
18 },
19 "formId": {
20 "type": "number",
21 "default": 0
22 },
23 "formTitle": {
24 "type": "string",
25 "default": "Support Us"
26 },
27 "showProgress": {
28 "type": "boolean",
29 "default": true
30 },
31 "showGoal": {
32 "type": "boolean",
33 "default": true
34 },
35 "showAnonymous": {
36 "type": "boolean",
37 "default": true
38 },
39 "showFeesCoverage": {
40 "type": "boolean",
41 "default": true
42 },
43 "primaryColor": {
44 "type": "string",
45 "default": "#10b981"
46 },
47 "amountType": {
48 "type": "string",
49 "default": "preset"
50 },
51 "presetAmounts": {
52 "type": "array",
53 "default": [25, 50, 100, 250, 500]
54 },
55 "allowCustomAmount": {
56 "type": "boolean",
57 "default": true
58 },
59 "minimumAmount": {
60 "type": "number",
61 "default": 1
62 },
63 "defaultAmount": {
64 "type": "number",
65 "default": 50
66 }
67 },
68 "textdomain": "suredonation",
69 "editorScript": "suredonation-blocks",
70 "style": "suredonation-donation-form"
71 }
72