@blocknote/core
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
129 lines • 2.81 kB
JSON
[
{
"block": {
"children": [],
"content": [
{
"styles": {},
"text": "C",
"type": "text",
},
],
"id": "double-nested-paragraph-0",
"props": {
"backgroundColor": "default",
"textAlignment": "left",
"textColor": "default",
},
"type": "paragraph",
},
"currentParent": {
"children": [
{
"children": [],
"content": [
{
"styles": {},
"text": "C",
"type": "text",
},
],
"id": "double-nested-paragraph-0",
"props": {
"backgroundColor": "default",
"textAlignment": "left",
"textColor": "default",
},
"type": "paragraph",
},
],
"content": [
{
"styles": {},
"text": "B",
"type": "text",
},
],
"id": "nested-paragraph-0",
"props": {
"backgroundColor": "default",
"textAlignment": "left",
"textColor": "default",
},
"type": "paragraph",
},
"prevBlock": {
"children": [],
"content": [
{
"styles": {},
"text": "C",
"type": "text",
},
],
"id": "double-nested-paragraph-0",
"props": {
"backgroundColor": "default",
"textAlignment": "left",
"textColor": "default",
},
"type": "paragraph",
},
"prevParent": {
"children": [
{
"children": [],
"content": [
{
"styles": {},
"text": "B",
"type": "text",
},
],
"id": "nested-paragraph-0",
"props": {
"backgroundColor": "default",
"textAlignment": "left",
"textColor": "default",
},
"type": "paragraph",
},
{
"children": [],
"content": [
{
"styles": {},
"text": "C",
"type": "text",
},
],
"id": "double-nested-paragraph-0",
"props": {
"backgroundColor": "default",
"textAlignment": "left",
"textColor": "default",
},
"type": "paragraph",
},
],
"content": [
{
"styles": {},
"text": "A",
"type": "text",
},
],
"id": "paragraph-with-children",
"props": {
"backgroundColor": "default",
"textAlignment": "left",
"textColor": "default",
},
"type": "paragraph",
},
"source": {
"type": "local",
},
"type": "move",
},
]