forked from ianstormtaylor/slate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
value.json
86 lines (86 loc) · 1.84 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"objcet": "value",
"document": {
"object": "document",
"nodes": [
{
"object": "block",
"type": "paragraph",
"nodes": [
{
"object": "text",
"text": "This is editable "
},
{
"object": "text",
"text": "rich",
"marks": [{ "type": "bold" }]
},
{
"object": "text",
"text": " text, "
},
{
"object": "text",
"text": "much",
"marks": [{ "type": "italic" }]
},
{
"object": "text",
"text": " better than a "
},
{
"object": "text",
"text": "<textarea>",
"marks": [{ "type": "code" }]
},
{
"object": "text",
"text": "!"
}
]
},
{
"object": "block",
"type": "paragraph",
"nodes": [
{
"object": "text",
"text":
"Since it's rich text, you can do things like turn a selection of text "
},
{
"object": "text",
"text": "bold",
"marks": [{ "type": "bold" }]
},
{
"object": "text",
"text":
", or add a semantically rendered block quote in the middle of the page, like this:"
}
]
},
{
"object": "block",
"type": "block-quote",
"nodes": [
{
"object": "text",
"text": "A wise quote."
}
]
},
{
"object": "block",
"type": "paragraph",
"nodes": [
{
"object": "text",
"text": "Try it out for yourself!"
}
]
}
]
}
}