mirror of
https://github.com/codex-team/editor.js
synced 2024-06-16 04:35:50 +02:00
116 lines
4.3 KiB
JSON
116 lines
4.3 KiB
JSON
{
|
||
"data":[
|
||
{
|
||
"type":"text",
|
||
"data":{
|
||
"text":"<p>It's a text. It can be with <a href=\"http:\/\/tj.local\/redirect?url=http%3A%2F%2Fya.ru\" target=\"_blank\">link<\/a>. And <b>bold<\/b> and <i>italic.<\/i><\/p><p>We can use br here.<\/p><p>and paragraphs<\/p>",
|
||
"format":"html",
|
||
"introText":"<<<same>>>"
|
||
}
|
||
},
|
||
{
|
||
"type":"heading_styled",
|
||
"data":{
|
||
"text":"Header",
|
||
"format":"html",
|
||
"heading-styles":"h2"
|
||
}
|
||
},
|
||
{
|
||
"type":"heading_styled",
|
||
"data":{
|
||
"text":"little header",
|
||
"format":"html",
|
||
"heading-styles":"h4"
|
||
}
|
||
},
|
||
{
|
||
"type":"link_embed",
|
||
"data":{
|
||
"title":"",
|
||
"description":"",
|
||
"image":"",
|
||
"url":"https:\/\/new.vk.com\/feed"
|
||
}
|
||
},
|
||
{
|
||
"type":"image_extended",
|
||
"data":{
|
||
"background":false,
|
||
"border":false,
|
||
"isstretch":false,
|
||
"file":{
|
||
"url":"https:\/\/static39.cmtt.ru\/club\/66\/13\/cb\/3165d72648b97e.jpg",
|
||
"bigUrl":"https:\/\/static35.cmtt.ru\/club\/66\/88\/1b\/d990e3f617eb9b.jpg",
|
||
"width":1200,
|
||
"height":750,
|
||
"additionalData":"null"
|
||
},
|
||
"caption":"It's a caption. It will have b, i and a tags in future",
|
||
"cover":false
|
||
}
|
||
},
|
||
{
|
||
"type":"gallery",
|
||
"data":{
|
||
"background":false,
|
||
"border":false,
|
||
"isstretch":false,
|
||
"files":[
|
||
{
|
||
"url":"https:\/\/static39.cmtt.ru\/club\/7c\/f1\/ed\/6b139e871d1bce.jpg",
|
||
"bigUrl":"https:\/\/static36.cmtt.ru\/club\/4b\/40\/e8\/8c7e9d6941948c.jpg",
|
||
"width":1080,
|
||
"height":1080,
|
||
"caption":"caption1"
|
||
},
|
||
{
|
||
"url":"https:\/\/static35.cmtt.ru\/club\/e7\/ec\/6b\/c43f8f0f694341.jpg",
|
||
"bigUrl":"https:\/\/static35.cmtt.ru\/club\/53\/b2\/d2\/a633e11246a1bb.jpg",
|
||
"width":1200,
|
||
"height":1200,
|
||
"caption":"caption2"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"type":"video_extended",
|
||
"data":{
|
||
"source":"youtube",
|
||
"remote_id":"SqmAjcAPBpA",
|
||
"thumbnailUrl":"http:\/\/tj.local\/preview\/youtube\/SqmAjcAPBpA",
|
||
"time":0,
|
||
"width":800,
|
||
"height":450
|
||
}
|
||
},
|
||
{
|
||
"type":"quote_styled",
|
||
"data":{
|
||
"text":"<p>Quote <a href=\"http:\/\/tj.local\/redirect?url=http%3A%2F%2Fya.ru\" target=\"_blank\">text<\/a><\/p><p>Bold <i>etc<\/i><\/p>",
|
||
"format":"html",
|
||
"cite":"Author",
|
||
"size":"small"
|
||
}
|
||
},
|
||
{
|
||
"type":"tweet",
|
||
"data":{
|
||
"media":true,
|
||
"conversation":false,
|
||
"user":{
|
||
"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/1817165982\/nikita-likhachev-512_normal.jpg",
|
||
"profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/1817165982\/nikita-likhachev-512_normal.jpg",
|
||
"screen_name":"Niketas",
|
||
"name":"Никита Лихачёв"
|
||
},
|
||
"id":747793978511101953,
|
||
"text":"ВНИМАНИЕ ЧИТАТЬ ВСЕМ НЕ ДАЙ БОГ ПРОПУСТИТЕ НУ ИЛИ ХОТЯ БЫ КЛИКНИ И ПОДОЖДИ 15 СЕКУНД https:\/\/t.co\/iWyOHf4xr2",
|
||
"created_at":"Tue Jun 28 14:09:12 +0000 2016",
|
||
"status_url":"https:\/\/twitter.com\/Niketas\/status\/747793978511101953",
|
||
"caption":"Caption"
|
||
}
|
||
}
|
||
]
|
||
} |