Skip to content

Instantly share code, notes, and snippets.

@thomsbg
Forked from gmac/entry_body_parse.json
Created April 2, 2020 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomsbg/ba398be5b8bf426f275e3847dc611bc9 to your computer and use it in GitHub Desktop.
Save thomsbg/ba398be5b8bf426f275e3847dc611bc9 to your computer and use it in GitHub Desktop.
[
{
"type": "EntryBodyParagraphComponent",
"ops": [
{
"insert": "a man ",
"attributes": {}
},
{
"insert": "a plan",
"attributes": {
"italic": true
}
},
{
"insert": " ",
"attributes": {}
},
{
"insert": "panama",
"attributes": {
"bold": true
}
}
],
"attributes": {}
},
{
"type": "EntryBodyParagraphComponent",
"ops": [
{
"insert": "hello",
"attributes": {
"italic": true
}
},
{
"insert": " goodbye",
"attributes": {}
}
],
"attributes": {}
},
{
"type": "EntryBodyParagraphComponent",
"ops": [
{
"insert": "bold",
"attributes": {
"bold": true
}
},
{
"insert": " ",
"attributes": {}
},
{
"insert": "insert",
"attributes": {}
},
{
"insert": " ",
"attributes": {}
},
{
"insert": "italic",
"attributes": {
"italic": true
}
},
{
"insert": " ",
"attributes": {}
},
{
"insert": "small",
"attributes": {
"small": true
}
},
{
"insert": " ",
"attributes": {}
},
{
"insert": "strike",
"attributes": {
"strike": true
}
},
{
"insert": " ",
"attributes": {}
},
{
"insert": "subscript",
"attributes": {
"subscript": true
}
},
{
"insert": " ",
"attributes": {}
},
{
"insert": "superscript",
"attributes": {
"superscript": true
}
}
],
"attributes": {}
},
{
"type": "EntryBodyGroupingComponent",
"items": [
{
"type": "EntryBodyHTMLComponent",
"ops": [
{
"insert": {
"image": {
"src": "https://placekitten.com/200/150"
}
},
"attributes": {}
}
],
"attributes": {
"grouping": "2-up"
}
},
{
"type": "EntryBodyHTMLComponent",
"ops": [
{
"insert": {
"image": {
"src": "https://placekitten.com/200/150"
}
},
"attributes": {}
}
],
"attributes": {
"grouping": "2-up"
}
}
]
},
{
"type": "EntryBodyParagraphComponent",
"ops": [
{
"insert": "a man ",
"attributes": {}
},
{
"insert": "a plan",
"attributes": {
"bold": true,
"italic": true,
"link": "https://visitpanama.com"
}
}
],
"attributes": {}
},
{
"type": "EntryBodyListComponent",
"items": [
{
"type": "EntryBodyListItemComponent",
"ops": [
{
"insert": "helium",
"attributes": {}
}
],
"attributes": {
"list": true
}
},
{
"type": "EntryBodyListItemComponent",
"ops": [
{
"insert": "neon",
"attributes": {}
}
],
"attributes": {
"list": true
}
}
]
},
{
"type": "EntryBodyListComponent",
"items": [
{
"type": "EntryBodyListItemComponent",
"ops": [
{
"insert": "argon",
"attributes": {}
}
],
"attributes": {
"bullet": true
}
},
{
"type": "EntryBodyListItemComponent",
"ops": [
{
"insert": "krypton",
"attributes": {}
}
],
"attributes": {
"bullet": true
}
}
]
},
{
"type": "EntryBodyHeaderComponent",
"ops": [
{
"insert": "h1",
"attributes": {}
}
],
"attributes": {
"firstheader": true
}
},
{
"type": "EntryBodyHeaderComponent",
"ops": [
{
"insert": "h2",
"attributes": {}
}
],
"attributes": {
"secondheader": true
}
},
{
"type": "EntryBodyHeaderComponent",
"ops": [
{
"insert": "h3",
"attributes": {}
}
],
"attributes": {
"thirdheader": true
}
},
{
"type": "EntryBodyHeaderComponent",
"ops": [
{
"insert": "h4",
"attributes": {}
}
],
"attributes": {
"fourthheader": true
}
},
{
"type": "EntryBodyHeaderComponent",
"ops": [
{
"insert": "h5",
"attributes": {}
}
],
"attributes": {
"fifthheader": true
}
},
{
"type": "EntryBodyHeaderComponent",
"ops": [
{
"insert": "h6",
"attributes": {}
}
],
"attributes": {}
},
{
"type": "EntryBodyParagraphComponent",
"ops": [
{
"insert": "mali principii",
"attributes": {}
}
],
"attributes": {}
},
{
"type": "EntryBodyParagraphComponent",
"ops": [
{
"insert": "malus finis",
"attributes": {}
}
],
"attributes": {
"blockquote": true
}
},
{
"type": "EntryBodyParagraphComponent",
"ops": [
{
"insert": "a man",
"attributes": {}
},
{
"insert": "\n",
"attributes": {
"br": true
}
},
{
"insert": "a plan",
"attributes": {}
},
{
"insert": "\n",
"attributes": {
"br": true
}
},
{
"insert": "panama",
"attributes": {}
}
],
"attributes": {}
},
{
"type": "EntryBodyParagraphComponent",
"ops": [
{
"insert": "a man",
"attributes": {}
}
],
"attributes": {}
},
{
"type": "EntryBodyHTMLComponent",
"ops": [
{
"insert": {
"hr": true
},
"attributes": {}
}
],
"attributes": {}
},
{
"type": "EntryBodyParagraphComponent",
"ops": [
{
"insert": "a plan",
"attributes": {}
},
{
"insert": "mali principii",
"attributes": {}
}
],
"attributes": {
"id": "mali"
}
},
{
"type": "EntryBodyHTMLComponent",
"ops": [
{
"insert": {
"image": {
"src": "https://placekitten.com/200/150"
}
},
"attributes": {}
}
],
"attributes": {}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment