-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Gatsy 4.10.1 - Gatsby-soure-wp 6.10.0 inline svg's are not given static url yet are rendered with source urls #35213
Comments
Hi! Please give a minimal reproduction and/or a way more detailed explanation of your issue including code snippets, your setup, etc. Because as it stands I don't have a clue what your issue is. Thanks! |
With updated gatsby and gatsby-wordpress all WYSIWYG that have svg's are being rendered with the wordpress source url not the gatsby static url - png and other images are fine. This was not an issue with gatsby 4.9 and gatsby-source-wordpress: 6.4.0 As for the minimal reproduction I can in private setting allow you access to the source url with creds - We have been with gatsby-wordpress since the start. I do not understand how my description is not enough to understand that when the updated WP gatsby plugin build out svg inside/inline WYSIWYG it does not give it the proper static url yet keeps the source url of the wordpress The return should NOT be - https://pozer-qa.mrkelly.ninja/wp-content/uploads/2021/12/404.svg https://pozer-qa.mrkelly.ninja is the WP Thanks for all your hard-work and help! The below are all things Gatsby that work as it should
|
The below are when this issue occurred after updating to the newest Gatsby and gatsby-wordpress and all required gatsby-image plugins for the new CDN on Gatsby cloud
|
So is this happening only when you use Image CDN or on all occasions? |
Yes with and without the Image CDN - local builds and on the cloud - svg's are given wp-source urls instead of gatsby site static url when used in inline WYSIWYG fields |
@LekoArts any update on this? Thank you. |
Preliminary Checks
Description
Inline svg's are not given static url yet are rendered with source urls
Reproduction Link
https://gatsby.dev/reproduction - tyler said I could skip this
Steps to Reproduce
...
Expected Result
Inline source svg's should be given static/hash urls
Actual Result
Inline source svg's are kept with source url from gatsby-source-wordpress
Environment
Config Flags
FAST_DEV: true,
The text was updated successfully, but these errors were encountered: