Contentful logo

Contentful Community

Rich Text Renderer with Nuxtjs

Hi,

I am currently implementing Contentful within my Nuxtjs application and I’m having some trouble rendering custom renderers or embedded entries into my wysiwyg for ease of use building pages.

There doesn’t seem to be any documentation on how or where to implement BLOCKS or MARKS within a nuxtjs application, so I figured I’d reach out for help.

Currently I am using the documentToHtmlString from the rich-text-html-renderer properly, and things such as basic text, links, and block quotes are working fine, but when I want to import an embedded entry I get “

” returned in my console with nothing rendering in my browser.

Any help would be appreciated!

Hi there,

Have you tried the React Renderer? It also has a lot of information on how BLOCKS and MARKS work: