XF 2.2 Customizing the spoiler tooltip

Orit

Active member
In addition to this:

Is there a way to hide the spoiler tooltip in one specific template?

I added this:
HTML:
title="{{ $xf.reply.template == 'my_template' ? '' : phrase('click_to_reveal_spoiler') }}"
to the bb_code_tag_spoiler template and managed to hide the title, but how can I hide the tooltip all together?

With the title empty, it currently shows a sort of tooltip:
1655884147180.png

Thanks!!
 
Top