2021-11-08 21:17:17 -05:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 10:24:19 -04:00
|
|
|
"apiVersion": 3,
|
2021-11-08 21:17:17 -05:00
|
|
|
"name": "core/navigation-link",
|
|
|
|
"title": "Custom Link",
|
|
|
|
"category": "design",
|
2022-04-12 11:12:47 -04:00
|
|
|
"parent": [ "core/navigation" ],
|
2024-02-09 13:22:22 -05:00
|
|
|
"allowedBlocks": [
|
|
|
|
"core/navigation-link",
|
|
|
|
"core/navigation-submenu",
|
|
|
|
"core/page-list"
|
|
|
|
],
|
2021-11-08 21:17:17 -05:00
|
|
|
"description": "Add a page, link, or another item 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"
|
|
|
|
},
|
|
|
|
"isTopLevelLink": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"usesContext": [
|
|
|
|
"textColor",
|
|
|
|
"customTextColor",
|
|
|
|
"backgroundColor",
|
|
|
|
"customBackgroundColor",
|
|
|
|
"overlayTextColor",
|
|
|
|
"customOverlayTextColor",
|
|
|
|
"overlayBackgroundColor",
|
|
|
|
"customOverlayBackgroundColor",
|
|
|
|
"fontSize",
|
|
|
|
"customFontSize",
|
|
|
|
"showSubmenuIcon",
|
2022-04-12 11:12:47 -04:00
|
|
|
"maxNestingLevel",
|
2021-11-08 21:17:17 -05:00
|
|
|
"style"
|
|
|
|
],
|
|
|
|
"supports": {
|
|
|
|
"reusable": false,
|
|
|
|
"html": false,
|
2022-09-20 11:43:29 -04:00
|
|
|
"__experimentalSlashInserter": true,
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
|
|
|
},
|
2024-02-09 13:22:22 -05:00
|
|
|
"renaming": false,
|
|
|
|
"interactivity": {
|
|
|
|
"clientNavigation": true
|
|
|
|
}
|
2021-11-08 21:17:17 -05:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-navigation-link-editor",
|
|
|
|
"style": "wp-block-navigation-link"
|
|
|
|
}
|