codex-team / codex-team/editor.js
How to implement max length limitation💡?
Open
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
We have a requirement to limit the number of text characters to 5000 text words. How to implement this?
Now we implement by counting all the blocks' text length, but the performance is not good, because we want to real-time display the remaining words like "200/5000".
Is there any better way to count the whole text length except the HTML tag in real-time?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.