Office.js web WORD add-in: window.open() method is not working with “about:blank” URL

前端 未结 2 1112
孤城傲影
孤城傲影 2020-12-20 06:36

Summary:

window.Open(\'\') or window.Open(\'about:blank\') works with JavaScript in a normal html file as can be tested he

2条回答
  •  不思量自难忘°
    2020-12-20 07:15

    We are blocking those calls at the sandbox level, i strongly recommend you to use the ShowDialog API as suggested here Is there any Office.js API to get user input

提交回复
热议问题