How to add custom event handler to a node, more spcifically, mouse hover over a link?


My use case is that I wish to show a popup link editor when mouse is hovering over a link, much like a tooltip. Couldn’t figure it out how to do it. Do I need to implement a custom link NodeView?

Handling mouse events for nodes

No, you should be able to listen to mouseover and mouseout DOM events (via the handleDOMEvents prop).


Got it. Thanks