This question already has answers here: How do I insert an array into a Google Doc using data from Google Sheets? (2 answers) Closed 4 months ago. As title, I’ve tried to append a table to Google Docs from Google Spreadsheet using GAS. So far, the post and some scripts I can find is about appending the whole sheet, not
Tag: google-docs
How to Accept style suggestions of a google doc with Google Doc API?
As title, in this post I already know how to retrieve all-suggestion-accepted content of a document. Now I also want to retrieve the “style suggestion” of the content of the document. I’ve referred to the second half part of this guideline, but still have no clue about it. Below is the snippet I have as yet. Answer Currently, accepting/rejecting suggestions
Get selection from Google Docs
Is there a way around the fact that does not seem to work in Google Docs? I want to capture text from a highlighted selection from Google Docs. My implementation is with Chrome Extensions, but that is not as relevant as the fact that window.getSelection() doesn’t seem to work there (though it does elsewhere). Thanks! Answer As mentioned on Docs