CharacterCount extension: word limit #3409
Unanswered
jolora
asked this question in
Questions & Help
Replies: 1 comment
-
Late reply, but i got it working by just using wordCounter function as textCounter😅 CharacterCount.configure({
limit: wordCountLimit,
textCounter: (text) =>
text.split(/\s+/).filter((word) => word !== "").length,
}), |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've succesfully setup a character limit on my TipTap implementation and it works great. I'm also retrieving and showing a word count.
My question is, how do I set the limit option to be based on word count, rather than character count? Is that even possible?
Beta Was this translation helpful? Give feedback.
All reactions