HarryChen0506 / react-markdown-editor-lite

a light-weight Markdown editor based on React. 一款轻量的基于React的markdown编辑器
https://harrychen0506.github.io/react-markdown-editor-lite/
MIT License
1.04k stars 160 forks source link

[BUG] Underline should show as underline instead of +++ #210

Closed catherineluse closed 3 years ago

catherineluse commented 3 years ago

OS and browser

For example, Windows 10, Chrome 80.0.

I used it in Chrome 91.0.4472.77

Description

I clicked the underline button. Instead of showing an underline, the text looked like "+++text+++" in both the markdown and HTML rendered version.

Reproduction URL

It doesn't work in my local machine, but it also doesn't work in the official demo linked on the readme: https://codesandbox.io/s/rmel-demo-ref-in-function-component-u04gb

HarryChen0506 commented 3 years ago

https://github.com/HarryChen0506/react-markdown-editor-lite/issues/99 https://github.com/HarryChen0506/react-markdown-editor-lite/issues/136