ckeditor5-elements / ElementMenuItem
Type Alias: ElementMenuItem
ts
type ElementMenuItem =
| ElementOrPositionCommand
| ElementSubmenu
| "|";An item of an element menu:
- a command, shown as a button with its
titleandicon, enabled and "on" according to its state for the element, - a submenu,
'|', a separator. Separators at the start or the end of a menu, and repeated ones, are not shown, so a group of items can start with one.