equal
deleted
inserted
replaced
|
1 { |
|
2 "nodes": [ |
|
3 { |
|
4 "kind": "block", |
|
5 "type": "paragraph", |
|
6 "nodes": [ |
|
7 { |
|
8 "kind": "text", |
|
9 "ranges": [ |
|
10 { |
|
11 "text": "This is editable " |
|
12 }, |
|
13 { |
|
14 "text": "rich", |
|
15 "marks": [ |
|
16 { |
|
17 "type": "bold" |
|
18 } |
|
19 ] |
|
20 }, |
|
21 { |
|
22 "text": " text, " |
|
23 }, |
|
24 { |
|
25 "text": "much", |
|
26 "marks": [ |
|
27 { |
|
28 "type": "italic" |
|
29 } |
|
30 ] |
|
31 }, |
|
32 { |
|
33 "text": " better than a " |
|
34 }, |
|
35 { |
|
36 "text": "<textarea>", |
|
37 "marks": [ |
|
38 { |
|
39 "type": "code" |
|
40 } |
|
41 ] |
|
42 }, |
|
43 { |
|
44 "text": "!" |
|
45 } |
|
46 ] |
|
47 } |
|
48 ] |
|
49 }, |
|
50 { |
|
51 "kind": "block", |
|
52 "type": "paragraph", |
|
53 "nodes": [ |
|
54 { |
|
55 "kind": "text", |
|
56 "ranges": [ |
|
57 { |
|
58 "text": "Since it's rich text, you can do things like turn a selection of text " |
|
59 }, |
|
60 { |
|
61 "text": "bold", |
|
62 "marks": [ |
|
63 { |
|
64 "type": "bold" |
|
65 } |
|
66 ] |
|
67 },{ |
|
68 "text": ", or add a semantically rendered block quote in the middle of the page, like this:" |
|
69 } |
|
70 ] |
|
71 } |
|
72 ] |
|
73 }, |
|
74 { |
|
75 "kind": "block", |
|
76 "type": "block-quote", |
|
77 "nodes": [ |
|
78 { |
|
79 "kind": "text", |
|
80 "text": "A wise quote." |
|
81 } |
|
82 ] |
|
83 }, |
|
84 { |
|
85 "kind": "block", |
|
86 "type": "paragraph", |
|
87 "nodes": [ |
|
88 { |
|
89 "kind": "text", |
|
90 "text": "Try it out for yourself!" |
|
91 } |
|
92 ] |
|
93 } |
|
94 ] |
|
95 } |