Backspace (joinBackward command) breaks list weird when called on first item of nested list
andrey-skl opened this issue · comments
Andrey Skladchikov commented
To reproduce,
- Open ProseMirror example https://prosemirror.net/examples/markdown/
- Paste this content in Markdown mode
* one
* two
- Switch to WYSIWYG mode
- Put cursor at the start of first item
- Hit "Backspace" or click "lift out of enclosing block" toolbar button
Expected: the text of firs item is "lifted out" of the list:
Marijn Haverbeke commented
The list isn't in a broken state. It's a list item that contains another list. Markdown allows this (* * two
).