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.87k stars 590 forks source link

Adding a blank line to create a list after Heading #565

Closed aquibbaig closed 2 years ago

aquibbaig commented 2 years ago

I love the design of the editor and I tried it out to check if everything works. I found out that when I insert a Heading and press enter to create a list, the editor is still in the context of the Heading and it doesn't insert a new list. For it to work as expected, I have to create a new paragraph or press enter twice, after that I can successfully insert a list or whatever I want to. Am I missing something here or this is an expected pattern?

Steps to reproduce: A simple instance of Editor, such as this one

tommoor commented 2 years ago

I'm not sure I can reproduce the behavior you're seeing... make a quick screencast?

aquibbaig commented 2 years ago

@tommoor Here's one https://user-images.githubusercontent.com/26324376/136682039-4cfc81d0-2fed-40f5-b492-94efe0af8c4f.mov

tommoor commented 2 years ago

I'm on mobile rn so can't point you to the exact thing but we've seen this issue many times - the incorrect version number of prosemirror-transform is installed

aquibbaig commented 2 years ago

I haven't installed prosemirror-transform in the sandbox, does the editor require it somewhere ?

tommoor commented 2 years ago

See this comment and thread: https://github.com/outline/rich-markdown-editor/issues/261#issuecomment-686201757