New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement the limit of words/characters #2573
Comments
I too need to set the limit of characters in ckeditor5 to satisfy backward compatibility |
@mlewand : May i know by when ckeditor5 will support limiting number of characters? ETA? |
@pankaarya no particular plans regarding this feature for now. Best what you can do is to add 👍 reaction to the first post. Other option is also trying to roll out your own plugin as it shouldn't be difficult to observe word count plugin and act accordingly upon reaching the limit. |
solved like this
this way can solve , but cannot control the scroll. when call setData , the content will be reset and the scroll will be Initialized to the top. |
the other way , find the undo Element ,use the undo plugin by dom click manually , it's the best way that I tried , to limit words input from time to now
|
I wrote this PoC of characters limit plugin: https://github.com/Reinmar/ckeditor5-maximum-length It works similar to how Twitter handles it. This is it in the Strapi integration: |
🆕 Feature Request
There should be an option to limit words/characters in the editor:
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: