Parse Nested Lists #1856
-
Hi, When I pass nested list content to the editor with text in between the list items, the output is getting jumbled
(In realtime the text would be lodash template for loop) The output is: I want the output to be I have tried extending the bulletList extension and updating the content, but list-style won't show up when I try to add a new bullet list from the toolbar options. How can I achieve the expected output? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think it's because your markup isn't valid HTML to start with, the nested list should be inside a |
Beta Was this translation helpful? Give feedback.
I think it's because your markup isn't valid HTML to start with, the nested list should be inside a
<li>
element of the list in which it is nested: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul