Closed BensenHsu closed 1 year ago
Hi @miguelnietoa !
Hi @BensenHsu, thanks for submitting this feature request!
What you propose is that the plugin can accept HTML code to be rendered as the tooltip. In this way, being more customizable and allowing to display of other information such as images, right?
Hi @BensenHsu, thanks for submitting this feature request!
What you propose is that the plugin can accept HTML code to be rendered as the tooltip. In this way, being more customizable and allowing to display of other information such as images, right?
@miguelnietoa Yea! Exactly!
@miguelnietoa I tried to change the file to .tsx, it accepted HTML, but the tooltip did not show up.
Hey @BensenHsu, could you please provide a code sandbox (https://codesandbox.io/) to understand in depth the feature request?
Is your feature request related to a problem? Please describe.
When the content is too long, the tooltip cannot wrap, so it will be blocked beyond the edge of the browser
The default tooltip style is hard coded, so cannot display other information such as images.
Describe the solution you'd like
Joy UI Tooltip component: https://mui.com/joy-ui/react-tooltip/#common-examples I want to use Joy UI to replace the CodeX tooltip in the code to solve the above problems. However, the tooltip does not work as I change the code to the screenshot below:
Describe alternatives you've considered
Can also use Tippy.js: https://tippyjs.bootcss.com/getting-started/
Additional context
@miguelnietoa @luishurtado @juanhurtado10 Could you please take a look? Much appreciated!!!