-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblock.json
81 lines (81 loc) · 2.1 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
{
"$schema": "https://json.schemastore.org/block.json",
"apiVersion": 2,
"name": "wpzoom-video-popup-block/block",
"title": "WPZOOM Video Popup Block",
"textdomain": "wpzoom-video-popup-block",
"icon": "video-alt3",
"category": "wpzoom-blocks",
"keywords": [ "video", "popup", "block", "wpzoom", "lightbox", "youtube", "vimeo", "interactive", "click", "customization" ],
"attributes": {
"source": {
"type": "string",
"default": "service"
},
"url": {
"type": "string",
"default": ""
},
"libraryId": {
"type": "integer",
"default": -1
},
"text": {
"type": "string",
"default": "Play"
},
"position": {
"type": "string",
"default": ""
},
"icon": {
"type": "integer",
"default": 1
},
"iconColor": {
"type": "string",
"default": ""
},
"iconSize": {
"type": "string",
"default": ""
},
"popupWidth": {
"type": "string",
"default": "900px"
}
},
"supports": {
"html": false,
"align": true,
"color": {
"background": true,
"gradients": false,
"text": true
},
"spacing": {
"padding": true,
"margin": true
},
"__experimentalBorder": {
"radius": true,
"width": true,
"color": true,
"style": true
},
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontStyle": true,
"__experimentalFontWeight": true,
"__experimentalLetterSpacing": true,
"__experimentalTextTransform": true
}
},
"example": {},
"script": "file:./dist/scripts/frontend.js",
"editorScript": "file:./dist/scripts/editor.js",
"style": "file:./dist/styles/frontend.css",
"editorStyle": "file:./dist/styles/editor.css"
}