Skip to content

Separator: Custom gradients disappear #52986

Open

Description

Description

When changing the background on a separator block, using the solid colors or the presets choices on the Gradient tool, everything works.
But as soon as a user tries to use the sliders in the Gradient tool to modify it, the separator block visually disappears from the Editor as well as the front end.

Step-by-step reproduction instructions

  • Add a separator block to a post or page
  • Change the background color using the gradient tool
  • User the slider of the selected gradient to move gradient hues
  • Save the post and view on front end.

Screenshots, screen recording, code snippet

In this video you can first see that the present gradient works.
The when I try to change the colors it disappears.

separator-gradient.mp4

Environment info

WordPress 6.3-RC2 but I also was able to reproduce on WordPress 6.2.2
Twenty Twenty-Two theme.

Chrome 114.0.5735.248
Firefox Developer Edition: 116.0b7
MacOS 13.3.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

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

Metadata

Assignees

No one assigned

    Labels

    [Block] SeparatorAffects the Separator BlockAffects the Separator Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions