I’m experimenting with Tippy for tooltips, which seems to be working great. However, when I’d like to add Custom Attributes to my spans I can’t seem to do this with HTML code as a Custom Attribute within Blocs. Eg:
Adding "<b>Example title:</b><br>Example text.." as a value to the Name “data-tippy-content” doesn’t work (it appears straight in the paragraph and not as a tooltip), however creating a custom data brick with the code:
<p><span class="tippy" data-tippy-content="<b>Example title:</b><br>Example text..">Text that gets the tooltip</span></p> works great.
Is this not possible or is there a workaround?
Can I otherwise somehow integrate this into the rest of the paragraph text without having to use a Code Block for the whole paragraph?
That’s not the issue I have. Tippy works well with html code already, it’s just passing the arguments through Blocs with Custom Attributes that doesn’t work.
I’m not sure if I’m misunderstanding something or if I’m not expressing myself clearly.
The problem I have doesn’t at all seem to be with Tippy, but with the general ability in Blocs to use HTML in Blocs as a Custom Attribute… This seems to be to be the issue, rather than anything with Tippy, since it works great when written in a Code Block rather than as a Custom Attribute.