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

Text disappears when preceded by a dash and spaces #183

Open
fran-code opened this issue Feb 1, 2023 · 0 comments
Open

Text disappears when preceded by a dash and spaces #183

fran-code opened this issue Feb 1, 2023 · 0 comments

Comments

@fran-code
Copy link

fran-code commented Feb 1, 2023

Whenever a user writes/copies a text that starts with a dash “-“ and has at least 5 empty spaces, markdownToDraft function is not able to interpret and shows that text part as blank.

It is possible to reproduce it in the demo, http://www.roserobertson.me/markdown-draft-js/

To reproduce it, enter a dash followed by 5 spaces in the right panel (Markdown Editor) and some text. In the left panel (Draft.js Editor) we will see that the text disappears when transformed into an unordered list.

Thanks

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

1 participant