WeKnora/examples/plugins/jira/testdata/adf.json

161 lines
3.2 KiB
JSON

{
"type": "doc",
"version": 1,
"content": [
{
"type": "heading",
"attrs": {
"level": 2
},
"content": [
{
"type": "text",
"text": "Plan"
}
]
},
{
"type": "bulletList",
"content": [
{
"type": "listItem",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "one"
}
]
},
{
"type": "orderedList",
"content": [
{
"type": "listItem",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "nested"
}
]
}
]
}
]
}
]
},
{
"type": "listItem",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "docs",
"marks": [
{
"type": "link",
"attrs": {
"href": "https://example.com"
}
}
]
},
{
"type": "text",
"text": " by "
},
{
"type": "mention",
"attrs": {
"text": "@Ann"
}
}
]
}
]
}
]
},
{
"type": "codeBlock",
"attrs": {
"language": "go"
},
"content": [
{
"type": "text",
"text": "x := 1"
}
]
},
{
"type": "table",
"content": [
{
"type": "tableRow",
"content": [
{
"type": "tableHeader",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "a|b"
}
]
}
]
}
]
},
{
"type": "tableRow",
"content": [
{
"type": "tableCell",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "1"
}
]
}
]
}
]
}
]
},
{
"type": "mediaSingle",
"content": [
{
"type": "media"
}
]
},
{
"type": "someFutureNode",
"content": [
{
"type": "text",
"text": "kept"
}
]
}
]
}