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

When using dangerouslySetInnerHTML images do not render in Clutch #31

Open
daprieu opened this issue Sep 21, 2023 · 0 comments
Open

When using dangerouslySetInnerHTML images do not render in Clutch #31

daprieu opened this issue Sep 21, 2023 · 0 comments

Comments

@daprieu
Copy link
Contributor

daprieu commented Sep 21, 2023

How to reproduce

  1. Using a cms like wordpress make a post that has an image(s)
  2. Then in Clutch Fetch that post using the wp graph ql query
  3. using a block component, render the HTML returned from wp graphql query using dangerouslySetInnerHTML
  4. Image is broke in the page/canvas
  5. pop window out to view in browser
  6. image renders just fine in browser

Describe the bug

Images from graphql being set using dangerouslySetInnerHTML do not render in Clutch but do render in browser

Expected behavior

Images should render in Clutch so that a user does not think the image is broken and can continue to work normally

Operating System

macOS 13.5

Clutch Version

Desktop: 1.204.0-alpha.90b6c69e47 | Interface: v1.204.0

Other

Screen.Recording.2023-09-21.at.10.06.17.AM.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants