mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
256 lines
7.3 KiB
256 lines
7.3 KiB
{
|
|
"type": "doc",
|
|
"content": [
|
|
{
|
|
"type": "heading",
|
|
"attrs": {
|
|
"level": 1
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Header"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Content with "
|
|
},
|
|
{
|
|
"type": "text",
|
|
"marks": [
|
|
{
|
|
"type": "bold"
|
|
}
|
|
],
|
|
"text": "bold"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"text": ", "
|
|
},
|
|
{
|
|
"type": "text",
|
|
"marks": [
|
|
{
|
|
"type": "italic"
|
|
}
|
|
],
|
|
"text": "italic"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"text": ", "
|
|
},
|
|
{
|
|
"type": "text",
|
|
"marks": [
|
|
{
|
|
"type": "underline"
|
|
}
|
|
],
|
|
"text": "underline"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"text": ", "
|
|
},
|
|
{
|
|
"type": "text",
|
|
"marks": [
|
|
{
|
|
"type": "code"
|
|
}
|
|
],
|
|
"text": "code"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"text": " and "
|
|
},
|
|
{
|
|
"type": "text",
|
|
"marks": [
|
|
{
|
|
"type": "className",
|
|
"attrs": {
|
|
"className": "text-left"
|
|
}
|
|
}
|
|
],
|
|
"text": "a class"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"text": "."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "blockquote",
|
|
"content": [
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Quote"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "codeBlock",
|
|
"attrs": {
|
|
"language": "javascript",
|
|
"wrap": false
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Code Block in Javascript"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Just another paragraph"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "horizontalRule"
|
|
},
|
|
{
|
|
"type": "bulletList",
|
|
"content": [
|
|
{
|
|
"type": "listItem",
|
|
"attrs": {
|
|
"closed": false,
|
|
"nested": false
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Item 1"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "listItem",
|
|
"attrs": {
|
|
"closed": false,
|
|
"nested": false
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Item 2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "orderedList",
|
|
"attrs": {
|
|
"order": 1
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "listItem",
|
|
"attrs": {
|
|
"closed": false,
|
|
"nested": false
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Item A"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "listItem",
|
|
"attrs": {
|
|
"closed": false,
|
|
"nested": false
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"text": "Item B"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{
|
|
"type": "text",
|
|
"marks": [
|
|
{
|
|
"type": "link",
|
|
"attrs": {
|
|
"href": "Link Content",
|
|
"target": null,
|
|
"auto": false
|
|
}
|
|
}
|
|
],
|
|
"text": "A link"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"content": [
|
|
{
|
|
"type": "image",
|
|
"attrs": {
|
|
"alt": "",
|
|
"crop": null,
|
|
"height": null,
|
|
"width": null,
|
|
"rotate": null,
|
|
"src": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/21/Adams_The_Tetons_and_the_Snake_River.jpg/1280px-Adams_The_Tetons_and_the_Snake_River.jpg",
|
|
"title": "My Image",
|
|
"fileName": null,
|
|
"resizable": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|