The date
node displays a date in the user's locale.
date
is an inline node.
1 2{ "type": "date", "attrs": { "timestamp": "1582152559" } }
date
does not support any marks.
Name | Required | Type | Value |
---|---|---|---|
type | ✔ | string | "date" |
attrs | ✔ | object | |
attrs.timestamp | ✔ | string | " |
Rate this page: