@witchcraft/editor
    Preparing search index...

    Variable menusPluginKeyConst

    menusPluginKey: PluginKey<MenusPluginState> = ...

    Menus describe how to close them again with this key.

    It can be used by other menus to close any open menus before opening itself (see closeOtherMenus).

    The close command must not need to take any arguments.

    You can extend the MenuCloseCommands interface to add more commands.