Submenu with icon

Is it possible to register a submenu with an icon? MenuModelRegistry.registerSubmenu only accepts a label.
For example:

Screen Shot 2020-01-16 at 9.13.35 AM.png

I’d like the Add submenu to have a + green icon.

[original thread by Hanksha]

please file an issue, we can investigate whether it is possible

i think it should be


@anton-kosyakov Alright will do, also would be nice to be able to order them like MenuAction