Closed olafgrabienski closed 6 years ago
Note: The second example with the surrounding span
element works only partially: The tooltip with node content is displayed on hover, but it doesn't disappear again when the mouse leaves the element. Maybe related to https://github.com/Graham-72/beautytips_node/issues/5?
@Graham-72 Great work, the fix looks good on my test site where the beautytips-node
class on a link now does trigger the tooltip.
the
beautytips-node
class on a link now does trigger the tooltip
So, this is fixed, thanks again! (Closing the issue.)
The module is supposed to display a tooltip which displays node content when an editor adds the class
beautytips-node
to an internal node link. That doesn't work at the moment, but it works when the class is instead added to a surrounding element. Examples:<a class="beautytips-node" href="/posts/example-post">Some link text</a>
(doesn't work)<span class="beautytips-node"><a href="/posts/example-post">Some link text</a></span>
(works)