我正在尝试开发一个 office-js word 插件来增强右键菜单,但是当我在 manifest 中添加元素时。Word 无法再读取/访问清单。所以 OfficeMenu 对我不可用。
我可以检查什么?
非常感谢
<ExtensionPoint xsi:type="ContextMenu">
<OfficeMenu id="ContextMenuText">
<Control xsi:type="Menu" id="ContextMenu2">
<Label resid="CommandGroup.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Label"/>
<Description resid="TaskpaneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Items>
<Item id="Item1">
<Label resid="IdItem1"/>
<Supertip>
<Title resid="IdItem1"/>
<Description resid="TaskpaneButton.Label"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<TaskpaneId>ButtonId1</TaskpaneId>
<SourceLocation resid="Taskpane.Url"/>
</Action>
</Item>
</Items>
</Control>
</OfficeMenu>
</ExtensionPoint> ```