PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.0
GiveWP – Donation Plugin and Fundraising Platform v4.16.0
4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 All 253 releases
give / build / Campaigns / Blocks / CampaignComments / block.json
block.json
95 lines 2.2 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": "givewp/campaign-comments-block",
5 "version": "1.0.0",
6 "title": "Campaign Comments",
7 "category": "give",
8 "description": "Display all the donor comments associated with a campaign.",
9 "attributes": {
10 "blockId": {
11 "type": "string"
12 },
13 "campaignId": {
14 "type": "number"
15 },
16 "title": {
17 "type": "string"
18 },
19 "showAnonymous": {
20 "type": "boolean",
21 "default": true
22 },
23 "showAvatar": {
24 "type": "boolean",
25 "default": true
26 },
27 "showDate": {
28 "type": "boolean",
29 "default": true
30 },
31 "showName": {
32 "type": "boolean",
33 "default": true
34 },
35 "commentLength": {
36 "type": "number",
37 "default": 200
38 },
39 "readMoreText": {
40 "type": "string"
41 },
42 "commentsPerPage": {
43 "type": "number",
44 "default": 3
45 }
46 },
47 "supports": {
48 "anchor": true,
49 "className": true,
50 "splitting": true,
51 "__experimentalBorder": {
52 "color": true,
53 "radius": true,
54 "style": true,
55 "width": true
56 },
57 "color": {
58 "gradients": true,
59 "link": true,
60 "__experimentalDefaultControls": {
61 "background": true,
62 "text": true
63 }
64 },
65 "spacing": {
66 "margin": true,
67 "padding": true,
68 "__experimentalDefaultControls": {
69 "margin": false,
70 "padding": false
71 }
72 },
73 "typography": {
74 "fontSize": true,
75 "lineHeight": true,
76 "__experimentalFontFamily": true,
77 "__experimentalFontStyle": true,
78 "__experimentalFontWeight": true,
79 "__experimentalLetterSpacing": true,
80 "__experimentalTextTransform": true,
81 "__experimentalTextDecoration": true,
82 "__experimentalWritingMode": true,
83 "__experimentalDefaultControls": {
84 "fontSize": true
85 }
86 }
87 },
88 "example": {},
89 "textdomain": "give",
90 "render": "file:./render.php",
91 "viewScript": "file:../../../../build/campaignCommentsBlockApp.js",
92 "editorScript": "file:../../../../build/campaignBlocks.js",
93 "style": "file:../../../../build/campaignCommentsBlockApp.css",
94 "editorStyle": "file:../../../../build/assets/dist/css/design-system/foundation.css"
95 }