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


#1

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?


#2

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


#3

Got it. Thanks