Instead of getting truncated in the middle of a word, it would be nicer to have an option to truncate on previous 'space', 'comma', or 'full stop' etc.
And/Or, programmatically add '...' following any truncated sentences.

Cheers,

Comments

vasi1186’s picture

Assigned: Unassigned » vasi1186

I'll take care about the option to truncate one previous space, comma, etc..., probably this week.

The other thing is a bit more tricky, it will require a bit more effort to implement.

franzkewd’s picture

owesome

vasi1186’s picture

One question before getting in code again, how do you think this should work more exactly? For example, the user starts typing, he has only 3 characters left, and he tries to type a word with 4 characters. The word should be completely deleted as he types? Wouldn't it be a bit annoying for the user?
Another option is to let the user type the text, but truncate it when saving, but I think this is not a good solution because the user may have important things that he wrote at the end, and he maybe do not realize that he will loose them...

Juan C’s picture

I allowed users to copy and paste some news as teaser. This auto truncate thingy is to prevent the users to post the whole news.
So truncate it when saving should be good solution for me.

Cheers

cedewey’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

We are putting a feature freeze on the Drupal 7 version of the module, so I'm marking this Closed (works as designed). Thank you to each of you for working on this issue. If you do want to maintain the Drupal 7 version, do reach out. We'd be happy to bring you on board as a maintainer.