Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ol and ul lists are broken when editor content is created from markdown. #176

Open
lorcan-codes opened this issue Dec 14, 2023 · 2 comments

Comments

@lorcan-codes
Copy link

Hello, thanks for creating the library. Having some issues with lists in your demo site.
Going to new line is broken on ordered and numbered lists (as well as nested lists).

There are numbered list, clicking enter should add number in new line as well. Instead an empty space is added.
You can refer to the video.

markdown-to-slate-issue.mov
@vergilius
Copy link

vergilius commented Mar 15, 2024

This is happening due to list items containing paragraphs instead of text. Looking for the solution as well.

Update: seems this is remark's issue: #5

@AlexeyShaykov
Copy link

@vergilius @lorcan-codes I have same problem
image

while convert from markdown to slate.

i use custom overrides for list
image

maybe u can help me? If list simple without inner list, everything works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants