FIX: Word limit shouldn't break IME composition

There exists a bug in discourse boost composer.

For IME using language, like Chinese, the original logic will stop the IME composition when the word is near the limit, causing the bug shown in the figure.

This commit stops the cut when user is composing, while call the cut process after that.

Before:

After:

A PR is raised here:

5 לייקים

It seems this PR is stale, maybe take time to see that?

3 לייקים

thanks for reminding us let me prioritize this so the team will have a look

2 לייקים

Thanks for your contribution! I’ve merged the PR.

4 לייקים

This topic was automatically closed after 3 days. New replies are no longer allowed.