The status
node is a mutable inline node that represents the state of work.
1 2{ "type": "status", "attrs": { "localId": "abcdef12-abcd-abcd-abcd-abcdef123456", "text": "In Progress", "color": "yellow" } }
status
is an inline node in the inlines group.
status
does not support any marks.
Name | Required | Type | Value | Notes |
---|---|---|---|---|
type | ✔ | string | "status" | |
attrs | ✔ | object | ||
attrs.localId | string | unique identifier, auto-generated | ||
attrs.text | ✔ | string | The textual representation of the status | |
attrs.color | ✔ | string | "neutral" | "purple" | "blue"| "red"| "yellow"| "green" | neutral is the default and represents the grey color |
Rate this page: