Skip to content

Function: basicToolbarItems() ​

ts
function basicToolbarItems(options?): ToolbarItem[];

Toolbar items for the basic() preset, in display order with groups for separators. Labels come from messages (English by default).

Parameters ​

ParameterType
options?BasicToolbarItemsOptions

Returns ​

ToolbarItem[]

Example ​

ts
import uz from '@writeon/ui/locales/uz'
basicToolbarItems({ messages: uz, exclude: ['strike'] })