Skip to content

EditorCommandHandler.getDefaultShouldAddCommandToSubmenu method

EditorCommandHandler › getDefaultShouldAddCommandToSubmenu

Gets whether to add the command to a submenu when neither the registration context nor the constructor set a value.

Signature:

getDefaultShouldAddCommandToSubmenu(): boolean

Returns: boolean — Whether to add to a submenu by default; false unless overridden.