Display rich text from Contentful (external CMS)

I’m building a blog on Bubble with Contentful as my external CMS.

My posts are stored in a rich text field in Contentful. I’m using the API connector to get the posts into Bubble.

I’m using the text element in Bubble to display the blog post.

The problem is the blog posts are displaying text only, no images or formatting.

How it should look vs. how it looks currently:

my blog

The JSON response from Contentful has nested arrays. Is there an extra step needed to get this to display properly?

bubble expression

1 Like

Have the same issue. Using Prismic.io headless CMS.
Also need a way to convert my JSON-content into HTML format.

Not sure if you are still facing this but prismic at least allows you to have params in your api endpoint to define whether you want an html or a json formatted response… see https://prismic.io/docs/technologies/the-rest-api-browser There should be corresponding options for contentful as well if you look at the documentations for both

2 Likes