prosekit/extensions/list
Interfaces
Section titled “Interfaces”ListAttrs
Section titled “ListAttrs”The attributes of a list node.
Properties
Section titled “Properties”-
checked?:
boolean
-
Whether the list node is checked if its
kind
is"task"
.
-
collapsed?:
boolean
-
Whether the list node is collapsed if its
kind
is"toggle"
.
-
kind?:
"toggle"
|"bullet"
|"ordered"
|"task"
-
The kind of list node.
-
order?:
null
|number
-
The optional order of the list node.
Functions
Section titled “Functions”defineList()
Section titled “defineList()”-
function defineList():
ListExtension