Importing a HTML table into a google doc using google app script

后端 未结 2 869
误落风尘
误落风尘 2021-01-28 16:33

I\'m importing data from JIRA into a Google Doc. One of the fields would be the description, which is basically HTML text.

Is there any way to \"add\" this HTML text on

2条回答
  •  广开言路
    2021-01-28 16:54

    I was able to create a new Doc with styled html content from the change mentioned in my comment in this post:

    var blob = Utilities.newBlob(content, {mimeType:"text/html"});
    var newfile = Drive.Files.insert(resource, blob, {"convert":"true"});
    

提交回复
热议问题