When I use IE mode, I can obtain the host object of CorelDRAW through the following API
window.external.Application;
, But when I switched to Webview mode, I couldn’t retrieve the object,
screenshot: https://i.sstatic.net/JN8xM72C.png
Here is my AppUI.xslt core code,
<xsl:template match="uiConfig/items">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
<itemData guid="50da125a-a3e2-4038-85ef-04a4e3ab1b8f"
type='browserEdge'
suppressDialogs='false'
openExternal="true"
href="[VGAppAddonsDir]/PopupHtmlAddon/index.html"
enable="true" />
</xsl:copy>
</xsl:template>