Skip to content

Instantly share code, notes, and snippets.

@shon
Created January 15, 2020 06:55
Show Gist options
  • Save shon/aba143e03c86242895ce5947c4ed62be to your computer and use it in GitHub Desktop.
Save shon/aba143e03c86242895ce5947c4ed62be to your computer and use it in GitHub Desktop.
For TiptapY testing
{
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Here is an example of simple formatted text"
}
]
},
{
"type": "paragraph",
"content": [
{
"type": "text",
"marks": [
{
"type": "bold"
}
],
"text": "Bold text "
},
{
"type": "text",
"marks": [
{
"type": "italic"
}
],
"text": "Italics"
}
]
},
{
"type": "bullet_list",
"content": [
{
"type": "list_item",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Un"
}
]
}
]
},
{
"type": "list_item",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "dos"
}
]
}
]
},
{
"type": "list_item",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "tres"
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment