Submenu items within the editor context menu

I’m currently developing a Obsidian plugin and have been adding additional buttons and separators to the editor context menu. For reference, this is the one that appears upon a right click within any active editor instance.

From the API documentation and my time spent just using the editor context menu itself, there doesn’t seem to be any way to add submenu items. The API shows no exposed methods to do this.

Is it possible this may be added in a future update? Even if not used by vanilla Obsidian, it certainly would be useful for plugin developers who require submenu items and would like to avoid creating their own menu system.

Thank you very much!

Just giving this a teensy little bump :slight_smile: