This repository has been archived by the owner on Jan 12, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
block.json
96 lines (96 loc) · 1.9 KB
/
block.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"attributes": {
"action": {
"type": "string"
},
"customThankyou": {
"default": "",
"type": "string"
},
"customThankyouMessage": {
"type": "string"
},
"customThankyouRedirect": {
"type": "string"
},
"formId": {
"type": "string"
},
"honeypot": {
"default": {
"a11yMessage": "",
"a11yNoLabel": false,
"autoCompleteOff": false,
"enable": false,
"moveInlineCSS": false,
"placeholder": "",
"timeCheck": 10
},
"type": "object"
},
"isAjax": {
"default": false,
"type": "boolean"
},
"isCaptcha": {
"default": false,
"type": "boolean"
},
"isNewTab": {
"default": false,
"type": "boolean"
},
"method": {
"default": "post",
"type": "string"
},
"noLabel": {
"default": false,
"type": "boolean"
},
"subject": {
"type": "string"
},
"to": {
"type": "string"
}
},
"category": "widgets",
"description": "Create a form as easily as editing a block!",
"editorScript": "file:./build/index.js",
"keywords": [ "contact form", "custom form", "email", "feedback", "form", "mail integration", "submit", "survey" ],
"name": "mypreview/flash-form",
"providesContext": {
"borderColor": "borderColor",
"formId": "formId",
"noLabel": "noLabel",
"style": "style"
},
"script": "file:./build/script.js",
"style": "file:./build/style-index.css",
"supports": {
"__experimentalBorder": {
"__experimentalSkipSerialization": true,
"color": true,
"radius": true,
"style": true,
"width": true
},
"anchor": true,
"html": false,
"lock": true,
"reusable": true,
"spacing": {
"__experimentalSkipSerialization": [ "blockGap" ],
"blockGap": true,
"margin": true,
"padding": true,
"units": [ "px", "em", "rem" ]
}
},
"textdomain": "flash-form",
"title": "Flash Form",
"usesContext": [ "postId", "postType" ]
}