I have a React application in which I'm trying to manually call undo/redo from code on an instance of a Monaco editor.
I want to do this so I can perform undo/redo when the editor is not in focus.
I've searched the API and did not find a way, how can I do this?