I want fill content for terms and privacy page with strapi rich content editor, but it formatt my text wrong, instead line breaks for nested points 1.2, 1.2 etc I get text in 1 line.
Example:
Preview:
Example2
Mardown:
this editor uses markdown
syntax, you can get reference here here
the search terms markdown
mdx
as for your question seems this is a regular problem with mdx, quick googling gave quite few of same issues
stack overflow also uses mdx, and seems you can use
(two empty spaces in the end of the line) tag:
1. Element 1
1.1 Element 1.1
1.2 Element 1.1
2. Element 2
the alternative method is to use <br>
:
1. Element 1 <br>
1.1 Element 1.1 <br>
1.2 Element 1.1
2. Element 2
the reference