Ability to show markup inside tooltips
chinchang opened this issue · comments
Kushagra Gour commented
Right now hint.css tooltips can only show normal text with unicode characters. It cannot render HTML because of no support in content
property.
HTML tooltips are only possible when tooltips are not made using pseudo elements. So the library could have an option to let user define their own element in the DOM which is rendered as a tooltip.
Something like:
<div class="hint--top">
A tooltip shows on me.
<div data-hint>I am <strong>rendered</strong> as tooltip with HTML</div>
</div>
Pratheep Velicherla commented
+1
janydrozd commented
@chinchang is it still opened? I could work on this.
Kushagra Gour commented
@janydrozd Yes, it is open. PR is welcome :)