-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
HTML abbr Support #2515
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
Comments
Seems like a nice feature, sure. Looks like we'd have to do this in javascript though, as I don't see an equivalent functionality built into SVG. The |
Perhaps a foreignObject element rather than text would allow more direct support of HTML markup? Though unclear how that would effect the image exports. |
Right, due to image exports, and the desire to export SVG itself for use by Illustrator etc, we have avoided |
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson |
Plotly supports various HTML tags in text fields. One useful omitted tag is abbr, used to provide explanations of abbreviated values / acronyms. For instance...
title: "Top <abbr title='Internet Protocol Addresses'>IPs<abbr>"
...which currently renders as plain text.
I work around this currently by overlaying separate HTML titles, but such are then absent from Plotly's PNG saves, which is not ideal.
The text was updated successfully, but these errors were encountered: