Skip to main content

extension-list

Home > @remirror/extension-list

extension-list package

Classes

ClassDescription
BulletListExtensionCreate the node for a bullet list.
ListItemExtensionCreates the node for a list item.
ListItemSharedExtensionProvides some shared thing used by both listItem and taskListItem
OrderedListExtensionCreates the list for the ordered list.
TaskListExtensionCreate the node for a task list.
TaskListItemExtensionCreates the node for a task list item.

Functions

FunctionDescription
dedentList(tr)(BETA) A helper function to dedent selected list items.
indentList(tr)(BETA) A helper function to indent selected list items.
sharedLiftListItem(allExtensions)Create a command to lift the list item around the selection up intoa wrapping list. Use this function if you get multiple list item nodes in your schema.
sharedSinkListItem(allExtensions)Create a command to sink the list item around the selection down into an inner list. Use this function if you get multiple list item nodes in your schema.
toggleList(listType, itemType)Toggles a list.