Can I save the file externally by clicking the button

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