How to insert a widget/button/img in a text and text box ?

ATT,how to insert a custom widget or standard button/img in text and text box?
sure,i ican divide text to some part and add them in to a HorizontalBox with custom widget,but the point is,the warp function is useless in that situation…(Img-1)

PS:if i create a widget with a text A,i set A anchors like the img-2,and i choose “size to content” and"auto wrap text",when i add A to a Scroll Box, is can auto set size;but if i set the text in the game,auto wrap func is useless and widget size is auto set to single line size,like img-3

126350-img-2.png

in fact,i need a richtext / hyperlink func in text…

and,click different part of the text,call different func