Skip to content

Navigation Link URL setting in Inspector Controls does not allow you to delete last character #60758

@fabiankaegy

Description

@fabiankaegy

Description

The URL setting in the naviation link blocks settings sidebar does not allow you to remove the final character. So if you for example have an anchor link in there you are not able to delete the # from the URL.

Step-by-step reproduction instructions

  1. Go to the site editor
  2. Select a navigation menu
  3. Add a new custom link menu item
  4. Open the settings sidebar
  5. Try to remove the URL via the text field in the sidebar

You should be able to remove everything including the last character

Screenshots, screen recording, code snippet

CleanShot.2024-04-15.at.21.48.07.mp4

Environment info

  • WordPress 6.5.2
  • TT4 Theme

Also:

  • WordPress 6.5.2
  • Gutenberg Trunk
  • TT4 Theme

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

[Block] NavigationAffects the Navigation Block[Block] Navigation LinkAffects the Navigation Link Block[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions