uiwjs / react-md-editor

A simple markdown editor with preview, implemented with React.js and TypeScript.
https://uiwjs.github.io/react-md-editor
MIT License
2.17k stars 156 forks source link

Bulleted list is not add bulleted auto when press return key (mac os) #158

Closed ndhhien27 closed 3 years ago

ndhhien27 commented 3 years ago

When I used the latest version of react-md-editor and react@16.10.2, the bulleted list is not adding bulleted auto when pressing the return key. Do you have any solution to fix it without upgrade react version? I tried downgrade react-md-editor version but it not work.

Actual:

Screen Shot 2021-05-05 at 09 37 22

Version used: react@16.10.2 @uiw/react-md-editor@3.0.4

jaywcjlove commented 3 years ago

@ndhhien27 This example: https://codesandbox.io/s/markdown-editor-for-q6h1n Confirm that there is a problem, currently I don't know what caused the problem.

Solution: Upgrade react@17+

ndhhien27 commented 3 years ago

@jaywcjlove Hope you can fix it soon. My project is using the old version react and I can't upgrade it as it will affect other important third libraries. Thank you so much

jaywcjlove commented 3 years ago

@ndhhien27 Upgrade + @uiw/react-md-editor@3.3.3