• Live demo
  • Docs
  • API Reference
GitHub
@mdxeditor/editor package
Classes
Functions
Types
Interfaces
Variables
AdmonitionDirectiveDescriptor
BlockTypeSelect
BoldItalicUnderlineToggles
Button
ButtonOrDropdownButton
ButtonWithTooltip
CAN_USE_DOM
ChangeAdmonitionType
ChangeCodeMirrorLanguage
CodeMirrorEditor
CodeToggle
ConditionalContents
coreSystem
CreateLink
DialogButton
DiffSourceToggleWrapper
GenericDirectiveEditor
GenericJsxEditor
headingsPlugin
headingsPluginHooks
InsertAdmonition
InsertCodeBlock
InsertFrontmatter
InsertImage
InsertSandpack
InsertTable
InsertThematicBreak
IS_APPLE
KitchenSinkToolbar
ListsToggle
MDXEditor
MultipleChoiceToggleGroup
NestedEditorsContext
NestedLexicalEditor
PropertyPopover
Select
Separator
ShowSandpackInfo
SingleChoiceToggleGroup
TooltipWrap
UndoRedo
WHITESPACE_MARKER

ListsToggle variable

A toolbar toggle that allows the user to toggle between bulleted and numbered 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.

Signature:

ListsToggle: React.FC
  • ListsToggle variable
Copyright © 2023 Petyo Ivanov
  • GitHub
  • Twitter
  • LinkedIn
  • Email