Function: ListsToggle()

ListsToggle(props, context?): ReactNode

A toolbar toggle that allows the user to toggle between bulleted, numbered, and check lists. Pressing the selected button will convert the current list to the other type. Pressing it again will remove the list. For this button to work, you need to have the listsPlugin plugin enabled.

Parameters

ParameterType
propsobject
props.options?("number" | "bullet" | "check")[]
context?any

Returns

ReactNode