outline / rich-markdown-editor

The open source React and Prosemirror based markdown editor that powers Outline. Want to try it out? Create an account:
https://www.getoutline.com
BSD 3-Clause "New" or "Revised" License
2.88k stars 590 forks source link

`/` command does not create new line, it rewrites the above or next line #579

Closed Aaron-Hu closed 3 years ago

Aaron-Hu commented 3 years ago

please note: these issue only exist on the release version yarn add rich-markdown-editor , they all works fine in the storybook demo.

  1. type in some text 'this should not be heading', and then start a new line under it. In the new line type '/' image
  2. create heading, and you will see it turns the above line to heading image

And, it also has the same issue when using / above the text image then it turns the next line to heading image

ps: create list with / has the same issue image

tommoor commented 3 years ago

Please see https://github.com/outline/rich-markdown-editor/issues/427#issuecomment-812577823