Skip to content

Experiment: Duotone filter in Image block lightbox not working #50973

@artemiomorales

Description

@artemiomorales

Description

Description

Duotone filters are not applied when using the experimental Lightbox behavior.

Follow-up to #50373

Step-by-step reproduction instructions

  1. Enable Core blocks in the Gutenberg Experiments settings page
  2. Add an image to a post
  3. Go to the image block styles, and select a filter under Filters > Duotone
  4. Enable the lightbox by selecting the image block setting Advanced > Behaviors > Lightbox
  5. Save and view the post
  6. Notice that the duotone filter is not applied

Screenshots, screen recording, code snippet

duotone-bug.mov

Environment info

WordPress 6.2.2, Gutenberg 15.9.0-rc.1
Chrome 113.0.5672.92
MacOS 12.5

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

Metadata

Metadata

Labels

[Block] ImageAffects the Image Block[Feature] Interactivity APIAPI to add frontend interactivity to blocks.[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