I’ve just tested the addon and I liked it a lot. I think it’s a beautiful implementation of the original idea, and I can’t thank you enough for spending your time on building it.
Since the day I came up with this idea in my original post (and suggested modifying “Add Hyperlink” to create tooltips in other post), I’ve been trying to implement it as well (by trial and error, as I have never studied how to code), and I managed to do this in two different ways:
- I followed your suggestion on using the “Custom Styles” addon to wrap the text with html (which I used to create standard CSS tooltips)
- I figured out how to make the Add Hyperlink addon work the way I wanted (which I used to create Bootstrap tooltips).
I wanted to know the pros and cons of each one of these approaches before choosing one.
Now I notice that your addon has the pros of the second approach I mentioned above (e.g. good positioning, possibility to click the tooltip to toggle it) plus other interesting features (e.g. the box to edit the tooltip text and the “x” to erase its content), but I want to know if it is possible to format the text inside the tooltip as well (as my first approach does - se exemple below).
Like this (as well as change the text alignment):
I was only able to make it possible with standard CSS, as whenever I tried to do it in Bootstrap tooltips it got broken (see below).
I’m afraid it has to do with some Popper.js’ limitation.
By the way, If it’s not possible to change the style of the text inside the tooltip, I’m planning to keep both your addon and the standard CSS tooltips, so I can choose which one to use depending on the situation.