Open hollykurt opened 7 months ago
Try: https://codesandbox.io/p/sandbox/tiptap-click-above-block-with-content-9lwqgg
You can see the resulting position for the click in the browser console.
This used to work in 1.30.0, try it again in: https://codesandbox.io/p/sandbox/tiptap-click-above-block-with-content-forked-yyf6gd
Where the only change is to pin to prosemirror-view@1.30.0, and it will work.
This seems to be a regression in posFromCaret.
posFromCaret
Steps to Reproduce
Try: https://codesandbox.io/p/sandbox/tiptap-click-above-block-with-content-9lwqgg
You can see the resulting position for the click in the browser console.
This used to work in 1.30.0, try it again in: https://codesandbox.io/p/sandbox/tiptap-click-above-block-with-content-forked-yyf6gd
Where the only change is to pin to prosemirror-view@1.30.0, and it will work.
This seems to be a regression in
posFromCaret
.