uiwjs / react-markdown-editor

A markdown editor with preview, implemented with React.js and TypeScript.
https://uiwjs.github.io/react-markdown-editor
MIT License
326 stars 32 forks source link

What's the difference with react-md-editor? #215

Open RukshanJS opened 8 months ago

RukshanJS commented 8 months ago

Found this, https://github.com/uiwjs/react-markdown-editor/issues/38 but what does it mean? Can someone please explain.

jaywcjlove commented 7 months ago

@RukshanJS

react-md-editor

The editor part of react-md-editor uses textarea + code highlight overlap to achieve the editor effect.

It doesn't have bad loading, long text loading, which would be a performance issue if the editor had code highlighting.

So it is provided with the code highlighting function @uiw/react-md-editor/nohighlight and highlightEnable props

react-markdown-editor

The react-markdown-editor editor uses Codemirror which can load long text.

The code previews are the same, there is no difference

jaywcjlove commented 7 months ago

@RukshanJS react-md-editor became popular first and was developed early, so its functions will be more flexible.

SydneyTechnologies commented 7 months ago

Is it possible to stop the wrapping overflow in react-markdown-editor. I want a situation where if we have gotten to the width of the container it wraps. Like how react-md-editor functions