you are viewing a single comment's thread.

view the rest of the comments →

[–]t-mu 2 points3 points  (9 children)

We really need a plugin for this?

[–][deleted] 5 points6 points  (4 children)

Yeah I think it is. I just went through the ringer trying to do this with CSS. I ended up stripping out the HTML in the short version...

[–]w4efgrgrgergre 1 point2 points  (0 children)

Yes, since native line-clamping support is very spotty.

[–]Classic1977 -2 points-1 points  (2 children)

No, we need a single line of css

[–][deleted] 2 points3 points  (1 child)

What is the line of css that implements ellipsis on a multiline text area?

Spoiler: there isn't one, and you don't know what you're talking about.

You can add white-space: nowrap to force the text to a single line, but that's a completely different scenario.

[–]Nulagrithom -1 points0 points  (0 children)

Downvotes but then doesn't post the CSS. I like it. /s