I would know how to add an Action button but did not manage to identify how to add this under the Actions menu. It is being added as a separate link button and not as part of the actions sub-menu. How can you achieve this please?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
This post should help with your answer: Adding Custom Action to "Actions" Drop Down in Extension
You can add it by using AddMenuAction
on your parent button (action
in this example):
MyGraph.action.AddMenuAction(myCustomAction);