• Hello! I don’t know what is happening, but in some notes the text is truncated if it has a link. Is there a limit to the size of texts with links now?

    You can see it in the second note of the page I need help with, but I’m having the same problem with other notes in localhost, so let me give an example. I have this note:

    CHAUí, Marilena. O inferno urbano e a política do favor, tutela e coopta??o. In: Revista Teoria e Debate, 27 de junho de 2013

    and the link goes to “O inferno urbano e a política do favor, tutela e coopta??o”

    and the note shows so:

    CHAUí, Marilena. O inferno urbano e a política do favor, tute… . In: Revista Teoria e Debate, 27 de junho de 2013

    Before the last updates it was not like it, I could see the full text.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author prismtechstudios

    (@prismtechstudios)

    Hi @arutha176! This is related to some recent changes that would cause some links to appear outside of the footnote tooltip. I’ve made a GitHub issue for the permanent fix at https://github.com/seankwilliams/modern-footnotes/issues/24 that will need to be addressed.

    In the meantime, you can temporarily fix this by adding this custom CSS:

    .modern-footnotes-footnote__note a {
        display: inline;
        overflow: auto;
        white-space: unset;
    }
    Thread Starter arutha176

    (@arutha176)

    Hi!

    It works perfectly, thank you!
    A newbie question: if you make a permanent fix should I delete te custom css? I imagine the answer is yes, but better be sure lol!

    I just looked at the GitHub issue, and I had some thoughts, even if I never experienced links going out of the tooltip. I’m not a programmer, so if a write something foolish I hope you don’t mind:
    the way I see it, there are two different things: the url and the text. In the footnotes I never use a “naked” url, it is always inside a keyword or keywords. My idea is that maybe this is the reason I never experienced the “out of tooltip” problem. If so, to find a way to truncate urls but not keywords looks like the way to go. Does it makes sense?
    Another way is not fixing it, but warning the user to use small keywords. I did some testing, and when the keyword is small it doesn’t get truncated. If the long keyword is at the beginning or the end of the note, it only gets truncated if the keyword string is very long.
    I hope this helps some and is not a bother.
    Thank you again, you are superb!

    Plugin Author prismtechstudios

    (@prismtechstudios)

    @arutha176 Good question. Ideally you’d delete the custom CSS once the fix is out, but you can also just wait and delete it if it’s causing other issues (which it probably won’t).

    And thank you for those comments! That method makes a lot of sense to me. I think it’s a good way to determine whether the link text should be truncated or not. It’s a little tricky to implement programmatically, but I’ll add the idea to the GitHub issue!

    Thread Starter arutha176

    (@arutha176)

    Very goood! I’m happy I could help a little bit!
    And as far as I could ascertain the custom css is not causing any other issues!
    thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘truncated text’ is closed to new replies.