You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it is rendered as :
1 test1
1 test2
1 test3
refer screenshot attached
expected:
test1
test2
test3
The text was updated successfully, but these errors were encountered:
kannansrepo
changed the title
When setting HTML Ordered list , each <li> tag is rendered as a new Ordered list
When calling state.set() method for rendering a HTML Ordered list , each <li> tag is rendered as a new Ordered list
Apr 20, 2024
This basically happens because of the RichtextHTMLParser creates new OL for each LI. Line number 106
kannansrepo
changed the title
When calling state.set() method for rendering a HTML Ordered list , each <li> tag is rendered as a new Ordered list
When calling state.setHtml(html) method for rendering a HTML Ordered list , each <li> tag is rendered as a new Ordered list
Apr 20, 2024
I created a counter for each li and updated the number in constructor of OrderedList ParagraphType. This fixed the issue for now, however I believe all the LI has to be a part of same OL object.
if you add a OL with three LI as follows:
it is rendered as :
1 test1
1 test2
1 test3
refer screenshot attached
expected:
The text was updated successfully, but these errors were encountered: