Hi,
I'm using the latest release of Prismic library with Nuxt3 and when i display a PrismicRichText, line breaks do not appear
<PrismicRichText :field="prismicDocument.data.description" />
Hi,
I'm using the latest release of Prismic library with Nuxt3 and when i display a PrismicRichText, line breaks do not appear
<PrismicRichText :field="prismicDocument.data.description" />
Can you show an example of this in your render @ricou?
Maybe you need to add a serializer for your Rich Text content
With the previous release of Prismic clients (with Nuxt2), I hhad not this problem.
I believe you can add this using the HTML serializer. It'll allow you to control what gets render in each Rich Text field.
OK.
it's still a shame to have to use an HTML serializer for something so standard