Ritext
Extensions

Task List

Create interactive checkbox task lists.

The TaskList extension adds interactive checkbox task lists. Each list item has a checkbox that can be toggled to mark it as done.

Import

import { TaskList } from 'ritext/extension/tasklist';

Requirements

import { ListItem } from 'ritext/extension/base';

const extensions = [ListItem, TaskList];

Usage

const extensions = [ListItem, TaskList];

Features

  • Checkbox per list item
  • Checked items get a strikethrough style
  • Items use data-checked attribute for styling

Options

Prop

Type

Keyboard Shortcut

ActionWindows / LinuxmacOS
Toggle Task ListCtrl+Shift+9⌘+Shift+9

On this page