Google Visualization not working with appscript html service

后端 未结 2 1025
不知归路
不知归路 2021-02-10 10:31

I want to use appscript htmlservice along with appscript, The html service seems to work but the visualization do not work. Here is the code for reference. Code.GS :

<         


        
2条回答
  •  攒了一身酷
    2021-02-10 11:11

    HtmlService uses Caja to filter the unsafe Javascript, CSS and html from your HTML page and then it renders the filetered content to the browser. As I tested your code at Caja playground, It shows same behavior, so this is the issue with Caja, not Htmlservice. You may test your Html file at Caja Payground

    Steps to test your HTML file

    1. Copy your HTML file code to "Source" Tab at Caja Playground
    2. Hit Cajole button
    3. After some time, Rendered result Tab will show you the result

    You may report this issue in Caja issue Tracker

提交回复
热议问题