Skip to content

CSS validation error in the style editor #55271

Closed

Description

@simom

Description

When editing the custom style for a specific block the CSS editor always display the validation error icon in the bottom right corner.

Step-by-step reproduction instructions

  1. Customize the appearance of specific blocks for the whole site.
  2. Select the "Heading" block
  3. In the advanced panel add a rule like: "color: red;", with or without the ;

Screenshots, screen recording, code snippet

Screenshot 2023-10-11 alle 17 33 57

Environment info

  • WordPress 6.4-beta3
  • Gutenberg 16.7.1

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

Activity

  1. added
    [Type] BugAn existing feature does not function as intended
    CSS StylingRelated to editor and front end styles, CSS-specific issues.
    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json
    on Oct 11, 2023
  2. jordesign commented on Oct 11, 2023

    @jordesign
    Contributor

    Confirming I can see this in place in testing. with WP 6.3.1

  3. skorasaurus commented on Sep 12, 2026

    @skorasaurus
    Member

    I am not able to reproduce this; there's no validation error for me.

    Please reopen if you're still experiencing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CSS StylingRelated to editor and front end styles, CSS-specific issues.Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[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