This is possible since Mendix 8.12
I was able to solve it by using CustomString Widget from the App Store.
https://appstore.home.mendix.com/link/app/1426/
Well out of the box this is not possible yet, there is an idea on the idea forum about it: https://forum.mendix.com/link/ideas/628