Lists

List extensions add bullet lists, numbered lists, and task lists with checkboxes to the editor.

When you use them

  • Bullet points. Bullet list adds unordered lists, rendered as ul tags.
  • Numbered steps. Ordered list adds numbered lists, rendered as ol tags.
  • To-dos. Task list and Task item add tasks, each with a checkbox that people check off.
  • Editing lists. List keymap changes backspace at the start of a list item, so it lifts the content into the list item above.

How they work

  • A list is two nodes. Bullet list and Ordered list hold List items, and Task list holds Task items. Each list needs its item node. Nodes and marks
  • The List kit bundles them. The List kit holds Bullet list, List item, Ordered list, Task item, Task list, and List keymap.
  • The StarterKit has the basics. Bullet list, List item, Ordered list, and List keymap are part of the StarterKit; Task list and Task item are not.
  • Shortcuts. Typing - at the start of a line starts a bullet list, 1. an ordered list, and [ ] a task list. Tab nests a list item and Shift + Tab lifts it out. Keyboard shortcuts
  • Text blocks are the paragraphs, headings, and quotes around your lists.
  • Tables put content in rows and columns.