Diff: STRATO-apps/wordpress_03/app/wp-includes/blocks/navigation/block.json
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
{
2
+
"$schema": "https://schemas.wp.org/trunk/block.json",
3
+
"apiVersion": 3,
4
+
"name": "core/navigation",
5
+
"title": "Navigation",
6
+
"category": "theme",
7
+
"allowedBlocks": [
8
+
"core/navigation-link",
9
+
"core/search",
10
+
"core/social-links",
11
+
"core/page-list",
12
+
"core/spacer",
13
+
"core/home-link",
14
+
"core/site-title",
15
+
"core/site-logo",
16
+
"core/navigation-submenu",
17
+
"core/loginout",
18
+
"core/buttons"
19
+
],
20
+
"description": "A collection of blocks that allow visitors to get around your site.",
21
+
"keywords": [ "menu", "navigation", "links" ],
22
+
"textdomain": "default",
23
+
"attributes": {
24
+
"ref": {
25
+
"type": "number"
26
+
},
27
+
"textColor": {
28
+
"type": "string"
29
+
},
30
+
"customTextColor": {
31
+
"type": "string"
32
+
},
33
+
"rgbTextColor": {
34
+
"type": "string"
35
+
},
36
+
"backgroundColor": {
37
+
"type": "string"
38
+
},
39
+
"customBackgroundColor": {
40
+
"type": "string"
41
+
},
42
+
"rgbBackgroundColor": {
43
+
"type": "string"
44
+
},
45
+
"showSubmenuIcon": {
46
+
"type": "boolean",
47
+
"default": true
48
+
},
49
+
"openSubmenusOnClick": {
50
+
"type": "boolean",
51
+
"default": false
52
+
},
53
+
"overlayMenu": {
54
+
"type": "string",
55
+
"default": "mobile"
56
+
},
57
+
"icon": {
58
+
"type": "string",
59
+
"default": "handle"
60
+
},
61
+
"hasIcon": {
62
+
"type": "boolean",
63
+
"default": true
64
+
},
65
+
"__unstableLocation": {
66
+
"type": "string"
67
+
},
68
+
"overlayBackgroundColor": {
69
+
"type": "string"
70
+
},
71
+
"customOverlayBackgroundColor": {
72
+
"type": "string"
73
+
},
74
+
"overlayTextColor": {
75
+
"type": "string"
76
+
},
77
+
"customOverlayTextColor": {
78
+
"type": "string"
79
+
},
80
+
"maxNestingLevel": {
81
+
"type": "number",
82
+
"default": 5
83
+
},
84
+
"templateLock": {
85
+
"type": [ "string", "boolean" ],
86
+
"enum": [ "all", "insert", "contentOnly", false ]
87
+
}
88
+
},
89
+
"providesContext": {
90
+
"textColor": "textColor",
91
+
"customTextColor": "customTextColor",
92
+
"backgroundColor": "backgroundColor",
93
+
"customBackgroundColor": "customBackgroundColor",
94
+
"overlayTextColor": "overlayTextColor",
95
+
"customOverlayTextColor": "customOverlayTextColor",
96
+
"overlayBackgroundColor": "overlayBackgroundColor",
97
+
"customOverlayBackgroundColor": "customOverlayBackgroundColor",
98
+
"fontSize": "fontSize",
99
+
"customFontSize": "customFontSize",
100
+
"showSubmenuIcon": "showSubmenuIcon",
101
+
"openSubmenusOnClick": "openSubmenusOnClick",
102
+
"style": "style",
103
+
"maxNestingLevel": "maxNestingLevel"
104
+
},
105
+
"supports": {
106
+
"align": [ "wide", "full" ],
107
+
"ariaLabel": true,
108
+
"html": false,
109
+
"inserter": true,
110
+
"typography": {
111
+
"fontSize": true,
112
+
"lineHeight": true,
113
+
"__experimentalFontStyle": true,
114
+
"__experimentalFontWeight": true,
115
+
"__experimentalTextTransform": true,
116
+
"__experimentalFontFamily": true,
117
+
"__experimentalLetterSpacing": true,
118
+
"__experimentalTextDecoration": true,
119
+
"__experimentalSkipSerialization": [ "textDecoration" ],
120
+
"__experimentalDefaultControls": {
121
+
"fontSize": true
122
+
}
123
+
},
124
+
"spacing": {
125
+
"blockGap": true,
126
+
"units": [ "px", "em", "rem", "vh", "vw" ],
127
+
"__experimentalDefaultControls": {
128
+
"blockGap": true
129
+
}
130
+
},
131
+
"layout": {
132
+
"allowSwitching": false,
133
+
"allowInheriting": false,
134
+
"allowVerticalAlignment": false,
135
+
"allowSizingOnChildren": true,
136
+
"default": {
137
+
"type": "flex"
138
+
}
139
+
},
140
+
"interactivity": true,
141
+
"renaming": false,
142
+
"contentRole": true
143
+
},
144
+
"editorStyle": "wp-block-navigation-editor",
145
+
"style": "wp-block-navigation"
146
+
}
147
+