HTML code inside a Custom Attribute Value

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?

But you could also use the built-in tooltips in Blocs. Just a suggestion.

Blocs-tooltips

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.

Thanks, I know, but I’d like more customization options :slight_smile:

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.

Wondering if this could be a bug report or a feature request…

It’s likely Blocs Custom Attribute field is not handling HTML markup.

In the mean time you can get it working quickly and easily like @Jerry suggested.

Yea, no I got it to work fine, just it would be more convenient as a Custom Attribute. So it’s more of a feature request.