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
In my app I am persisting the state of the editor in HTML using the blocksToHTML function. If I parse from blocks to HTML and parse the HTML to blocks later, it looses the nested bullet points and all points become in the same level.
EXP:
This input after parsed results in the following HTML (includes the nested items)
Activity
YousefED commentedon Nov 30, 2023
It's recommended to store JSON to persist your blocks, see also the warning @ https://www.blocknotejs.org/docs/converting-blocks
Nevertheless, this will be fixed by #426