Contentful richText with next.js

Im trying to integrate contentful rich text in my blog and its only working with bold, paragraphs and italics. I cant make the images and embedded things appear.

First i have this component:

const Content = ({ content }) => {
  return (
    <div className="content-body-contentful">

Then, in the post page, i import that component and pass de data like this:

<Content content={article.fields.body} />

Any answer to this problem?

49 thoughts on “Contentful richText with next.js”

  1. 294742 728838This is the fitting blog for anybody who desires to find out about this topic. You notice a great deal its nearly onerous to argue with you (not that I truly would wantHaHa). You undoubtedly put a brand new spin on a subject thats been written about for years. Nice stuff, simply great! 452182


Leave a Comment