TaskItemToggleExtension

See source code

Cmd/Ctrl+Enter ticks the task item the cursor sits in, or every item the selection touches. They all take the first item's new state, so one press reads as a single toggle rather than inverting each item separately.

Shapes bind Cmd+Enter too (finishing the edit, adding the next note), and their key handlers run ahead of this keymap. RichTextArea doesn't pass the chord to them while the selection is in a task item, so this works in any shape that edits rich text, custom shapes included.

TaskItemToggleExtension: Extension<any, any>;
Prev
RTL_LANGUAGES
Next
tipTapDefaultExtensions