Can I save the file externally by clicking the button

I have a button on the web page, and then the document is embedded into the web page. Can I then save the file or download it by clicking the button

Can this api implement saving, but I can’t find a specific use example of it in a react project. Save | ONLYOFFICE

Hello @Eden,
The method that you’ve mentioned has a slightly different purpose, it saves just some parts of text (changes), but if you want to save the whole document to the storage, here you can find the description of how it can be done:

There is no particular example of the custom saving button implementation, but all in all you can refer to the steps provided within that thread