Skip to content

Disable block renaming support for Nav Link block - #56425

Merged
getdave merged 1 commit into
trunkfrom
fix/no-renaming-for-nav-item-blocks
Nov 27, 2023
Merged

getdave merged 1 commit into
trunkfrom
fix/no-renaming-for-nav-item-blocks

Conversation

@getdave

@getdave getdave commented Nov 22, 2023 •

Copy link
Copy Markdown
Contributor

What?

Disables the ability to rename the Navigation Link block.

Closes #56155

Closes #55643

Why?

It doesn't make sense in this context.

How?

Set renaming block support to `false.

Testing Instructions

  • Site Editor
  • Click Navigation
  • Open List View
  • Click block options menu for Navigation Link item block.
  • Check that Rename is not shown as an option.

Testing Instructions for Keyboard

Screenshots or screencast

Uploading Screen Shot 2023-11-22 at 09.56.30.png…

@getdave getdave self-assigned this Nov 22, 2023
@getdave getdave added [Type] Enhancement A suggestion for improvement. [Block] Navigation Link Affects the Navigation Link Block labels Nov 22, 2023
@getdave
getdave marked this pull request as ready for review November 22, 2023 09:57

@fabiankaegy fabiankaegy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree this makes sense 👍

@getdave
getdave force-pushed the fix/no-renaming-for-nav-item-blocks branch from 7302a39 to 370b31c Compare November 27, 2023 11:16
@getdave

getdave commented Nov 27, 2023

Copy link
Copy Markdown
Contributor Author

Trying a rebase here to see it clears the unusual test results (potentially anomalous).

@getdave
getdave enabled auto-merge (squash) November 27, 2023 11:17
@getdave
getdave merged commit e93c392 into trunk Nov 27, 2023
@getdave
getdave deleted the fix/no-renaming-for-nav-item-blocks branch November 27, 2023 12:03
@github-actions github-actions Bot added this to the Gutenberg 17.2 milestone Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Navigation Link Affects the Navigation Link Block [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove "Rename" option from Navigation Link block Block Renaming Followups for 6.5

2 participants