author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:52:52 +0200 | |
changeset 22 | 8c2e4d02f4ef |
parent 21 | 48c4eec2b7e6 |
permissions | -rw-r--r-- |
19 | 1 |
{ |
2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
3 |
"apiVersion": 3, |
19 | 4 |
"name": "core/navigation-submenu", |
5 |
"title": "Submenu", |
|
6 |
"category": "design", |
|
7 |
"parent": [ "core/navigation" ], |
|
8 |
"description": "Add a submenu to your navigation.", |
|
9 |
"textdomain": "default", |
|
10 |
"attributes": { |
|
11 |
"label": { |
|
12 |
"type": "string" |
|
13 |
}, |
|
14 |
"type": { |
|
15 |
"type": "string" |
|
16 |
}, |
|
17 |
"description": { |
|
18 |
"type": "string" |
|
19 |
}, |
|
20 |
"rel": { |
|
21 |
"type": "string" |
|
22 |
}, |
|
23 |
"id": { |
|
24 |
"type": "number" |
|
25 |
}, |
|
26 |
"opensInNewTab": { |
|
27 |
"type": "boolean", |
|
28 |
"default": false |
|
29 |
}, |
|
30 |
"url": { |
|
31 |
"type": "string" |
|
32 |
}, |
|
33 |
"title": { |
|
34 |
"type": "string" |
|
35 |
}, |
|
36 |
"kind": { |
|
37 |
"type": "string" |
|
38 |
}, |
|
39 |
"isTopLevelItem": { |
|
40 |
"type": "boolean" |
|
41 |
} |
|
42 |
}, |
|
43 |
"usesContext": [ |
|
44 |
"textColor", |
|
45 |
"customTextColor", |
|
46 |
"backgroundColor", |
|
47 |
"customBackgroundColor", |
|
48 |
"overlayTextColor", |
|
49 |
"customOverlayTextColor", |
|
50 |
"overlayBackgroundColor", |
|
51 |
"customOverlayBackgroundColor", |
|
52 |
"fontSize", |
|
53 |
"customFontSize", |
|
54 |
"showSubmenuIcon", |
|
55 |
"maxNestingLevel", |
|
56 |
"openSubmenusOnClick", |
|
57 |
"style" |
|
58 |
], |
|
59 |
"supports": { |
|
60 |
"reusable": false, |
|
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
61 |
"html": false, |
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
62 |
"typography": { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
63 |
"fontSize": true, |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
64 |
"lineHeight": true, |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
65 |
"__experimentalFontFamily": true, |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
66 |
"__experimentalFontWeight": true, |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
67 |
"__experimentalFontStyle": true, |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
68 |
"__experimentalTextTransform": true, |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
69 |
"__experimentalTextDecoration": true, |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
70 |
"__experimentalLetterSpacing": true, |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
71 |
"__experimentalDefaultControls": { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
72 |
"fontSize": true |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
73 |
} |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
21
diff
changeset
|
74 |
}, |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
75 |
"interactivity": { |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
76 |
"clientNavigation": true |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
77 |
} |
19 | 78 |
}, |
79 |
"editorStyle": "wp-block-navigation-submenu-editor", |
|
80 |
"style": "wp-block-navigation-submenu" |
|
81 |
} |