Truncate to specific characters (click the truncated text to update from 50 characters to unlimited)

You may also pass a third argument to change the string that will be appended to the end

Truncate to specific words (click the truncated text to update from 5 to 10 words)

You may also customize the ellipsis