【发布时间】:2018-08-31 12:29:27
【问题描述】:
使用 OfficeJS 开发 Word 插件,
从功能区按钮单击调用 FunctionFile.js 中名为“faq()”的函数,如下所示:
Office.context.ui.displayDialogAsync(window.location.origin + "/UI/FAQ.html",
{ height: 50, width: 60, displayInIframe: true }, dialogCallback);
Word 2016,MAC 到处都可以正常工作,但是 O365 word 在线,弹出窗口只打开一次,当从功能区按钮进行第二次点击时,它没有任何反应。
我无法进一步追踪它,为什么会这样!
【问题讨论】:
-
将displayInFrame设置为false会出现这种情况吗?
-
请添加完整代码以进行澄清
标签: office365 office-js word-addins