Open Mrtenz opened 2 years ago
@Mrtenz I no longer actively maintain this repo, because I now do everything with Next.js. However, If you want to submit a PR to fix the issue, you are most welcome.
Only tested with Gatsby@v3 but it may also work for 4 https://github.com/styxlab/gatsby-theme-try-ghost/pull/294
If this still doesn't work perhaps a change in the gatsby-rehype-inline-images plugin similar to that in https://github.com/styxlab/gatsby-theme-try-ghost/pull/298 (where we are not mutating a node
directly, but using createNodeField
instead will fix things.
Still does not work @illogic-al , Can you submit a PR ?
@amaljithev I did submit a PR, that's what I linked to in #298. As I don't use this plugin I won't make the change here. I encourage you to copy those changes and make them for yourself, and as you are using the plugin you'll be able to test and verify that it works. If you run into any issues feel free to link to the PR in your fork and I'd be happy to see if the proper changes were made.
The
gatsby-rehype-inline-images
does not seem to support Gatsby 4 at the moment. With the following config:I get this error when querying
childHtmlRehype { html }
: