-
Notifications
You must be signed in to change notification settings - Fork 1
/
block.json
85 lines (85 loc) · 1.7 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
{
"apiVersion": 2,
"name": "tabor/share-on-twitter",
"title": "Share on Twitter",
"category": "text",
"description": "Add a click to tweet element for your readers to share this content.",
"keywords": [ "tweet", "click", "social", "tabor"],
"textdomain": "todo-block",
"attributes": {
"content": {
"type": "string",
"selector": "wp-block-tabor-share-on-twitter__content"
},
"cta": {
"type": "string",
"selector": "wp-block-tabor-share-on-twitter__cta",
"default": "Click to Tweet"
},
"permalink": {
"type": "string"
},
"icon": {
"type": "number",
"default": 1
},
"username": {
"type": "string"
},
"hashtags": {
"type": "array"
},
"textAlign": {
"type": "string"
},
"fontSize":{
"default": "large"
}
},
"supports": {
"html": false,
"color": {
"colors": true,
"__experimentalDefaultControls": {
"background": true,
"text": true
}
},
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontStyle": true,
"__experimentalFontWeight": true,
"__experimentalLetterSpacing": true,
"__experimentalTextTransform": true,
"__experimentalDefaultControls": {
"fontSize": true
}
},
"spacing": {
"padding": [
"horizontal",
"vertical"
],
"margin": [
"horizontal",
"vertical"
]
},
"__experimentalBorder": {
"color": true,
"radius": true,
"style": true,
"width": true,
"__experimentalDefaultControls": {
"color": false,
"radius": false,
"style": false,
"width": false
}
}
},
"editorScript": "file:./build/index.js",
"editorStyle": "file:./build/index.css",
"style": "file:./build/style-index.css"
}