Clickable text in chat Widget 4-27

I have a widget where I write a text and put it as a child of a scroll box in my chat widget and it works fine!
however I have a doubt, in this text there would be a link or something where I can click and open another widget with information?
Example: “seeing this item torn glove by x gold”, the person clicks on the torn glove and opens its information.