Node - status

Purpose

The status node is a mutable inline node that represents the state of work.

Examples

1
2
{
  "type": "status",
  "attrs": {
    "localId": "abcdef12-abcd-abcd-abcd-abcdef123456",
    "text": "In Progress",
    "color": "yellow"
  }
}

Content

status is an inline node in the inlines group.

Marks

status does not support any marks.

Fields

NameRequiredTypeValueNotes
typestring"status"
attrsobject
attrs.localIdstringunique identifier, auto-generated
attrs.textstringThe textual representation of the status
attrs.colorstring"neutral" | "purple" | "blue"| "red"| "yellow"| "green"neutral is the default and represents the grey color

Rate this page: