RIP21 / react-simplemde-editor

React wrapper for simplemde (easymde) markdown editor

Home Page:https://react-simplemde-edtior.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Preview error

wujinhjun opened this issue · comments

I used electron: 20.0.3 & react: 18.2.0 & react-simplemde-editor: 5.0.2 & easymde: 2.16.0.
When preview content, find that content differences cannot occur.
Like this below:

Sorry to bother you. Thank you!

Hey, had the same issue, for me it turned out, that the content is rendered correctly as HTML (e.g. h2 for ## heading) but there was no styling on it (in my case because tailwindcss stripped all styling off it).

Maybe that helps

Hey, had the same issue, for me it turned out, that the content is rendered correctly as HTML (e.g. h2 for ## heading) but there was no styling on it (in my case because tailwindcss stripped all styling off it).

Maybe that helps

Thank you. I find I reset the css by the Reset CSS. Your suggestion is helpful!

commented

easymde: 2.16.0. can work!