Hi there,
Imagine that I have a mention extension on my editor, and mentions added to the editor are of a particular node type with some data-*
attributes. I want to be able to detect user clicks on the editor mentions, and be able to extract information from the data-*
attributes, and then show an information popover about the mentioned user.
I believe I can achieve this with both handleClick
and handleDOMEvents
, but I’m wondering which would be the more appropriate one? Thoughts?