toolbar option, and the editor renders the corresponding controls. There is no separate plugin registration or imperative API needed for built-in commands: if a command name appears in the array, the button appears in the UI; if it does not, the button is absent.
Toolbar format
Thetoolbar option accepts an array of groups. Each group is itself an array of command name strings. The editor renders a visual divider between groups, giving you a natural way to separate related controls:
Built-in commands
Lumen Editor ships with 17 built-in commands that cover the most common rich text needs.Minimal toolbar example
For lightweight editing surfaces — such as a comment box or a short bio field — you might only need a handful of commands:Disabling the toolbar
Pass an empty array to hide the toolbar entirely and present a clean, toolbar-free editing surface:toolbar key altogether, in which case the editor falls back to its built-in default group arrangement.