@blocknote/core
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
72 lines • 1.32 kB
JSON
[
{
"id": "1",
"type": "heading",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left",
"level": 1
},
"content": [
{
"type": "text",
"text": "Heading",
"styles": {}
}
],
"children": []
},
{
"id": "2",
"type": "paragraph",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "Paragraph",
"styles": {}
}
],
"children": []
},
{
"id": "3",
"type": "bulletListItem",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "Bullet List Item",
"styles": {}
}
],
"children": [
{
"id": "4",
"type": "numberedListItem",
"props": {
"textColor": "default",
"backgroundColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "Numbered List Item",
"styles": {}
}
],
"children": []
}
]
}
]