Skip to content

Commit

Permalink
Disable renaming support for Nav Link block
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Nov 27, 2023
1 parent c86154f commit 370b31c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ Add a page, link, or another item to your navigation. ([Source](https://github.c
- **Name:** core/navigation-link
- **Category:** design
- **Parent:** core/navigation
- **Supports:** typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Supports:** typography (fontSize, lineHeight), ~~html~~, ~~renaming~~, ~~reusable~~
- **Attributes:** description, id, isTopLevelLink, kind, label, opensInNewTab, rel, title, type, url

## Submenu
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/navigation-link/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"__experimentalDefaultControls": {
"fontSize": true
}
}
},
"renaming": false
},
"editorStyle": "wp-block-navigation-link-editor",
"style": "wp-block-navigation-link"
Expand Down

0 comments on commit 370b31c

Please sign in to comment.