-
Notifications
You must be signed in to change notification settings - Fork 2
/
block.json
101 lines (101 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"version": "20241018",
"name": "x3p0/breadcrumbs",
"title": "Breadcrumbs",
"category": "widgets",
"description": "Add a breadcrumb trail back to the site homepage. Breadcrumb items appear as placeholders in the editor and will populate with the correct data on the site front end.",
"keywords": [ "breadcrumb", "trail", "navigation" ],
"attributes" : {
"justifyContent": {
"type": "string",
"default": ""
},
"showHomeLabel": {
"type": "boolean",
"default": true
},
"showOnHomepage": {
"type": "boolean",
"default": false
},
"showTrailStart": {
"type": "boolean",
"default": true
},
"showTrailEnd": {
"type": "boolean",
"default": true
},
"homePrefix": {
"type": "string",
"default": ""
},
"homePrefixType": {
"type": "string",
"default": ""
},
"markup": {
"type": "string",
"default": "rdfa"
},
"separator": {
"type": "string",
"default": "chevron"
},
"separatorType": {
"type": "string",
"default": "mask"
}
},
"supports": {
"anchor": true,
"align": true,
"html": false,
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true,
"__experimentalDefaultControls": {
"width": true,
"color": true
}
},
"color": {
"link": true,
"gradients": true,
"__experimentalDefaultControls": {
"background": true,
"text": true,
"link": true
}
},
"spacing": {
"margin": true,
"padding": true,
"__experimentalDefaultControls": {
"padding": true
}
},
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontStyle": true,
"__experimentalFontWeight": true,
"__experimentalFontFamily": true,
"__experimentalLetterSpacing": true,
"__experimentalTextTransform": true,
"__experimentalDefaultControls": {
"fontSize": true
}
}
},
"textdomain": "x3p0-breadcrumbs",
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"render": "file:./render.php",
"example": {}
}