PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 2.10.1
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v2.10.1
2.12.8 2.12.7 2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 All 98 releases
sureforms / inc / blocks / sform / block.json

block.json in SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz 2.10.1, at inc/blocks/sform/block.json

157 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://json.schemastore.org/block.json",
3 "apiVersion": 3,
4 "name": "srfm/form",
5 "title": "Form",
6 "description": "Collect and Manage data effortlessly with customizable SureForms.",
7 "category": "sureforms",
8 "keywords": [ "form", "sureforms", "form" ],
9 "textdomain": "sureforms",
10 "supports": {
11 "reusable": false,
12 "html": false
13 },
14 "attributes": {
15 "blockId": {
16 "type": "string"
17 },
18 "isPreview": {
19 "type": "boolean",
20 "default": false
21 },
22 "showTitle": {
23 "type": "boolean",
24 "default": false
25 },
26 "id": {
27 "type": "number"
28 },
29 "title": {
30 "type": "string"
31 },
32 "choices": {
33 "type": "array"
34 },
35 "template": {
36 "type": "string"
37 },
38 "choice_type": {
39 "type": "string",
40 "enum": [ "all", "checkbox", "radio" ],
41 "default": "all"
42 },
43 "formTheme": {
44 "type": "string",
45 "default": "inherit"
46 },
47 "primaryColor": {
48 "type": "string",
49 "default": "#111C44"
50 },
51 "textColor": {
52 "type": "string",
53 "default": "#1E1E1E"
54 },
55 "textOnPrimaryColor": {
56 "type": "string",
57 "default": "#FFFFFF"
58 },
59 "bgType": {
60 "type": "string",
61 "enum": [ "color", "gradient", "image" ],
62 "default": "color"
63 },
64 "bgColor": {
65 "type": "string",
66 "default": "#FFFFFF"
67 },
68 "bgGradient": {
69 "type": "string",
70 "default": "linear-gradient(90deg, #FFC9B2 0%, #C7CBFF 100%)"
71 },
72 "bgImage": {
73 "type": "string",
74 "default": ""
75 },
76 "bgImageId": {
77 "type": "number"
78 },
79 "bgImagePosition": {
80 "type": "object",
81 "default": { "x": 0.5, "y": 0.5 }
82 },
83 "bgImageSize": {
84 "type": "string",
85 "default": "cover"
86 },
87 "bgImageRepeat": {
88 "type": "string",
89 "default": "no-repeat"
90 },
91 "bgImageAttachment": {
92 "type": "string",
93 "default": "scroll"
94 },
95 "formPaddingTop": {
96 "type": "number",
97 "default": 0
98 },
99 "formPaddingRight": {
100 "type": "number",
101 "default": 0
102 },
103 "formPaddingBottom": {
104 "type": "number",
105 "default": 0
106 },
107 "formPaddingLeft": {
108 "type": "number",
109 "default": 0
110 },
111 "formPaddingUnit": {
112 "type": "string",
113 "enum": [ "px", "em", "rem", "%", "vw", "vh" ],
114 "default": "px"
115 },
116 "formPaddingLink": {
117 "type": "boolean",
118 "default": true
119 },
120 "formBorderRadiusTop": {
121 "type": "number",
122 "default": 0
123 },
124 "formBorderRadiusRight": {
125 "type": "number",
126 "default": 0
127 },
128 "formBorderRadiusBottom": {
129 "type": "number",
130 "default": 0
131 },
132 "formBorderRadiusLeft": {
133 "type": "number",
134 "default": 0
135 },
136 "formBorderRadiusUnit": {
137 "type": "string",
138 "enum": [ "px", "em", "rem", "%", "vw", "vh" ],
139 "default": "px"
140 },
141 "formBorderRadiusLink": {
142 "type": "boolean",
143 "default": true
144 },
145 "fieldSpacing": {
146 "type": "string",
147 "enum": [ "small", "medium", "large" ],
148 "default": "medium"
149 },
150 "buttonAlignment": {
151 "type": "string",
152 "enum": [ "left", "center", "right", "justify" ],
153 "default": "left"
154 }
155 }
156 }
157