vue-line-clamp
vue-line-clamp copied to clipboard
how to prevent breaking a word when the new line happens?
how to prevent breaking a word when the new line happens?
It comes from the "word-break: break-all;" rule that is added. It should be configurable in the plugin options IMO.
Currently the workaround is to override the word-break rule in css with an !important (😞)
Thank you!!! I fixed it: style="word-break: normal;"
You're welcome :)
BTW, I just noticed PR #28 would let us solve the issue within the options, we just need to be a bit patient