norcross / gravity-tooltips

Adds a custom field to each form element for tooltips
MIT License
74 stars 20 forks source link

Rendering HTML tags or having a separate title field? #25

Closed johnolek closed 8 years ago

johnolek commented 8 years ago

Is it possible to have a tooltip render with two types of text, e.g. a title and then the content underneath it? Or having the tooltips render HTML tags like <h3>?

norcross commented 8 years ago

The tips can't render any HTML tags. The best you could do is a line break between two lines of text, but you'd need to use the HTML entity &#xa; instead of a <br> tag.

see: https://github.com/norcross/gravity-tooltips/issues/22