CezaryDanielNowak / React-dotdotdot

Multiline text ellipsis for react. Demo:
https://nowak.click/react-dotdotdot/
MIT License
401 stars 54 forks source link

truncationHTML not working #12

Closed ChocoMomo closed 6 years ago

ChocoMomo commented 8 years ago

The property truncationHTML isn't working.

kkwiatkowski commented 7 years ago

truncationHTML property is internal option of clamp and is not exposed as part of react-dotdotdot interface.

There is another property that is available, and you might be interested in it - truncationChar.

ChocoMomo commented 7 years ago

Well i need to truncate RichTexts with html tags in it and in the current situation i can't do that.

mauliksoni110 commented 7 years ago

It is not an internal option in Clamp.js I guess. https://github.com/josephschmitt/Clamp.js/#options

CezaryDanielNowak commented 6 years ago

This is fixed in 1.2.1. Regards