• So far I’m liking this plugin, but I find that I cannot use anything except a single line break or it cuts off the tooltip. I tried using a double break, no go. Tried using css. Still doesn’t work. Is there any way to get it to use html within the tooltip that pops up?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author CeiKay

    (@ced1870)

    Hi
    check in the plugin options, you will see an option for “Enable html fix”
    Try this option and see if it works
    CEd

    Thread Starter Lockhart

    (@muldari)

    That’s the first thing I checked. I can use < strong > and < br > but if I use a < p > and /p or use double line breaks, then wherever I put it, that’s where the tooltip stops. Other than that, this is a fantastic plugin.

    Plugin Author CeiKay

    (@ced1870)

    can you give me the url of the page to check this ?

    Thread Starter Lockhart

    (@muldari)

    https://www.tx-taca.org/testing-calc/ You will note on the right sidebar that the first tooltip only shows example 1. Examples 2 & 3 are below it NOT in the tooltip. The following 2 tooltip links only have a single line break < br > between items and all examples are included in the tooltip, as intended. As soon as I add a second line break, they don’t show in the tooltip but are instead listed underneath.

    Plugin Author CeiKay

    (@ced1870)

    by my side if I hover “concrete”, I see 3 paragraphs with 3 <br> and <u> , <b> tags, all shown correctly
    tested with Firefox

    may be that I don’t undertand what is the problem, but I don’t see it

    Thread Starter Lockhart

    (@muldari)

    Yes, but if you look at “Aggregate” you’ll see “Example 2” “Example 3” and “Note” all underneath. It is supposed to be IN the tooltip but when I use 2 line breaks or a paragraph break or an unordered or ordered list, they no longer show IN the tooltip but below it as regular text.

    Plugin Author CeiKay

    (@ced1870)

    ok I see ??
    I think that the editor is in cause, check the html source of your article where you have the tooltip. It shall have a closing tag </p> that kills the tooltip

    Thread Starter Lockhart

    (@muldari)

    If I use < br > it works fine. If I use < br >< br > it kills it. I just need more space between items so it’s easier to read. It’s not just the paragraph tag that does it. This is the code I use that breaks it at the first double line break: {tooltip}<strong>AGGREGATE:</strong>{end-text}<u>Example #1:</u> ABC Aggregate produces 100,000 tons in Texas and sells 100,000 tons in Texas. They pay dues on the 100,000 tons.<br><br><u>Example #2:</u> ABC Aggregate produces 100,000 tons in Texas and sells 50,000 tons in Texas. They pay dues on the 50,000 tons.<br><br><u>Example #3:</u> ABC Aggregate produces 100,000 tons in Texas and sells 100,000 tons in Texas. They import another 50,000 tons and sell those in Texas. They pay dues on the 150,000 tons.<br><br><strong>Note:</strong> "Sales" includes internal transfers as well as external sales to 3rd parties.{end-tooltip}

    Plugin Author CeiKay

    (@ced1870)

    the problem is the one I have cited ?? : the editor
    I have made the test with your code, if you look at your article in visual mode you will see that the editor automatically change the <br> for a <p>

    By my side I can not do anything for that as this is manage inside the editor

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘HTML in tooltip’ is closed to new replies.