forked from ianstormtaylor/slate
-
Notifications
You must be signed in to change notification settings - Fork 2
/
value.json
38 lines (38 loc) · 1.11 KB
/
value.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"object": "value",
"document": {
"object": "document",
"nodes": [
{
"object": "block",
"type": "paragraph",
"nodes": [
{
"object": "text",
"text":
"In addition to nodes that contain editable text, you can also create other types of nodes, like images or videos."
}
]
},
{
"object": "block",
"type": "image",
"data": {
"src":
"https://img.washingtonpost.com/wp-apps/imrs.php?src=https://img.washingtonpost.com/news/speaking-of-science/wp-content/uploads/sites/36/2015/10/as12-49-7278-1024x1024.jpg&w=1484"
}
},
{
"object": "block",
"type": "paragraph",
"nodes": [
{
"object": "text",
"text":
"This example shows images in action. It features two ways to add images. You can either add an image via the toolbar icon above, or if you want in on a little secret, copy an image URL to your keyboard and paste it anywhere in the editor!"
}
]
}
]
}
}