norcross / gravity-tooltips

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

Big tooltips fall off screen. How to add second line to them? #33

Closed Marcoevich closed 7 years ago

Marcoevich commented 7 years ago

Big tooltips fall off screen. How to add second line to them?

This would be easier if the tooltips could parse HTML. Would it be possible to add HTML support to them? So we can add linebreak attributes for example.

norcross commented 7 years ago

The tooltips cannot parse HTML due to how they are implemented.

However, you can use the HTML entity for a linebreak. See https://github.com/norcross/gravity-tooltips/issues/22

Marcoevich commented 7 years ago

Hi @norcross ,

That's awesome! Cheers m8! :+1:

norcross commented 7 years ago

glad I could help!