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

Markdown parsing bug #211

Open
viococo opened this issue Jan 21, 2020 · 1 comment
Open

Markdown parsing bug #211

viococo opened this issue Jan 21, 2020 · 1 comment

Comments

@viococo
Copy link

viococo commented Jan 21, 2020

To reproduce you can go on my codesand box

https://codesandbox.io/s/react-wysiwyg-parsing-bug-y5df1

I need to create a markdown string to save it in my database but when I use stateFromMarkdown on it I have a wrong result like this.

Capture d’écran 2020-01-21 à 16 19 49

but editor and preview need to be the same result

@viococo
Copy link
Author

viococo commented Jan 22, 2020

I think that's happened when you have italic mark inside a word. But it works when it's bold mark inside.

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