I have some issues (x3) with the horizontal rule in prosemirror.
I use the horizontal_rule node from
prosemirror-schema-basic without any modification & issues can be reproduce in the prosemirror example (prosemirror.net homepage).
- Two cursor :
On a empty document, when a HR is inserted, I use the right arrow key to move the cursor at the end of the document. When the end of document is reach, there are 2 cursors (on my implementation I can reproduce same issue when moving the cursor at the begining of the document, but not on the example) :
- Can not insert or toggle mark before/after a single HR when no text :
When I add a single HR in an empty document & move the cursor before/after the HR I can not toggle mark or insert node (canReplaceWith return false) :
- HR can not be deleted :
When I add a single HR in an empty document & move the cursor before/after the HR node can’t be deleted by pressing DEL or BACKSPACE key :
I can provide more information if needed & maybe help (I try to understand what’s happening under the hood, but I’am not an PM expert)