mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 23:55:12 +01:00
00401e16b3
Updates the wordpress npm packages and their dependencies to the latest versions, as well as auto-updates to relevant core PHP files. Props youknowriad, joemcgill, spacedmonkey, ramonopoly, peterwilsoncc, bernhard-reiter, tyxla, dmsnell. Fixes #58623. Built from https://develop.svn.wordpress.org/trunk@56065 git-svn-id: http://core.svn.wordpress.org/trunk@55577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
66 lines
1.2 KiB
JSON
66 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "core/navigation-submenu",
|
|
"title": "Submenu",
|
|
"category": "design",
|
|
"parent": [ "core/navigation" ],
|
|
"description": "Add a submenu to your navigation.",
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"label": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"rel": {
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"type": "number"
|
|
},
|
|
"opensInNewTab": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"type": "string"
|
|
},
|
|
"isTopLevelItem": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"usesContext": [
|
|
"textColor",
|
|
"customTextColor",
|
|
"backgroundColor",
|
|
"customBackgroundColor",
|
|
"overlayTextColor",
|
|
"customOverlayTextColor",
|
|
"overlayBackgroundColor",
|
|
"customOverlayBackgroundColor",
|
|
"fontSize",
|
|
"customFontSize",
|
|
"showSubmenuIcon",
|
|
"maxNestingLevel",
|
|
"openSubmenusOnClick",
|
|
"style"
|
|
],
|
|
"supports": {
|
|
"reusable": false,
|
|
"html": false
|
|
},
|
|
"editorStyle": "wp-block-navigation-submenu-editor",
|
|
"style": "wp-block-navigation-submenu"
|
|
}
|