-
Notifications
You must be signed in to change notification settings - Fork 111
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
Wordcount plugin does not update the char counter on afterPage event #211
Comments
Yes you need to set the the same timeout 100 as the plugin does.
this should work |
If I am getting this right there should be en event that we can bind without using timeouts. Timeouts can bring all lot of problems. |
I thinks this is a misunderstand. The Value 100 is not a timeout event. its the execution priority...
|
If the value 100 is a problem for you i could remove it. |
Oh ok now I get it. But still I would expect that afterPaste should catch the right result from wordcount. |
Why is this a bug i dont unterstand. The default value is 10. i set it to 100 to make sure that the events of the editor are executed before the content is filtered. Otherwise its possible that the counting is wrong |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi guys,
great job you have done!
I am having an issue with events in regard to wordcount plugin.
I am trying to catch the afterPaste event (ctrl+V) but at that moment the counter evt.editor.wordcount.charCount is empty.
I tried to set a timeout, so that the read of the worcount value waits a bit and it works.
That means somehow wordcount is updating his content at some point later.
Is there any specific Event from the wordcount plugin ?
The text was updated successfully, but these errors were encountered: