@blocknote/core 0.15.11 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blocknote.js +888 -844
- package/dist/blocknote.js.map +1 -1
- package/dist/blocknote.umd.cjs +5 -5
- package/dist/blocknote.umd.cjs.map +1 -1
- package/dist/webpack-stats.json +1 -1
- package/package.json +2 -2
- package/src/api/clipboard/__snapshots__/childToParent.html +1 -0
- package/src/api/clipboard/__snapshots__/childrenToNextParent.html +1 -0
- package/src/api/clipboard/__snapshots__/childrenToNextParentsChildren.html +1 -0
- package/src/api/clipboard/__snapshots__/image.html +1 -0
- package/src/api/clipboard/__snapshots__/multipleStyledText.html +1 -0
- package/src/api/clipboard/__snapshots__/nestedImage.html +1 -0
- package/src/api/clipboard/__snapshots__/partialChildToParent.html +1 -0
- package/src/api/clipboard/__snapshots__/styledText.html +1 -0
- package/src/api/clipboard/__snapshots__/tableAllCells.html +1 -0
- package/src/api/clipboard/__snapshots__/tableCell.html +1 -0
- package/src/api/clipboard/__snapshots__/tableCellText.html +1 -0
- package/src/api/clipboard/__snapshots__/tableRow.html +1 -0
- package/src/api/clipboard/__snapshots__/unstyledText.html +1 -0
- package/src/api/clipboard/clipboard.test.ts +284 -0
- package/src/api/{parsers → clipboard/fromClipboard}/fileDropExtension.ts +2 -2
- package/src/api/{parsers → clipboard/fromClipboard}/handleFileInsertion.ts +4 -4
- package/src/api/{parsers → clipboard/fromClipboard}/pasteExtension.ts +14 -7
- package/src/api/{exporters → clipboard/toClipboard}/copyExtension.ts +70 -43
- package/src/api/exporters/html/externalHTMLExporter.ts +14 -7
- package/src/api/exporters/html/htmlConversion.test.ts +4 -147
- package/src/api/exporters/html/internalHTMLSerializer.ts +5 -2
- package/src/api/parsers/html/parseHTML.test.ts +3 -6
- package/src/api/parsers/markdown/__snapshots__/pasted/complex.json +319 -0
- package/src/api/parsers/markdown/__snapshots__/pasted/issue-226-1.json +81 -0
- package/src/api/parsers/{html/__snapshots__/paste/parse-deep-nested-content.json → markdown/__snapshots__/pasted/issue-226-2.json} +35 -110
- package/src/api/parsers/markdown/__snapshots__/pasted/nested.json +81 -0
- package/src/api/parsers/markdown/__snapshots__/pasted/non-nested.json +81 -0
- package/src/api/parsers/markdown/__snapshots__/pasted/styled.json +61 -0
- package/src/api/parsers/markdown/parseMarkdown.test.ts +15 -0
- package/src/api/testUtil/paste.ts +46 -0
- package/src/blocks/TableBlockContent/TableBlockContent.ts +0 -1
- package/src/editor/BlockNoteExtensions.ts +3 -3
- package/src/editor/transformPasted.ts +34 -2
- package/src/extensions/SideMenu/SideMenuPlugin.ts +6 -7
- package/src/schema/blocks/createSpec.ts +16 -7
- package/types/src/api/clipboard/clipboard.test.d.ts +1 -0
- package/types/src/api/clipboard/fromClipboard/fileDropExtension.d.ts +6 -0
- package/types/src/api/{parsers → clipboard/fromClipboard}/handleFileInsertion.d.ts +2 -2
- package/types/src/api/clipboard/fromClipboard/pasteExtension.d.ts +6 -0
- package/types/src/api/clipboard/toClipboard/copyExtension.d.ts +12 -0
- package/types/src/api/exporters/html/externalHTMLExporter.d.ts +1 -0
- package/types/src/api/testUtil/paste.d.ts +2 -0
- package/types/src/editor/transformPasted.d.ts +8 -1
- package/src/api/exporters/html/__snapshots_fragment_edge_cases__/selectionLeavesBlockChildren.html +0 -1
- package/src/api/exporters/html/__snapshots_fragment_edge_cases__/selectionSpansBlocksChildren.html +0 -1
- package/src/api/parsers/html/__snapshots__/paste/parse-google-docs-html.json +0 -476
- package/types/src/api/exporters/copyExtension.d.ts +0 -6
- package/types/src/api/parsers/fileDropExtension.d.ts +0 -6
- package/types/src/api/parsers/pasteExtension.d.ts +0 -6
- /package/src/api/{exporters/html/__snapshots_fragment_edge_cases__/selectionWithinBlockChildren.html → clipboard/__snapshots__/multipleChildren.html} +0 -0
- /package/src/api/{parsers → clipboard/fromClipboard}/acceptedMIMETypes.ts +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/list-test.json → list-test.json} +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/parse-basic-block-types.json → parse-basic-block-types.json} +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/parse-div-with-inline-content.json → parse-div-with-inline-content.json} +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/parse-divs.json → parse-divs.json} +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/parse-fake-image-caption.json → parse-fake-image-caption.json} +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/parse-image-in-paragraph.json → parse-image-in-paragraph.json} +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/parse-mixed-nested-lists.json → parse-mixed-nested-lists.json} +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/parse-nested-lists-with-paragraphs.json → parse-nested-lists-with-paragraphs.json} +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/parse-nested-lists.json → parse-nested-lists.json} +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/parse-notion-html.json → parse-notion-html.json} +0 -0
- /package/src/api/parsers/html/__snapshots__/{paste/parse-two-divs.json → parse-two-divs.json} +0 -0
- /package/types/src/api/{parsers → clipboard/fromClipboard}/acceptedMIMETypes.d.ts +0 -0
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "19",
|
|
4
|
+
"type": "paragraph",
|
|
5
|
+
"props": {
|
|
6
|
+
"textColor": "default",
|
|
7
|
+
"backgroundColor": "default",
|
|
8
|
+
"textAlignment": "left"
|
|
9
|
+
},
|
|
10
|
+
"content": [
|
|
11
|
+
{
|
|
12
|
+
"type": "text",
|
|
13
|
+
"text": "# Heading 1",
|
|
14
|
+
"styles": {}
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"children": []
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "20",
|
|
21
|
+
"type": "paragraph",
|
|
22
|
+
"props": {
|
|
23
|
+
"textColor": "default",
|
|
24
|
+
"backgroundColor": "default",
|
|
25
|
+
"textAlignment": "left"
|
|
26
|
+
},
|
|
27
|
+
"content": [
|
|
28
|
+
{
|
|
29
|
+
"type": "text",
|
|
30
|
+
"text": "## Heading 2",
|
|
31
|
+
"styles": {}
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"children": []
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "21",
|
|
38
|
+
"type": "paragraph",
|
|
39
|
+
"props": {
|
|
40
|
+
"textColor": "default",
|
|
41
|
+
"backgroundColor": "default",
|
|
42
|
+
"textAlignment": "left"
|
|
43
|
+
},
|
|
44
|
+
"content": [
|
|
45
|
+
{
|
|
46
|
+
"type": "text",
|
|
47
|
+
"text": "### Heading 3",
|
|
48
|
+
"styles": {}
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"children": []
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "22",
|
|
55
|
+
"type": "paragraph",
|
|
56
|
+
"props": {
|
|
57
|
+
"textColor": "default",
|
|
58
|
+
"backgroundColor": "default",
|
|
59
|
+
"textAlignment": "left"
|
|
60
|
+
},
|
|
61
|
+
"content": [
|
|
62
|
+
{
|
|
63
|
+
"type": "text",
|
|
64
|
+
"text": "Paragraph",
|
|
65
|
+
"styles": {}
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"children": []
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "23",
|
|
72
|
+
"type": "paragraph",
|
|
73
|
+
"props": {
|
|
74
|
+
"textColor": "default",
|
|
75
|
+
"backgroundColor": "default",
|
|
76
|
+
"textAlignment": "left"
|
|
77
|
+
},
|
|
78
|
+
"content": [
|
|
79
|
+
{
|
|
80
|
+
"type": "text",
|
|
81
|
+
"text": "P**ara***grap*h",
|
|
82
|
+
"styles": {}
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"children": []
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "24",
|
|
89
|
+
"type": "paragraph",
|
|
90
|
+
"props": {
|
|
91
|
+
"textColor": "default",
|
|
92
|
+
"backgroundColor": "default",
|
|
93
|
+
"textAlignment": "left"
|
|
94
|
+
},
|
|
95
|
+
"content": [
|
|
96
|
+
{
|
|
97
|
+
"type": "text",
|
|
98
|
+
"text": "P*ara*~~grap~~h",
|
|
99
|
+
"styles": {}
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"children": []
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "25",
|
|
106
|
+
"type": "paragraph",
|
|
107
|
+
"props": {
|
|
108
|
+
"textColor": "default",
|
|
109
|
+
"backgroundColor": "default",
|
|
110
|
+
"textAlignment": "left"
|
|
111
|
+
},
|
|
112
|
+
"content": [
|
|
113
|
+
{
|
|
114
|
+
"type": "text",
|
|
115
|
+
"text": "* Bullet List Item",
|
|
116
|
+
"styles": {}
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"children": []
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "26",
|
|
123
|
+
"type": "paragraph",
|
|
124
|
+
"props": {
|
|
125
|
+
"textColor": "default",
|
|
126
|
+
"backgroundColor": "default",
|
|
127
|
+
"textAlignment": "left"
|
|
128
|
+
},
|
|
129
|
+
"content": [
|
|
130
|
+
{
|
|
131
|
+
"type": "text",
|
|
132
|
+
"text": "* Bullet List Item",
|
|
133
|
+
"styles": {}
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"children": []
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "27",
|
|
140
|
+
"type": "paragraph",
|
|
141
|
+
"props": {
|
|
142
|
+
"textColor": "default",
|
|
143
|
+
"backgroundColor": "default",
|
|
144
|
+
"textAlignment": "left"
|
|
145
|
+
},
|
|
146
|
+
"content": [
|
|
147
|
+
{
|
|
148
|
+
"type": "text",
|
|
149
|
+
"text": " * Bullet List Item",
|
|
150
|
+
"styles": {}
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"children": []
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "28",
|
|
157
|
+
"type": "paragraph",
|
|
158
|
+
"props": {
|
|
159
|
+
"textColor": "default",
|
|
160
|
+
"backgroundColor": "default",
|
|
161
|
+
"textAlignment": "left"
|
|
162
|
+
},
|
|
163
|
+
"content": [
|
|
164
|
+
{
|
|
165
|
+
"type": "text",
|
|
166
|
+
"text": " * Bullet List Item",
|
|
167
|
+
"styles": {}
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"children": []
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "29",
|
|
174
|
+
"type": "paragraph",
|
|
175
|
+
"props": {
|
|
176
|
+
"textColor": "default",
|
|
177
|
+
"backgroundColor": "default",
|
|
178
|
+
"textAlignment": "left"
|
|
179
|
+
},
|
|
180
|
+
"content": [
|
|
181
|
+
{
|
|
182
|
+
"type": "text",
|
|
183
|
+
"text": " Paragraph",
|
|
184
|
+
"styles": {}
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"children": []
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "30",
|
|
191
|
+
"type": "paragraph",
|
|
192
|
+
"props": {
|
|
193
|
+
"textColor": "default",
|
|
194
|
+
"backgroundColor": "default",
|
|
195
|
+
"textAlignment": "left"
|
|
196
|
+
},
|
|
197
|
+
"content": [
|
|
198
|
+
{
|
|
199
|
+
"type": "text",
|
|
200
|
+
"text": " 1. Numbered List Item",
|
|
201
|
+
"styles": {}
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"children": []
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "31",
|
|
208
|
+
"type": "paragraph",
|
|
209
|
+
"props": {
|
|
210
|
+
"textColor": "default",
|
|
211
|
+
"backgroundColor": "default",
|
|
212
|
+
"textAlignment": "left"
|
|
213
|
+
},
|
|
214
|
+
"content": [
|
|
215
|
+
{
|
|
216
|
+
"type": "text",
|
|
217
|
+
"text": " 2. Numbered List Item",
|
|
218
|
+
"styles": {}
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"children": []
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"id": "32",
|
|
225
|
+
"type": "paragraph",
|
|
226
|
+
"props": {
|
|
227
|
+
"textColor": "default",
|
|
228
|
+
"backgroundColor": "default",
|
|
229
|
+
"textAlignment": "left"
|
|
230
|
+
},
|
|
231
|
+
"content": [
|
|
232
|
+
{
|
|
233
|
+
"type": "text",
|
|
234
|
+
"text": " 3. Numbered List Item",
|
|
235
|
+
"styles": {}
|
|
236
|
+
}
|
|
237
|
+
],
|
|
238
|
+
"children": []
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "33",
|
|
242
|
+
"type": "paragraph",
|
|
243
|
+
"props": {
|
|
244
|
+
"textColor": "default",
|
|
245
|
+
"backgroundColor": "default",
|
|
246
|
+
"textAlignment": "left"
|
|
247
|
+
},
|
|
248
|
+
"content": [
|
|
249
|
+
{
|
|
250
|
+
"type": "text",
|
|
251
|
+
"text": " 1. Numbered List Item",
|
|
252
|
+
"styles": {}
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"children": []
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "34",
|
|
259
|
+
"type": "paragraph",
|
|
260
|
+
"props": {
|
|
261
|
+
"textColor": "default",
|
|
262
|
+
"backgroundColor": "default",
|
|
263
|
+
"textAlignment": "left"
|
|
264
|
+
},
|
|
265
|
+
"content": [
|
|
266
|
+
{
|
|
267
|
+
"type": "text",
|
|
268
|
+
"text": " * Bullet List Item",
|
|
269
|
+
"styles": {}
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"children": []
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"id": "35",
|
|
276
|
+
"type": "paragraph",
|
|
277
|
+
"props": {
|
|
278
|
+
"textColor": "default",
|
|
279
|
+
"backgroundColor": "default",
|
|
280
|
+
"textAlignment": "left"
|
|
281
|
+
},
|
|
282
|
+
"content": [
|
|
283
|
+
{
|
|
284
|
+
"type": "text",
|
|
285
|
+
"text": " * Bullet List Item",
|
|
286
|
+
"styles": {}
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"children": []
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"id": "36",
|
|
293
|
+
"type": "paragraph",
|
|
294
|
+
"props": {
|
|
295
|
+
"textColor": "default",
|
|
296
|
+
"backgroundColor": "default",
|
|
297
|
+
"textAlignment": "left"
|
|
298
|
+
},
|
|
299
|
+
"content": [
|
|
300
|
+
{
|
|
301
|
+
"type": "text",
|
|
302
|
+
"text": "* Bullet List Item",
|
|
303
|
+
"styles": {}
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"children": []
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"id": "37",
|
|
310
|
+
"type": "paragraph",
|
|
311
|
+
"props": {
|
|
312
|
+
"textColor": "default",
|
|
313
|
+
"backgroundColor": "default",
|
|
314
|
+
"textAlignment": "left"
|
|
315
|
+
},
|
|
316
|
+
"content": [],
|
|
317
|
+
"children": []
|
|
318
|
+
}
|
|
319
|
+
]
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "5",
|
|
4
|
+
"type": "paragraph",
|
|
5
|
+
"props": {
|
|
6
|
+
"textColor": "default",
|
|
7
|
+
"backgroundColor": "default",
|
|
8
|
+
"textAlignment": "left"
|
|
9
|
+
},
|
|
10
|
+
"content": [
|
|
11
|
+
{
|
|
12
|
+
"type": "text",
|
|
13
|
+
"text": "- 📝 item1",
|
|
14
|
+
"styles": {}
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"children": []
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "6",
|
|
21
|
+
"type": "paragraph",
|
|
22
|
+
"props": {
|
|
23
|
+
"textColor": "default",
|
|
24
|
+
"backgroundColor": "default",
|
|
25
|
+
"textAlignment": "left"
|
|
26
|
+
},
|
|
27
|
+
"content": [
|
|
28
|
+
{
|
|
29
|
+
"type": "text",
|
|
30
|
+
"text": "- ⚙️ item2",
|
|
31
|
+
"styles": {}
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"children": []
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "7",
|
|
38
|
+
"type": "paragraph",
|
|
39
|
+
"props": {
|
|
40
|
+
"textColor": "default",
|
|
41
|
+
"backgroundColor": "default",
|
|
42
|
+
"textAlignment": "left"
|
|
43
|
+
},
|
|
44
|
+
"content": [
|
|
45
|
+
{
|
|
46
|
+
"type": "text",
|
|
47
|
+
"text": "- 🔗 item3",
|
|
48
|
+
"styles": {}
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"children": []
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "8",
|
|
55
|
+
"type": "paragraph",
|
|
56
|
+
"props": {
|
|
57
|
+
"textColor": "default",
|
|
58
|
+
"backgroundColor": "default",
|
|
59
|
+
"textAlignment": "left"
|
|
60
|
+
},
|
|
61
|
+
"content": [
|
|
62
|
+
{
|
|
63
|
+
"type": "text",
|
|
64
|
+
"text": "# h1",
|
|
65
|
+
"styles": {}
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"children": []
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "9",
|
|
72
|
+
"type": "paragraph",
|
|
73
|
+
"props": {
|
|
74
|
+
"textColor": "default",
|
|
75
|
+
"backgroundColor": "default",
|
|
76
|
+
"textAlignment": "left"
|
|
77
|
+
},
|
|
78
|
+
"content": [],
|
|
79
|
+
"children": []
|
|
80
|
+
}
|
|
81
|
+
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"id": "
|
|
3
|
+
"id": "9",
|
|
4
4
|
"type": "paragraph",
|
|
5
5
|
"props": {
|
|
6
6
|
"textColor": "default",
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"content": [
|
|
11
11
|
{
|
|
12
12
|
"type": "text",
|
|
13
|
-
"text": "
|
|
13
|
+
"text": "* a",
|
|
14
14
|
"styles": {}
|
|
15
15
|
}
|
|
16
16
|
],
|
|
17
17
|
"children": []
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
"id": "
|
|
20
|
+
"id": "10",
|
|
21
21
|
"type": "paragraph",
|
|
22
22
|
"props": {
|
|
23
23
|
"textColor": "default",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"content": [
|
|
28
28
|
{
|
|
29
29
|
"type": "text",
|
|
30
|
-
"text": "
|
|
30
|
+
"text": "* b",
|
|
31
31
|
"styles": {}
|
|
32
32
|
}
|
|
33
33
|
],
|
|
34
34
|
"children": []
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"id": "
|
|
37
|
+
"id": "11",
|
|
38
38
|
"type": "paragraph",
|
|
39
39
|
"props": {
|
|
40
40
|
"textColor": "default",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"content": [
|
|
45
45
|
{
|
|
46
46
|
"type": "text",
|
|
47
|
-
"text": "
|
|
47
|
+
"text": "* c",
|
|
48
48
|
"styles": {}
|
|
49
49
|
}
|
|
50
50
|
],
|
|
51
51
|
"children": []
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
"id": "
|
|
54
|
+
"id": "12",
|
|
55
55
|
"type": "paragraph",
|
|
56
56
|
"props": {
|
|
57
57
|
"textColor": "default",
|
|
@@ -61,68 +61,64 @@
|
|
|
61
61
|
"content": [
|
|
62
62
|
{
|
|
63
63
|
"type": "text",
|
|
64
|
-
"text": "
|
|
64
|
+
"text": "* d",
|
|
65
65
|
"styles": {}
|
|
66
66
|
}
|
|
67
67
|
],
|
|
68
68
|
"children": []
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
"id": "
|
|
72
|
-
"type": "
|
|
71
|
+
"id": "13",
|
|
72
|
+
"type": "paragraph",
|
|
73
73
|
"props": {
|
|
74
74
|
"textColor": "default",
|
|
75
75
|
"backgroundColor": "default",
|
|
76
|
-
"textAlignment": "left"
|
|
77
|
-
"level": 1
|
|
76
|
+
"textAlignment": "left"
|
|
78
77
|
},
|
|
79
78
|
"content": [
|
|
80
79
|
{
|
|
81
80
|
"type": "text",
|
|
82
|
-
"text": "
|
|
81
|
+
"text": "anything",
|
|
83
82
|
"styles": {}
|
|
84
83
|
}
|
|
85
84
|
],
|
|
86
85
|
"children": []
|
|
87
86
|
},
|
|
88
87
|
{
|
|
89
|
-
"id": "
|
|
90
|
-
"type": "
|
|
88
|
+
"id": "14",
|
|
89
|
+
"type": "paragraph",
|
|
91
90
|
"props": {
|
|
92
91
|
"textColor": "default",
|
|
93
92
|
"backgroundColor": "default",
|
|
94
|
-
"textAlignment": "left"
|
|
95
|
-
"level": 2
|
|
93
|
+
"textAlignment": "left"
|
|
96
94
|
},
|
|
97
95
|
"content": [
|
|
98
96
|
{
|
|
99
97
|
"type": "text",
|
|
100
|
-
"text": "
|
|
98
|
+
"text": "[a link](",
|
|
101
99
|
"styles": {}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
},
|
|
115
|
-
"content": [
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "link",
|
|
103
|
+
"href": "http://example.com",
|
|
104
|
+
"content": [
|
|
105
|
+
{
|
|
106
|
+
"type": "text",
|
|
107
|
+
"text": "http://example.com",
|
|
108
|
+
"styles": {}
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
116
112
|
{
|
|
117
113
|
"type": "text",
|
|
118
|
-
"text": "
|
|
114
|
+
"text": ")",
|
|
119
115
|
"styles": {}
|
|
120
116
|
}
|
|
121
117
|
],
|
|
122
118
|
"children": []
|
|
123
119
|
},
|
|
124
120
|
{
|
|
125
|
-
"id": "
|
|
121
|
+
"id": "15",
|
|
126
122
|
"type": "paragraph",
|
|
127
123
|
"props": {
|
|
128
124
|
"textColor": "default",
|
|
@@ -132,26 +128,14 @@
|
|
|
132
128
|
"content": [
|
|
133
129
|
{
|
|
134
130
|
"type": "text",
|
|
135
|
-
"text": "
|
|
131
|
+
"text": "* another",
|
|
136
132
|
"styles": {}
|
|
137
133
|
}
|
|
138
134
|
],
|
|
139
135
|
"children": []
|
|
140
136
|
},
|
|
141
137
|
{
|
|
142
|
-
"id": "
|
|
143
|
-
"type": "image",
|
|
144
|
-
"props": {
|
|
145
|
-
"backgroundColor": "default",
|
|
146
|
-
"textAlignment": "left",
|
|
147
|
-
"url": "exampleURL",
|
|
148
|
-
"caption": "Image Caption",
|
|
149
|
-
"width": 512
|
|
150
|
-
},
|
|
151
|
-
"children": []
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"id": "10",
|
|
138
|
+
"id": "16",
|
|
155
139
|
"type": "paragraph",
|
|
156
140
|
"props": {
|
|
157
141
|
"textColor": "default",
|
|
@@ -161,80 +145,21 @@
|
|
|
161
145
|
"content": [
|
|
162
146
|
{
|
|
163
147
|
"type": "text",
|
|
164
|
-
"text": "
|
|
165
|
-
"styles": {
|
|
166
|
-
"bold": true
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"type": "text",
|
|
171
|
-
"text": " ",
|
|
148
|
+
"text": "* list",
|
|
172
149
|
"styles": {}
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"type": "text",
|
|
176
|
-
"text": "Italic",
|
|
177
|
-
"styles": {
|
|
178
|
-
"italic": true
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"type": "text",
|
|
183
|
-
"text": " ",
|
|
184
|
-
"styles": {}
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"type": "text",
|
|
188
|
-
"text": "Underline",
|
|
189
|
-
"styles": {
|
|
190
|
-
"underline": true
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"type": "text",
|
|
195
|
-
"text": " ",
|
|
196
|
-
"styles": {}
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"type": "text",
|
|
200
|
-
"text": "Strikethrough",
|
|
201
|
-
"styles": {
|
|
202
|
-
"strike": true
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"type": "text",
|
|
207
|
-
"text": " ",
|
|
208
|
-
"styles": {}
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"type": "text",
|
|
212
|
-
"text": "All",
|
|
213
|
-
"styles": {
|
|
214
|
-
"bold": true,
|
|
215
|
-
"italic": true,
|
|
216
|
-
"underline": true,
|
|
217
|
-
"strike": true
|
|
218
|
-
}
|
|
219
150
|
}
|
|
220
151
|
],
|
|
221
152
|
"children": []
|
|
222
153
|
},
|
|
223
154
|
{
|
|
224
|
-
"id": "
|
|
155
|
+
"id": "17",
|
|
225
156
|
"type": "paragraph",
|
|
226
157
|
"props": {
|
|
227
158
|
"textColor": "default",
|
|
228
159
|
"backgroundColor": "default",
|
|
229
160
|
"textAlignment": "left"
|
|
230
161
|
},
|
|
231
|
-
"content": [
|
|
232
|
-
{
|
|
233
|
-
"type": "text",
|
|
234
|
-
"text": " Outer 4 Div After Outer 3 Div After Outer 2 Div After Outer 1 Div After",
|
|
235
|
-
"styles": {}
|
|
236
|
-
}
|
|
237
|
-
],
|
|
162
|
+
"content": [],
|
|
238
163
|
"children": []
|
|
239
164
|
}
|
|
240
165
|
]
|