Skip to content

Navigation links incorrectly underlined in editor #42766

@Andrew-Starr

Description

@Andrew-Starr

Description

In the editor, navigation links are always underlined, even when the text decoration is set to not be underlined.

In the front end all is OK. The issue is only present in the editor with Gutenberg active.
With Gutenberg inactive, all is OK.

Step-by-step reproduction instructions

  1. add a Navigation block with some menu items, or edit a post/page/template/part already containing a Navigation block.
  2. Make sure the Decoration option is not set to Underline.
  3. Notice the menu item links are always underlined.
  4. Switch to front end view and notice the links are correctly not underlined.

Screenshots, screen recording, code snippet

No response

Environment info

6.0.1 with Gutenberg 13.7.3

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

No one assigned

    Labels

    [Block] NavigationAffects the Navigation Block[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.[Type] BugAn existing feature does not function as intended[Type] WP Core TicketRequires an upstream change from WordPress. Core Trac ticket should be linked.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions