trunk8 icon indicating copy to clipboard operation
trunk8 copied to clipboard

jQuery Truncation Plugin -- THIS PROJECT IS NO LONGER MAINTAINED

Results 33 trunk8 issues
Sort by recently updated
recently updated
newest added

Now you can add a class to the truncated element but only if its text is really truncated.

FIrst of all, thanks for such a wonderful utility. Coming to the issue, If I include hyperlinks as text, it doesn't truncate. I tried with HTML parse as well, but...

I copied the toggle example from the demos and I get this: ``` Uncaught TypeError: Cannot read property 'original_text' of undefined at HTMLParagraphElement. (trunk8.js:269) ```

Thanks for the excellent plugin. In the onTruncate callback, I want to do something with the element that has been truncated (highlight, add styles, javascript, etc.) It looks like the...

![bug](https://user-images.githubusercontent.com/31242284/29561637-79008618-8736-11e7-80f1-41d0b20ad96f.png) ![bug_2](https://user-images.githubusercontent.com/31242284/29561689-af33362c-8736-11e7-941d-5b371b41ba29.png)

Ideally, if an element contains HTML, only its visible text should be truncated. The HTML code itself shouldn't be considered part of the text to truncate. Example: ``` javascript /*...

enhancement

I'm doing a simple $(element).trunk8({ lines: 2 }) Which works great on mosts browsers. However, in IE9 (did not test other versions of IE). It gets truncated at the end...

Thanks for the work on this library. However, recently I noticed an issue where the truncation was failing and causing strange results. After some investigation, it was happening when the...

Boundary check for fixed width truncation; skip truncation if text length is smaller than the requested truncation size.