-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Events only allow one handler to be executed before returning #4602
Comments
Thanks @Pearce-Ropion, good catch. This was done to support #3812. |
What about saving each progressive value?
|
Sure that's even better |
@erezrokah
Alternatively, we could change
And change this line, to update the data from the returned entry
However, this would be a breaking change to anyone that currently using the What are your thoughts? |
I think this is ok
This feature is still in Beta, so technically we could break it... I would still go with the first option. |
Describe the bug
The new event handlers only allow one event handler to be executed before returning
https://github.com/netlify/netlify-cms/blob/master/packages/netlify-cms-core/src/lib/registry.js#L231
Expected behavior
If multiple event handlers are registered for the same event, each should be executed in the order they were registered
Based on this line, I would assume multiple event handlers would be allowed
https://github.com/netlify/netlify-cms/blob/master/packages/netlify-cms-core/src/lib/registry.js#L223
Applicable Versions:
The text was updated successfully, but these errors were encountered: