Home > @uniformdev/design-system > useRichTextToolbarState

useRichTextToolbarState() function

Signature:

Parameters

ParameterTypeDescription
{ config }UseRichTextToolbarStateProps

Returns:

{ activeFormats: _uniformdev_richtext.RichTextBuiltInFormat; }[]; isLink: boolean; setIsLink: React$1.Dispatch<React$1.SetStateAction<boolean>>; linkElementVisible: boolean; visibleLists: Set<string>; quoteElementVisible: boolean; codeElementVisible: boolean; tableElementVisible: boolean; assetElementVisible: boolean; visibleElementsWithIcons: Set<string>; visibleInsertElementsWithIcons: Set<string>; }