I’m a Tiptap user but I think the solution here lies in ProseMirror (though please redirect me if wrong).
I’d like to create a Notion style interface for inserting new nodes and possibly modifying existing nodes (maybe later dragging nodes).
So this will involve two buttons appearing in the left gutter next to the node being hovered.
The extent of what I need to do now is detect the cursor position, find the closest node being hovered, and unhide and absolutely position the buttons adjacent to the beginning of that node.
The behaviour of the buttons etc. is not currently a concern, it’s just this first step I could use a few pointers with.