I suspect this has come up and I just can’t find the topic. My question is specifically around trying to extend the existing selection to include a leaf node such as an hr. So for example:
- Use/open the prosemirror home page
- Click before “Try it out”
- Insert->Horizontal Rule
- Hold Shift and press left arrow
I would expect that the selection would extend to contain the hr but it acts like nothing happens. If instead i click after the T in Try, hold shift and press left arrow then the T is selected. Hold shift and press left arrow again and I see a blue flicker as if the hr was selected (as it does in a pure contenteditable scenario) but then I’m guessing prosemirror is resetting the selection to only be the “T”. Is this a known issue? Any work around?