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

chore(gatsby-source-contentful): Add note about RichTextField to README #36102

Merged
merged 3 commits into from
Nov 17, 2022
Merged

chore(gatsby-source-contentful): Add note about RichTextField to README #36102

merged 3 commits into from
Nov 17, 2022

Conversation

josephcagle
Copy link
Contributor

Description

New Gatsby user here.

I was trying to load image assets from a Contentful rich text field into a Gatsby page.

Apparently, a custom rendering function for embedded images (as an option for renderRichText()) only works if you request the contentful_id and __typename fields in your GraphQL query.

(This is based on my brief testing. Someone please correct me if I'm missing something.)

This PR just changes one line in the gatsby-source-contentful plugin readme to make it more accurate.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 11, 2022
@imjoshin imjoshin added topic: source-contentful Related to Gatsby's integration with Contentful and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jul 12, 2022
@LekoArts LekoArts added the type: documentation An issue or pull request for improving or updating Gatsby's documentation label Nov 17, 2022
@LekoArts LekoArts changed the title Add additional info on gatsby-source-contentful renderRichText usage chore(gatsby-source-contentful): Add note about RichTextField to README Nov 17, 2022
@LekoArts LekoArts merged commit f7b922f into gatsbyjs:master Nov 17, 2022
@josephcagle josephcagle deleted the update-rich-text-info branch February 4, 2023 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: source-contentful Related to Gatsby's integration with Contentful type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants