-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Support additional tags for Annotations #1387
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
@destradafilm Probably not in the near future without sponsorship from a company. |
@jackparmer Thanks for your response. What exactly do you mean by sponsorship from a company? |
@destradafilm companies can contact us to financially sponsor plotly.js feature development: |
@jackparmer What about adding more basic formatting tags? I currently manually add the following: |
I would like to be able to use flag-icon-css in an annotation which would require the ability to not strip out classes when converting from span to tspan in svg_text_utils |
@jonfreedman we could certainly allow class to pass through from the pseudo-html to the svg, my concern (and this applies to some of the other suggested additions as well) is that referencing external content means the plot loses portability, or at least would lose that content if rendered elsewhere. That would be a first for plotly.js, at least as far as the plot's static behavior is concerned. |
I see your point, I noticed that the react wrapper exposes style and classname on the parent element, is that a similar blurring of portability? |
It would be useful if this applied to tooltips as well. I recently got stuck while trying to include an |
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 |
This comment was marked as duplicate.
This comment was marked as duplicate.
Already addressed in #6420 |
It would be great to be able to add html tags (divs, img, svg) into the annotations. Specifically the 'scatter' and 'scattergl' plots.
Currently seems like only basic tags like br, b, i, and span are supported but would be good to not have a limitation
I've seen this brought up in the community boards...Is this being considered at all?
The text was updated successfully, but these errors were encountered: