react-md-editor icon indicating copy to clipboard operation
react-md-editor copied to clipboard

The editor is stuck When value is large

Open QiaoLi1996 opened this issue 1 year ago • 2 comments

When there is a lot of content, the editor will become stuck, which should be caused by textarea performance. For example, there is the following scenario! [image] (base64). The image after base64 is relatively large, which will cause the editor to be very stuck. Personally, I think this needs to be fixed.

Any feasible solutions or suggestions for improvement, I would be very grateful. image

QiaoLi1996 avatar Feb 07 '24 11:02 QiaoLi1996

@QiaoLi1996 This is mainly caused by the code highlighting, and you can remove the code highlighting feature using the method below.

https://github.com/uiwjs/react-md-editor/blob/c7d5acdf26e437973b826e914fb7b15493641c43/core/README.md?plain=1#L140-L166

jaywcjlove avatar Mar 02 '24 04:03 jaywcjlove