I'm using markdown-it with nuxt to render my article content (rich text) to html from strapi. The text renders but the spacing between paragraphs is not included. I can use <br> tag on rich text editor on strapi to create line breaks but shouldn't strapi automatically do this?
<div v-html="$md.render(articles.content || 'No content available')"></div>
I think there is a bug in strapi currently that prevents it from recording single line breaks in the rich text editor (When you press the enter-key in the rich text editor) You can use the following work arounds: In the Strapi Rich Text Editor:
<br>tag. For multiple line breaks, repeat. For example:HTML Output:
HTML Output: