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
{{ message }}
This repository has been archived by the owner on May 19, 2020. It is now read-only.
Describe the bug
There seems to be an error with the schema for SlateJS and lists are lost when coming from markdown to slate in the markdown-transform
To Reproduce
Roundtrip Slate DOM to markdown back to Slate DOM
Expected behavior
There should be rendering of list items correctly, not as paragraphs?
Screenshots
Note that the indentation is way off after a list now.
Note that this is not being registered as a list in the toolbar, and entering creates a plain paragraph (indented)
The text was updated successfully, but these errors were encountered:
In the demo you can see that the list already created and there in the demo renders with a paragraph tag, but a new list created by the user has list items which are not paragraph tags:
Default list:
User made list:
The default ones are not registering as a list to the toolbar because it is being recognized as just a paragraph.
makes sense! The relationship between the schema and how we modify the DOM is also pretty sensitive. I'm wondering if there is a good way to document both so they remain in sync.
Describe the bug
There seems to be an error with the schema for SlateJS and lists are lost when coming from markdown to slate in the
markdown-transform
To Reproduce
Roundtrip Slate DOM to markdown back to Slate DOM
Expected behavior
There should be rendering of list items correctly, not as paragraphs?
Screenshots
Note that the indentation is way off after a list now.
Note that this is not being registered as a list in the toolbar, and entering creates a plain paragraph (indented)
The text was updated successfully, but these errors were encountered: