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

Editor does not show nested lists correctly (bulleted in ordered) #596

Closed mcholcha closed 2 years ago

mcholcha commented 2 years ago

Editor does not show nested lists correctly (bulleted in ordered)

I am trying to add a bulleted list as a sublist of one of the ordered list items. The elements that I want to change to the bulleted list, do not change their appearance in the Editor. The generated markdown is correct.

To sum up: In the Editor, a nested sublist looks like an ordered list. In Markdown, the nested sublist is a bulleted list.

To Reproduce https://user-images.githubusercontent.com/16899071/144246937-249b957a-845e-401e-a5e4-b681f8156ea1.mov

Expected behavior In the Editor, the nested sublist should look like a bulleted list.

Version 11.20.1

Desktop:

tommoor commented 2 years ago

I suspect this is a css issue in your implementation, it does not reproduce on the demo site:

https://rich-markdown-editor-demo.onrender.com/?path=/story/editor--default

mcholcha commented 2 years ago

@tommoor You're right it's a css error. Sorry for wasting your time. Thanks for your help!