With only the markdown language extension added to a new EditorState, if you start a new line with a ListMark and then press Return the mark disappears if the preceding line is empty or the preceding line is a heading (ATX or Setex). Any idea what’s going on ?
Yes, this is so that pressing return repeatedly will clear your list mark. If you are directly below another list item, it’ll move the mark down on the assumption that you’re trying to create a loose list (with blank lines between the items).
Thank you. That makes sense.