Installation
Usage
The BulletList extension is included in the StarterKit by default:Configuration
itemTypeName
The node name for list items.string
default:"'listItem'"
Specifies which node type to use for list items.
HTMLAttributes
Custom HTML attributes to add to the bullet list element.Record<string, any>
default:"{}"
Custom HTML attributes that should be added to the rendered HTML tag.
keepMarks
Keep marks when splitting the list.boolean
default:"false"
Whether to preserve text marks when creating new list items.
keepAttributes
Keep attributes when splitting the list.boolean
default:"false"
Whether to preserve attributes when creating new list items.
Commands
toggleBulletList
Toggles a bullet list. If the current node is already a bullet list, it converts it to paragraphs.Keyboard Shortcuts
- Mod-Shift-8: Toggle bullet list
Input Rules
The BulletList extension supports Markdown-style input rules:- Type
-followed by a space to create a bullet list - Type
*followed by a space to create a bullet list - Type
+followed by a space to create a bullet list
Related Extensions
- ListItem - Required for bullet lists
- OrderedList - For numbered lists