Duotone filter not rendering in some places #35331
Labels
Comments
The SVG containing the filter is generated during the The assets for the site editor are generated during the |
Did you try without using a preset var? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When applying duotone as a block style in theme.json, there are still a couple places the duotone filter doesn't get applied.
See #34667 (comment)
The thumbnail for block patterns that use duotone won't show the filter applied:
![Screenshot 2021-09-29 at 17 22 27](https://webcf.waybackmachine.org/web/20211005190836im_/https://user-images.githubusercontent.com/3593343/135299678-875d8f83-45b5-4173-b455-6101f48ac32f.png)
The site editor shows the image without a filter but the frontend works fine. The post editor when I insert an image does work fine:
![Screenshot 2021-09-29 at 17 22 51](https://webcf.waybackmachine.org/web/20211005190836im_/https://user-images.githubusercontent.com/3593343/135299779-5eea53f3-2b62-4b4b-b5c0-8269d2d6f7cd.png)
To reproduce
You can test on Skatepark applying Automattic/themes#4740
Or by adding the following to your theme.json for testing the image and cover blocks.
The text was updated successfully, but these errors were encountered: