You might also try using an HTML component to render your text, which supports adding click handlers to specific elements within the component. The docs have a more detailed and general explanation.
In your case, you might specify the type
property of each element when you specify it as a click target, and then access that property in the click handler:
Let me know if that works!
html_click_handler (1).json