This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
preSave for all collections #970
Replies: 1 comment
-
I can see where there would be a use case for that. I've relaxed the requirements for registering events. If you don't specify a collection, file or field, your handler will fire for all events. This is available in Updated docs for events: https://next.staticcms.org/docs/cms-events |
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 am using the beta of Static CMS, and in the
Events Hooks
I have verified that to apply thepreSave
method it is necessary to indicate thecollection
.But I want to apply it to all collections and not indicating the
collection
parameter does not work.Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions