@blocknote/core
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
144 lines • 2.52 kB
JSON
[
{
"id": "1",
"type": "bulletListItem",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "a",
"styles": {}
}
],
"children": []
},
{
"id": "2",
"type": "bulletListItem",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "b",
"styles": {}
}
],
"children": []
},
{
"id": "3",
"type": "bulletListItem",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "c",
"styles": {}
}
],
"children": []
},
{
"id": "4",
"type": "bulletListItem",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "d",
"styles": {}
}
],
"children": []
},
{
"id": "5",
"type": "paragraph",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "anything",
"styles": {}
}
],
"children": []
},
{
"id": "6",
"type": "paragraph",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "link",
"href": "http://example.com",
"content": [
{
"type": "text",
"text": "a link",
"styles": {}
}
]
}
],
"children": []
},
{
"id": "7",
"type": "bulletListItem",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "another",
"styles": {}
}
],
"children": []
},
{
"id": "8",
"type": "bulletListItem",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "list",
"styles": {}
}
],
"children": []
}
]