@blocknote/core
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
124 lines • 2.33 kB
HTML
[
{
"children": [],
"content": [
{
"styles": {},
"text": "Paragraph",
"type": "text",
},
],
"id": "0",
"props": {
"backgroundColor": "default",
"textAlignment": "left",
"textColor": "default",
},
"type": "paragraph",
},
{
"children": [],
"content": {
"columnWidths": [
undefined,
undefined,
undefined,
],
"rows": [
{
"cells": [
[
{
"styles": {},
"text": "Table Cell",
"type": "text",
},
],
[
{
"styles": {},
"text": "Table Cell",
"type": "text",
},
],
[],
],
},
{
"cells": [
[
{
"styles": {},
"text": "Table Cell",
"type": "text",
},
],
[
{
"styles": {},
"text": "Cell 1",
"type": "text",
},
],
[
{
"styles": {},
"text": "Cell 2",
"type": "text",
},
],
],
},
{
"cells": [
[],
[
{
"styles": {},
"text": "Cell 3",
"type": "text",
},
],
[
{
"styles": {},
"text": "Cell 4",
"type": "text",
},
],
],
},
],
"type": "tableContent",
},
"id": "1",
"props": {
"textColor": "default",
},
"type": "table",
},
{
"children": [],
"content": [
{
"styles": {},
"text": "Custom Paragraph",
"type": "text",
},
],
"id": "2",
"props": {},
"type": "customParagraph",
},
{
"children": [],
"content": [],
"id": "3",
"props": {
"backgroundColor": "default",
"textAlignment": "left",
"textColor": "default",
},
"type": "paragraph",
},
]