Add event before clicking save

hi,
I want to call an event before clicking save. How can I do this.
thanks
image

Hello,
There is no such event available. Full list of events can be found here:
https://api.onlyoffice.com/editors/config/events

However, if you use another type of forcesave (request to the command service ONLYOFFICE Api Documentation - Command service), you can create your own save button in your application frame and add your own custom events to it.