Support » Plugin: Glossary » Tooltip HTML Content

  • Resolved helloit

    (@helloit)


    Hi again,

    i still like your plugin πŸ™‚

    But one question i got while working with it. πŸ™‚

    In the tooltip content area, you are stripping all HTML tags off the content. How can i get the normal glossar post content without unformatting?

    Thanks and with best wishes
    AndrΓ©

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Daniele Scasciafratte

    (@mte90)

    The plugin don’t allow that as the HTML is inside a Span and could be everything inside a post so to avoid conflicts, HTML broken and so on we stripped it.
    If you want to insert the whole content you can use the filter glossary_tooltip_html -> https://docs.codeat.co/glossary/developer/

    Thread Starter helloit

    (@helloit)

    Hi,

    but then the whole content is stripped too isn’t it? Do you know a solution how i can spare this stripping? On my own risk? πŸ™‚

    Best regards
    AndrΓ©

    Plugin Author Daniele Scasciafratte

    (@mte90)

    With that filter there isn’t any stripping you can change the whole html tooltip content.

    Thread Starter helloit

    (@helloit)

    But does it has to be in a span tag? I need the <br> tags as well, but get the content in the tooltip if i put it in a span only.

    Plugin Author Daniele Scasciafratte

    (@mte90)

    No the Span wrapper is created by the plugin and we use it to avoid conflicts with other tags of themes used by our customers.

    Thread Starter helloit

    (@helloit)

    Thanks again. Now i have an nice Tooltip as i wish πŸ™‚

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.