@@ -40,7 +40,7 @@ export const originalRichText: Document = {
40
40
data : { }
41
41
} ,
42
42
{
43
- nodeType : 'hyperlink' ,
43
+ nodeType : 'hyperlink' as any ,
44
44
content : [ { nodeType : 'text' , value : 'The Council of Elrond' , marks : [ ] , data : { } } ] ,
45
45
data : { uri : 'https://lotr.fandom.com/wiki/Council_of_Elrond' }
46
46
} ,
@@ -56,6 +56,11 @@ export const originalRichText: Document = {
56
56
nodeType : BLOCKS . LIST_ITEM ,
57
57
content : [ { nodeType : 'text' , value : 'Samwise Gamgee' , marks : [ ] , data : { } } ] ,
58
58
data : { }
59
+ } ,
60
+ {
61
+ nodeType : BLOCKS . LIST_ITEM ,
62
+ content : [ { nodeType : 'text' , value : 'Legolas Greenleaf' , marks : [ ] , data : { } } ] ,
63
+ data : { }
59
64
}
60
65
] ,
61
66
data : { }
@@ -76,11 +81,6 @@ export const originalRichText: Document = {
76
81
] ,
77
82
data : { }
78
83
} ,
79
- {
80
- nodeType : BLOCKS . LIST_ITEM ,
81
- content : [ { nodeType : 'text' , value : 'Legolas Greenleaf' , marks : [ ] , data : { } } ] ,
82
- data : { }
83
- } ,
84
84
{
85
85
nodeType : BLOCKS . QUOTE ,
86
86
content : [ { nodeType : 'text' , value : 'Even the smallest person can change the course of the future.' , marks : [ ] , data : { } } ] ,
@@ -90,15 +90,15 @@ export const originalRichText: Document = {
90
90
nodeType : BLOCKS . TABLE ,
91
91
content : [
92
92
{
93
- nodeType : 'table-row' ,
93
+ nodeType : BLOCKS . TABLE_ROW ,
94
94
content : [
95
95
{
96
- nodeType : 'table-cell' ,
96
+ nodeType : BLOCKS . TABLE_CELL ,
97
97
content : [ { nodeType : 'text' , value : 'Gimli' , marks : [ ] , data : { } } ] ,
98
98
data : { }
99
99
} ,
100
100
{
101
- nodeType : 'table-cell' ,
101
+ nodeType : BLOCKS . TABLE_CELL ,
102
102
content : [ { nodeType : 'text' , value : 'Boromir' , marks : [ ] , data : { } } ] ,
103
103
data : { }
104
104
}
@@ -176,7 +176,7 @@ export const modifiedRichText: Document = {
176
176
data : { }
177
177
} ,
178
178
{
179
- nodeType : 'hyperlink' ,
179
+ nodeType : 'hyperlink' as any ,
180
180
content : [ { nodeType : 'text' , value : 'The Council of Elrond' , marks : [ ] , data : { } } ] ,
181
181
data : { uri : 'https://lotr.fandom.com/wiki/Council_of_Elrond' }
182
182
} ,
@@ -192,6 +192,11 @@ export const modifiedRichText: Document = {
192
192
nodeType : BLOCKS . LIST_ITEM ,
193
193
content : [ { nodeType : 'text' , value : 'Samwise Gamgee (Updated)' , marks : [ ] , data : { } } ] ,
194
194
data : { }
195
+ } ,
196
+ {
197
+ nodeType : BLOCKS . LIST_ITEM ,
198
+ content : [ { nodeType : 'text' , value : 'Legolas Greenleaf (Updated)' , marks : [ ] , data : { } } ] ,
199
+ data : { }
195
200
}
196
201
] ,
197
202
data : { }
@@ -212,11 +217,6 @@ export const modifiedRichText: Document = {
212
217
] ,
213
218
data : { }
214
219
} ,
215
- {
216
- nodeType : BLOCKS . LIST_ITEM ,
217
- content : [ { nodeType : 'text' , value : 'Legolas Greenleaf (Updated)' , marks : [ ] , data : { } } ] ,
218
- data : { }
219
- } ,
220
220
{
221
221
nodeType : BLOCKS . QUOTE ,
222
222
content : [ { nodeType : 'text' , value : 'Even the smallest person can change the course of the future. (Updated)' , marks : [ ] , data : { } } ] ,
@@ -226,15 +226,15 @@ export const modifiedRichText: Document = {
226
226
nodeType : BLOCKS . TABLE ,
227
227
content : [
228
228
{
229
- nodeType : 'table-row' ,
229
+ nodeType : BLOCKS . TABLE_ROW ,
230
230
content : [
231
231
{
232
- nodeType : 'table-cell' ,
232
+ nodeType : BLOCKS . TABLE_CELL ,
233
233
content : [ { nodeType : 'text' , value : 'Gimli' , marks : [ ] , data : { } } ] ,
234
234
data : { }
235
235
} ,
236
236
{
237
- nodeType : 'table-cell' ,
237
+ nodeType : BLOCKS . TABLE_CELL ,
238
238
content : [ { nodeType : 'text' , value : 'Boromir (Updated)' , marks : [ ] , data : { } } ] ,
239
239
data : { }
240
240
}
0 commit comments