简体   繁体   English

Outlook 加载项:web 和 Windows 桌面应用程序的 UI 不同

[英]Outlook Add-In: The UI is different for web and Windows Desktop app

I have created an add-in using Angular 8 which works fine in web browser, but on the desktop app.我使用 Angular 8 创建了一个插件,它在 web 浏览器中运行良好,但在桌面应用程序上运行良好。 I am facing two issues:我面临两个问题:

  1. There are some UI inconsistencies.有一些 UI 不一致。

Here is a radio button on the web这是 web 上的单选按钮

Here is the same button on the desktop app这是桌面应用程序上的相同按钮

In HTML it is a span text.在 HTML 中,它是一个跨度文本。 The number is dynamically updated through a variable.该数字通过变量动态更新。

  1. The UI-less add-in stops working intermittently on the desktop app.无 UI 加载项在桌面应用程序上间歇性地停止工作。 I checked the logs and found this:我检查了日志,发现了这个:

     23-12-2020 12:58:45 Monitorable Manifest Skipped unrecognized XML element for add-in ID: f7bad2f3-c4ca-492d-93cd-7828d5bd458f, Location: Element Namespace "http://schemas.microsoft.com/office/mailappversionoverrides": Element Name "Tooltip", Line=70, CharPosition=20 23-12-2020 12:58:45 Monitorable Manifest Skipped unrecognized XML element for add-in ID: f7bad2f3-c4ca-492d-93cd-7828d5bd458f, Location: Element Namespace "http://schemas.microsoft.com/office/mailappversionoverrides/1.1": Element Name "Tooltip", Line=183, CharPosition=22

The manifest in the project is validated through Yeoman tool, so I am confused why this is occurring.项目中的清单是通过 Yeoman 工具验证的,所以我很困惑为什么会发生这种情况。

Adding the following meta tag添加以下元标记

meta name="format-detection" content="telephone=no"元名称=“格式检测”内容=“电话=否”

to the head section worked for me.头部为我工作。 A more detailed answer can be found here: https://www.howtosolutions.net/2016/10/microsoft-edge-disabling-phone-number-detection-problem/可以在此处找到更详细的答案: https://www.howtosolutions.net/2016/10/microsoft-edge-disabling-phone-number-detection-problem/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM