I created a demo on how to display a todo list with check boxes in prosemirror (kudos to kiejo for sharing the initial code): https://glitch.com/edit/#!/brass-hiss
It works quite well, but there are a few problems that i need help with:
Error in chrome when using backspace on an item
(This happens only in Chrome) When using backspace on a todo item, once i’ve reached the very first character and erase it (so that the todo item text is empty), i get an error in the console:
prosemirror.js:1 The given range isn't in document.
This doesn’t happen in Safari.
When splitting a todo item that is already marked as done, the new item will also be marked as done. How can i avoid that? I’d like a new todo item to be initialized always unchecked.
Lifting multiple items is not possible
It is not possible to lift a selection of multiple items. This is also true for the standard bullet and ordered list items. How can it be done?