Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi line tool tip #57

Open
hornwijaya opened this issue Oct 16, 2020 · 3 comments
Open

Multi line tool tip #57

hornwijaya opened this issue Oct 16, 2020 · 3 comments

Comments

@hornwijaya
Copy link

Microtip is MARVELOUS, easy to use and beautiful.
but I have been trying to use Multi line texts in the aria-label, seems like not possible.
Do you know a trick to make it happen?
Thanks.

@KrishnaPG
Copy link

Looking for similar option. It would be great if any HTML content can be shown in the tooltip, such as line-breaks, hr, and links (a tags).

@hornwijaya
Copy link
Author

I have made some adaptation.

in microtip.min.css
white-space:nowrap --> pre-line

and then we use php \n as line break
e.g.

convert every space to   so that it does not break on itself.

Hope this helps.

@sgsavu
Copy link

sgsavu commented May 17, 2023

@hornwijaya that didn't work for me but rather setting it to "pre". Then I have my text in quote marks and use enter for line breaks.
image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants