Skip to content

Cant add new colors in site editor #35635

Closed

Description

@franmastromarino

Description

Hello

There is a new issue in gutenberg 11.7.0

Is not possible to add new colors to the color palette

https://www.loom.com/share/c2f6d4ffe96f43c99a485b38508dafdf

https://snipboard.io/H6AsXc.jpg

Step-by-step reproduction instructions

Go to Site Editor -> Sidebar -> Color -> Add new color

Screenshots, screen recording, code snippet

No response

Environment info

WordPress version: 5.8.2
Gutenberg version: 11.6.0
Are all plugins except Gutenberg deactivated? Yes
Are you using a default theme (e.g. Twenty Twenty-One)? No

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] Bug
    [Type] Regression
    on Oct 14, 2021
  2. skorasaurus commented on Oct 14, 2021

    @skorasaurus
    Member

    I'm able to reproduce this as well on 11.7 although my console error message is different than yours. https://gist.github.com/skorasaurus/89a054c49ce75baaca26bb4b2790d345

    I'm using the quadrat theme.

  3. added
    Global Styles
    on Oct 14, 2021
  4. Sandstromer commented on Oct 15, 2021

    @Sandstromer

    Same issue for me too #35640

    When editing a color from the color palette, the Site Editor crashes when clicking anywhere in the color picker or the slider below the picker.

    When adding a new color, the color picker works fine, but clicking "Save" button causes the Site Editor to crash.

  5. Pulmunen commented on Oct 18, 2021

    @Pulmunen

    I'm coming across the same/similar issue to Sandstromer, here's my information:
    Go to Site Editor -> Styles [navigator screen] -> Colors -> Palette and try to add a colour or edit a colour from the palette, the site editor crashes (styles panel closes, main content area goes blank).

    Workaround: change/add colours in the relevant (child) theme's json.

    https://www.loom.com/share/2caf3049157046209f568af97a8021e9
    PHP 7.4.1
    WP 5.8.1 (fresh install)
    Gutenberg plugin 11.7.0
    Both Chrome and Firefox
    Themes (on both Chrome and Firefox): TT1 Blocks, Tove, FSE Tutorial
    Active plugins: none (other than Gutenberg)
    https://gist.github.com/Pulmunen/7a281ed85f59d1fce1f9d3f10d6eb8e0

  6. Mamaduka commented on Oct 27, 2021

    @Mamaduka
    Member

    I think the issue got resolved via #35670. I'm no longer able to reproduce it on the current Gutenberg trunk.

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

    Global Styles[Type] Bug[Type] Regression

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions