I am using the google docs api, and am inserting text using:
https://developers.google.com/docs/api/reference/rest/v1/documents/request#InsertTextRequest
however, the inserted text is not removed when the user presses ctrl + z. How do I add my inserted text into the google docs undo buffer?