OptionalactiveWhether the current item is active under the given selection or cursor.
OptionalattrsAn object of attributes for the node or mark.
OptionalclassAn optional class to apply to the menu item.
OptionalcmdThe command to run when the menu item is clicked.
OptionalgroupEntries with the same group number will be grouped together in the drop-down. Lower-numbered groups appear higher in the list.
OptionaliconThe menu item's icon HTML.
OptionalmarkThe mark to apply to the selected text.
OptionalnodeThe node to wrap the selected text in.
OptionalpriorityA numeric priority which determines whether this item is displayed as the dropdown title. Lower priority takes precedence.
OptionalstyleAn optional style to apply to the title text.
The description of the menu item.
A string identifier for this menu item.