Skip to content

Interface: ToolbarState ​

Snapshot of a toolbar.

Properties ​

PropertyModifierTypeDescription
activereadonlyReadonly<Record<string, boolean>>Whether each toggle item (by id) is on. Only items with isActive have an entry.
enabledreadonlyReadonly<Record<string, boolean>>Whether each item's command (by id) can run now (editor.can()).
focusIdreadonlystring | nullThe item that holds the toolbar's single Tab stop.