Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duotone: Custom filter colors do not work #51023

Closed
kellychoffman opened this issue May 26, 2023 · 2 comments
Closed

Duotone: Custom filter colors do not work #51023

kellychoffman opened this issue May 26, 2023 · 2 comments
Assignees
Labels
[Type] Bug An existing feature does not function as intended

Comments

@kellychoffman
Copy link
Contributor

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

@ajlende
Copy link
Contributor

ajlende commented Jun 1, 2023

@kellychoffman I'm unable to replicate this. There was an issue with kses that was fixed around the time you opened this issue, so it may already be resolved.

What version of WordPress and Gutenberg were you running?

@kellychoffman
Copy link
Contributor Author

Excellent, thanks for following up. That PR fixed it. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants