We want to have some of the toolbar button appear in a submenu, for example we want to have a new insert richcombo button in the toolbar that has submenu actions for image, special character, horizontal rule, etc appear in the drop-down when our new Insert is clicked.
So far I have created a custom plugin that is added to the toolbar and adds the items with editor.ui.addRichCombo and has the onClick of the submenus getting the original commands and calls exec() on them.
The issue I have is that without the original items also in the toolbar the commands seem to be disabled. Calling enable on the image command for example still doesn't bring up the the image dialog from the new image submenu item. If the original entries are also directly on the toolbar the commands from the new dropdown do work. But we don't want those original buttons to appear directly on the toolbar.
What's missing? Has something like this been done successfully before?