Basically, I have a mime renderer and I want to add a toolbar button that can implement the save action, just like saving from Jupyterlab interface either by shortcut or dropdown menu.
I notice the toolbar is minimized and I can easily add an item to that toolbar. However, I don’t know how to make the button to implement the save. Based on my finding, I think the save action can be call using
app.commands.excecute('docmanager:save) but I’m having trouble getting it to work or even calling it.
Is there a way to implement the save action in a mime extension or could you point me to a beginner friendly documentation on it?