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