Skip to content

Duotone: Custom filter colors do not work #51023

@kellychoffman

Description

@kellychoffman

When using the duotone feature, picking a custom color shows up properly in the editor view, but when you publish, the filter does not appear. However, the presets work just fine. You have to change one of the colors to replicate this bug.

Steps to replicate:

  1. Select image block with photo
  2. Apply duotone filter
  3. Change one or both of the colors
  4. See colors change in editor
  5. Press publish
  6. Navigate to front end of site
  7. Notice photo now has no filter applied

Screenshots

Editor view:
Screenshot 2023-05-26 at 11 33 57 AM

Published view:
Screenshot 2023-05-26 at 11 32 15 AM

Have tested with a variety themes and versions of Gutenberg. Consistent results. @annezazu can also replicate.

cc @ajlende

Metadata

Metadata

Assignees

Labels

[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