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