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
| {
| "$schema": "https://schemas.wp.org/trunk/block.json",
| "apiVersion": 3,
| "name": "jvb/forms",
| "title": "Contact Forms",
| "category": "jvb",
| "icon": "align-center",
| "description": "Our custom contact forms",
| "keywords": [ "form", "forms", "contact" ],
| "version": "1.0.0",
| "textdomain": "jvb",
| "attributes": {
| "formType": {
| "type": "string",
| "default": ""
| },
| "showLabels": {
| "type": "boolean",
| "default": true
| },
| "customEmailTo": {
| "type": "string",
| "default": ""
| }
| },
| "supports": {
| "html": false,
| "align": ["wide", "full"]
| },
| "selectors": {
| "root": ".jvb-form-block"
| },
| "styles": [
| { "name": "default", "label": "Default", "isDefault": true }
| ],
| "example": {
| "attributes": {
| "formType": "contact",
| "showLabels": true
| }
| },
| "render": "file:./render.php",
| "editorScript": "file:./index.js",
| "editorStyle": "file:./editor.scss",
| "style": "file:./style-index.css",
| "viewScript": "file:./view.js"
| }
|
|