• Resolved r4ffael

    (@r4ffael)


    Hi,

    when using tooltip ck with the following code:

    {tooltip}Testtip{end-texte}<a class="foobox" href="Image1.jpg" data-caption-title="A Caption Title" data-caption-desc="A longer caption description">ImageLink</a>{end-tooltip}

    FooBox is cutting the Topic after the first word. The Description is not shown at all, only when i write data-caption-desc=”Alongercaptiondescription”
    If i youse foobox without the tooltip plugin, it is working fine. I don’t know if this is a foobox or a tooltip problem.

    • This topic was modified 9 years, 5 months ago by r4ffael.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bradvin

    (@bradvin)

    hi,

    A test to see which plugin is causing the problem would be to add the code without the tooltip code:

    <a class="foobox" href="Image1.jpg" data-caption-title="A Caption Title" data-caption-desc="A longer caption description">ImageLink</a>

    Test if FooBox is cutting the captions with the above code. If so, then the problem is in FooBox.

    Then add the tooltip code back and see if the problem now exists. If the captions get cut off with the tooltip code, then the problem lies with the tooltip plugin.

    I also do not understand the code you are using : {tooltip}. Are these some type of shortcode? Another thing : why is there {end-texte} and not start?

    Thread Starter r4ffael

    (@r4ffael)

    {tooltip} {end-texte} and so on is special shortcode from ck. I now found out what is causing the problem by myself. ck tooltip is using “htmlfixer” by Giulio Pons, http://www.barattalo.it . This class removes empty spaces so data-caption-title=”A Caption Title” is converted to data-caption-title=”A” Caption Title” and Caption Title” will be removed afterwards.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Caption and Description are cutted’ is closed to new replies.