@blocknote/core 0.24.1 → 0.25.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.cjs +12 -0
- package/dist/blocknote.cjs.map +1 -0
- package/dist/blocknote.js +5028 -3444
- package/dist/blocknote.js.map +1 -1
- package/dist/comments.cjs +2 -0
- package/dist/comments.cjs.map +1 -0
- package/dist/comments.js +593 -0
- package/dist/comments.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/webpack-stats.json +1 -1
- package/package.json +39 -26
- package/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap +1022 -378
- package/src/api/blockManipulation/commands/mergeBlocks/__snapshots__/mergeBlocks.test.ts.snap +730 -270
- package/src/api/blockManipulation/commands/moveBlocks/__snapshots__/moveBlocks.test.ts.snap +3100 -1260
- package/src/api/blockManipulation/commands/removeBlocks/__snapshots__/removeBlocks.test.ts.snap +438 -162
- package/src/api/blockManipulation/commands/replaceBlocks/__snapshots__/replaceBlocks.test.ts.snap +1168 -432
- package/src/api/blockManipulation/commands/splitBlock/__snapshots__/splitBlock.test.ts.snap +930 -378
- package/src/api/blockManipulation/commands/updateBlock/__snapshots__/updateBlock.test.ts.snap +2485 -1015
- package/src/api/blockManipulation/commands/updateBlock/updateBlock.test.ts +28 -1
- package/src/api/blockManipulation/commands/updateBlock/updateBlock.ts +1 -1
- package/src/api/blockManipulation/selections/__snapshots__/selection.test.ts.snap +292 -108
- package/src/api/blockManipulation/setupTestEnv.ts +14 -1
- package/src/api/blockManipulation/tables/tables.test.ts +1987 -0
- package/src/api/blockManipulation/tables/tables.ts +887 -0
- package/src/api/clipboard/__snapshots__/external/pasteEndOfParagraph.html +66 -24
- package/src/api/clipboard/__snapshots__/external/pasteEndOfParagraphText.html +66 -24
- package/src/api/clipboard/__snapshots__/external/pasteImage.html +66 -24
- package/src/api/clipboard/__snapshots__/external/pasteParagraphInCustomBlock.html +66 -24
- package/src/api/clipboard/__snapshots__/external/pasteTable.html +132 -48
- package/src/api/clipboard/__snapshots__/external/pasteTableInExistingTable.html +136 -44
- package/src/api/clipboard/fromClipboard/handleFileInsertion.ts +36 -14
- package/src/api/clipboard/toClipboard/copyExtension.ts +2 -3
- package/src/api/exporters/html/__snapshots__/table/headerCols/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/headerCols/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/headerRows/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/headerRows/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/headersRows/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/headersRows/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/mixedCellColors/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/mixedCellColors/internal.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/mixedRowspansAndColspans/external.html +1 -0
- package/src/api/exporters/html/__snapshots__/table/mixedRowspansAndColspans/internal.html +1 -0
- package/src/api/exporters/markdown/__snapshots__/table/headerCols/markdown.md +4 -0
- package/src/api/exporters/markdown/__snapshots__/table/headerRows/markdown.md +4 -0
- package/src/api/exporters/markdown/__snapshots__/table/mixedCellColors/markdown.md +5 -0
- package/src/api/exporters/markdown/__snapshots__/table/mixedRowspansAndColspans/markdown.md +5 -0
- package/src/api/nodeConversions/__snapshots__/nodeConversions.test.ts.snap +985 -20
- package/src/api/nodeConversions/blockToNode.ts +63 -20
- package/src/api/nodeConversions/nodeToBlock.ts +75 -13
- package/src/api/parsers/html/__snapshots__/parse-notion-html.json +145 -54
- package/src/api/testUtil/cases/defaultSchema.ts +782 -9
- package/src/api/testUtil/partialBlockTestUtil.ts +39 -4
- package/src/blocks/TableBlockContent/TableBlockContent.ts +11 -5
- package/src/blocks/defaultBlockTypeGuards.ts +8 -0
- package/src/comments/index.ts +9 -0
- package/src/comments/models/User.ts +8 -0
- package/src/comments/threadstore/DefaultThreadStoreAuth.ts +106 -0
- package/src/comments/threadstore/ThreadStore.ts +134 -0
- package/src/comments/threadstore/ThreadStoreAuth.ts +13 -0
- package/src/comments/threadstore/TipTapThreadStore.ts +292 -0
- package/src/comments/threadstore/yjs/RESTYjsThreadStore.ts +144 -0
- package/src/comments/threadstore/yjs/YjsThreadStore.test.ts +294 -0
- package/src/comments/threadstore/yjs/YjsThreadStore.ts +340 -0
- package/src/comments/threadstore/yjs/YjsThreadStoreBase.ts +48 -0
- package/src/comments/threadstore/yjs/yjsHelpers.ts +121 -0
- package/src/comments/types.ts +117 -0
- package/src/editor/Block.css +16 -8
- package/src/editor/BlockNoteEditor.ts +269 -92
- package/src/editor/BlockNoteExtensions.ts +24 -1
- package/src/editor/BlockNoteTipTapEditor.ts +5 -1
- package/src/editor/editor.css +17 -0
- package/src/extensions/BackgroundColor/BackgroundColorExtension.ts +1 -1
- package/src/extensions/Comments/CommentMark.ts +61 -0
- package/src/extensions/Comments/CommentsPlugin.ts +301 -0
- package/src/extensions/Comments/userstore/UserStore.ts +72 -0
- package/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts +16 -10
- package/src/extensions/LinkToolbar/LinkToolbarPlugin.ts +3 -3
- package/src/extensions/ShowSelection/ShowSelectionPlugin.ts +52 -0
- package/src/extensions/SideMenu/SideMenuPlugin.ts +22 -9
- package/src/extensions/TableHandles/TableHandlesPlugin.ts +409 -57
- package/src/extensions/TextAlignment/TextAlignmentExtension.ts +2 -0
- package/src/extensions/TextColor/TextColorExtension.ts +1 -1
- package/src/extensions/UniqueID/UniqueID.ts +8 -3
- package/src/i18n/locales/ar.ts +23 -0
- package/src/i18n/locales/de.ts +15 -0
- package/src/i18n/locales/en.ts +25 -1
- package/src/i18n/locales/es.ts +16 -1
- package/src/i18n/locales/fr.ts +23 -0
- package/src/i18n/locales/hr.ts +18 -0
- package/src/i18n/locales/index.ts +1 -0
- package/src/i18n/locales/is.ts +24 -1
- package/src/i18n/locales/it.ts +21 -0
- package/src/i18n/locales/ja.ts +23 -0
- package/src/i18n/locales/ko.ts +23 -0
- package/src/i18n/locales/nl.ts +23 -0
- package/src/i18n/locales/no.ts +346 -0
- package/src/i18n/locales/pl.ts +23 -0
- package/src/i18n/locales/pt.ts +23 -0
- package/src/i18n/locales/ru.ts +23 -0
- package/src/i18n/locales/uk.ts +23 -0
- package/src/i18n/locales/vi.ts +23 -0
- package/src/i18n/locales/zh.ts +23 -0
- package/src/index.ts +6 -4
- package/src/schema/blocks/types.ts +32 -2
- package/src/util/browser.ts +1 -1
- package/src/util/table.ts +107 -0
- package/types/src/api/blockManipulation/tables/tables.d.ts +343 -0
- package/types/src/api/blockManipulation/tables/tables.test.d.ts +1 -0
- package/types/src/api/clipboard/toClipboard/copyExtension.d.ts +1 -1
- package/types/src/blocks/TableBlockContent/TableBlockContent.d.ts +1 -2
- package/types/src/blocks/defaultBlockTypeGuards.d.ts +3 -0
- package/types/src/comments/index.d.ts +9 -0
- package/types/src/comments/models/User.d.ts +8 -0
- package/types/src/comments/threadstore/DefaultThreadStoreAuth.d.ts +47 -0
- package/types/src/comments/threadstore/ThreadStore.d.ts +121 -0
- package/types/src/comments/threadstore/ThreadStoreAuth.d.ts +12 -0
- package/types/src/comments/threadstore/TipTapThreadStore.d.ts +97 -0
- package/types/src/comments/threadstore/yjs/RESTYjsThreadStore.d.ts +83 -0
- package/types/src/comments/threadstore/yjs/YjsThreadStore.d.ts +79 -0
- package/types/src/comments/threadstore/yjs/YjsThreadStore.test.d.ts +1 -0
- package/types/src/comments/threadstore/yjs/YjsThreadStoreBase.d.ts +15 -0
- package/types/src/comments/threadstore/yjs/yjsHelpers.d.ts +13 -0
- package/types/src/comments/types.d.ts +109 -0
- package/types/src/editor/BlockNoteEditor.d.ts +146 -66
- package/types/src/editor/BlockNoteExtensions.d.ts +4 -0
- package/types/src/extensions/Collaboration/createCollaborationExtensions.d.ts +1 -1
- package/types/src/extensions/Comments/CommentMark.d.ts +2 -0
- package/types/src/extensions/Comments/CommentsPlugin.d.ts +49 -0
- package/types/src/extensions/Comments/userstore/UserStore.d.ts +31 -0
- package/types/src/extensions/FormattingToolbar/FormattingToolbarPlugin.d.ts +1 -1
- package/types/src/extensions/ShowSelection/ShowSelectionPlugin.d.ts +15 -0
- package/types/src/extensions/SideMenu/SideMenuPlugin.d.ts +1 -0
- package/types/src/extensions/TableHandles/TableHandlesPlugin.d.ts +66 -1
- package/types/src/i18n/locales/de.d.ts +15 -0
- package/types/src/i18n/locales/en.d.ts +20 -0
- package/types/src/i18n/locales/es.d.ts +15 -0
- package/types/src/i18n/locales/hr.d.ts +18 -0
- package/types/src/i18n/locales/index.d.ts +1 -0
- package/types/src/i18n/locales/it.d.ts +21 -0
- package/types/src/i18n/locales/no.d.ts +2 -0
- package/types/src/index.d.ts +5 -4
- package/types/src/pm-nodes/BlockContainer.d.ts +2 -2
- package/types/src/pm-nodes/BlockGroup.d.ts +2 -2
- package/types/src/schema/blocks/types.d.ts +23 -2
- package/types/src/util/browser.d.ts +1 -1
- package/types/src/util/table.d.ts +12 -0
- package/dist/blocknote.umd.cjs +0 -11
- package/dist/blocknote.umd.cjs.map +0 -1
|
@@ -280,80 +280,172 @@ exports[`Test splitBlocks > Basic 1`] = `
|
|
|
280
280
|
undefined,
|
|
281
281
|
undefined,
|
|
282
282
|
],
|
|
283
|
+
"headerCols": undefined,
|
|
284
|
+
"headerRows": undefined,
|
|
283
285
|
"rows": [
|
|
284
286
|
{
|
|
285
287
|
"cells": [
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
{
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
288
|
+
{
|
|
289
|
+
"content": [
|
|
290
|
+
{
|
|
291
|
+
"styles": {},
|
|
292
|
+
"text": "Cell 1",
|
|
293
|
+
"type": "text",
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
"props": {
|
|
297
|
+
"backgroundColor": "default",
|
|
298
|
+
"colspan": 1,
|
|
299
|
+
"rowspan": 1,
|
|
300
|
+
"textAlignment": "left",
|
|
301
|
+
"textColor": "default",
|
|
302
|
+
},
|
|
303
|
+
"type": "tableCell",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"content": [
|
|
307
|
+
{
|
|
308
|
+
"styles": {},
|
|
309
|
+
"text": "Cell 2",
|
|
310
|
+
"type": "text",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
"props": {
|
|
314
|
+
"backgroundColor": "default",
|
|
315
|
+
"colspan": 1,
|
|
316
|
+
"rowspan": 1,
|
|
317
|
+
"textAlignment": "left",
|
|
318
|
+
"textColor": "default",
|
|
319
|
+
},
|
|
320
|
+
"type": "tableCell",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"content": [
|
|
324
|
+
{
|
|
325
|
+
"styles": {},
|
|
326
|
+
"text": "Cell 3",
|
|
327
|
+
"type": "text",
|
|
328
|
+
},
|
|
329
|
+
],
|
|
330
|
+
"props": {
|
|
331
|
+
"backgroundColor": "default",
|
|
332
|
+
"colspan": 1,
|
|
333
|
+
"rowspan": 1,
|
|
334
|
+
"textAlignment": "left",
|
|
335
|
+
"textColor": "default",
|
|
336
|
+
},
|
|
337
|
+
"type": "tableCell",
|
|
338
|
+
},
|
|
307
339
|
],
|
|
308
340
|
},
|
|
309
341
|
{
|
|
310
342
|
"cells": [
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
{
|
|
320
|
-
"
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
343
|
+
{
|
|
344
|
+
"content": [
|
|
345
|
+
{
|
|
346
|
+
"styles": {},
|
|
347
|
+
"text": "Cell 4",
|
|
348
|
+
"type": "text",
|
|
349
|
+
},
|
|
350
|
+
],
|
|
351
|
+
"props": {
|
|
352
|
+
"backgroundColor": "default",
|
|
353
|
+
"colspan": 1,
|
|
354
|
+
"rowspan": 1,
|
|
355
|
+
"textAlignment": "left",
|
|
356
|
+
"textColor": "default",
|
|
357
|
+
},
|
|
358
|
+
"type": "tableCell",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"content": [
|
|
362
|
+
{
|
|
363
|
+
"styles": {},
|
|
364
|
+
"text": "Cell 5",
|
|
365
|
+
"type": "text",
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
"props": {
|
|
369
|
+
"backgroundColor": "default",
|
|
370
|
+
"colspan": 1,
|
|
371
|
+
"rowspan": 1,
|
|
372
|
+
"textAlignment": "left",
|
|
373
|
+
"textColor": "default",
|
|
374
|
+
},
|
|
375
|
+
"type": "tableCell",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"content": [
|
|
379
|
+
{
|
|
380
|
+
"styles": {},
|
|
381
|
+
"text": "Cell 6",
|
|
382
|
+
"type": "text",
|
|
383
|
+
},
|
|
384
|
+
],
|
|
385
|
+
"props": {
|
|
386
|
+
"backgroundColor": "default",
|
|
387
|
+
"colspan": 1,
|
|
388
|
+
"rowspan": 1,
|
|
389
|
+
"textAlignment": "left",
|
|
390
|
+
"textColor": "default",
|
|
391
|
+
},
|
|
392
|
+
"type": "tableCell",
|
|
393
|
+
},
|
|
332
394
|
],
|
|
333
395
|
},
|
|
334
396
|
{
|
|
335
397
|
"cells": [
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
{
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
398
|
+
{
|
|
399
|
+
"content": [
|
|
400
|
+
{
|
|
401
|
+
"styles": {},
|
|
402
|
+
"text": "Cell 7",
|
|
403
|
+
"type": "text",
|
|
404
|
+
},
|
|
405
|
+
],
|
|
406
|
+
"props": {
|
|
407
|
+
"backgroundColor": "default",
|
|
408
|
+
"colspan": 1,
|
|
409
|
+
"rowspan": 1,
|
|
410
|
+
"textAlignment": "left",
|
|
411
|
+
"textColor": "default",
|
|
412
|
+
},
|
|
413
|
+
"type": "tableCell",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"content": [
|
|
417
|
+
{
|
|
418
|
+
"styles": {},
|
|
419
|
+
"text": "Cell 8",
|
|
420
|
+
"type": "text",
|
|
421
|
+
},
|
|
422
|
+
],
|
|
423
|
+
"props": {
|
|
424
|
+
"backgroundColor": "default",
|
|
425
|
+
"colspan": 1,
|
|
426
|
+
"rowspan": 1,
|
|
427
|
+
"textAlignment": "left",
|
|
428
|
+
"textColor": "default",
|
|
429
|
+
},
|
|
430
|
+
"type": "tableCell",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"content": [
|
|
434
|
+
{
|
|
435
|
+
"styles": {},
|
|
436
|
+
"text": "Cell 9",
|
|
437
|
+
"type": "text",
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
"props": {
|
|
441
|
+
"backgroundColor": "default",
|
|
442
|
+
"colspan": 1,
|
|
443
|
+
"rowspan": 1,
|
|
444
|
+
"textAlignment": "left",
|
|
445
|
+
"textColor": "default",
|
|
446
|
+
},
|
|
447
|
+
"type": "tableCell",
|
|
448
|
+
},
|
|
357
449
|
],
|
|
358
450
|
},
|
|
359
451
|
],
|
|
@@ -772,80 +864,172 @@ exports[`Test splitBlocks > Block has children 1`] = `
|
|
|
772
864
|
undefined,
|
|
773
865
|
undefined,
|
|
774
866
|
],
|
|
867
|
+
"headerCols": undefined,
|
|
868
|
+
"headerRows": undefined,
|
|
775
869
|
"rows": [
|
|
776
870
|
{
|
|
777
871
|
"cells": [
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
{
|
|
787
|
-
"
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
872
|
+
{
|
|
873
|
+
"content": [
|
|
874
|
+
{
|
|
875
|
+
"styles": {},
|
|
876
|
+
"text": "Cell 1",
|
|
877
|
+
"type": "text",
|
|
878
|
+
},
|
|
879
|
+
],
|
|
880
|
+
"props": {
|
|
881
|
+
"backgroundColor": "default",
|
|
882
|
+
"colspan": 1,
|
|
883
|
+
"rowspan": 1,
|
|
884
|
+
"textAlignment": "left",
|
|
885
|
+
"textColor": "default",
|
|
886
|
+
},
|
|
887
|
+
"type": "tableCell",
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"content": [
|
|
891
|
+
{
|
|
892
|
+
"styles": {},
|
|
893
|
+
"text": "Cell 2",
|
|
894
|
+
"type": "text",
|
|
895
|
+
},
|
|
896
|
+
],
|
|
897
|
+
"props": {
|
|
898
|
+
"backgroundColor": "default",
|
|
899
|
+
"colspan": 1,
|
|
900
|
+
"rowspan": 1,
|
|
901
|
+
"textAlignment": "left",
|
|
902
|
+
"textColor": "default",
|
|
903
|
+
},
|
|
904
|
+
"type": "tableCell",
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"content": [
|
|
908
|
+
{
|
|
909
|
+
"styles": {},
|
|
910
|
+
"text": "Cell 3",
|
|
911
|
+
"type": "text",
|
|
912
|
+
},
|
|
913
|
+
],
|
|
914
|
+
"props": {
|
|
915
|
+
"backgroundColor": "default",
|
|
916
|
+
"colspan": 1,
|
|
917
|
+
"rowspan": 1,
|
|
918
|
+
"textAlignment": "left",
|
|
919
|
+
"textColor": "default",
|
|
920
|
+
},
|
|
921
|
+
"type": "tableCell",
|
|
922
|
+
},
|
|
799
923
|
],
|
|
800
924
|
},
|
|
801
925
|
{
|
|
802
926
|
"cells": [
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
{
|
|
812
|
-
"
|
|
813
|
-
"
|
|
814
|
-
"
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
927
|
+
{
|
|
928
|
+
"content": [
|
|
929
|
+
{
|
|
930
|
+
"styles": {},
|
|
931
|
+
"text": "Cell 4",
|
|
932
|
+
"type": "text",
|
|
933
|
+
},
|
|
934
|
+
],
|
|
935
|
+
"props": {
|
|
936
|
+
"backgroundColor": "default",
|
|
937
|
+
"colspan": 1,
|
|
938
|
+
"rowspan": 1,
|
|
939
|
+
"textAlignment": "left",
|
|
940
|
+
"textColor": "default",
|
|
941
|
+
},
|
|
942
|
+
"type": "tableCell",
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"content": [
|
|
946
|
+
{
|
|
947
|
+
"styles": {},
|
|
948
|
+
"text": "Cell 5",
|
|
949
|
+
"type": "text",
|
|
950
|
+
},
|
|
951
|
+
],
|
|
952
|
+
"props": {
|
|
953
|
+
"backgroundColor": "default",
|
|
954
|
+
"colspan": 1,
|
|
955
|
+
"rowspan": 1,
|
|
956
|
+
"textAlignment": "left",
|
|
957
|
+
"textColor": "default",
|
|
958
|
+
},
|
|
959
|
+
"type": "tableCell",
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"content": [
|
|
963
|
+
{
|
|
964
|
+
"styles": {},
|
|
965
|
+
"text": "Cell 6",
|
|
966
|
+
"type": "text",
|
|
967
|
+
},
|
|
968
|
+
],
|
|
969
|
+
"props": {
|
|
970
|
+
"backgroundColor": "default",
|
|
971
|
+
"colspan": 1,
|
|
972
|
+
"rowspan": 1,
|
|
973
|
+
"textAlignment": "left",
|
|
974
|
+
"textColor": "default",
|
|
975
|
+
},
|
|
976
|
+
"type": "tableCell",
|
|
977
|
+
},
|
|
824
978
|
],
|
|
825
979
|
},
|
|
826
980
|
{
|
|
827
981
|
"cells": [
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
{
|
|
837
|
-
"
|
|
838
|
-
"
|
|
839
|
-
"
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
982
|
+
{
|
|
983
|
+
"content": [
|
|
984
|
+
{
|
|
985
|
+
"styles": {},
|
|
986
|
+
"text": "Cell 7",
|
|
987
|
+
"type": "text",
|
|
988
|
+
},
|
|
989
|
+
],
|
|
990
|
+
"props": {
|
|
991
|
+
"backgroundColor": "default",
|
|
992
|
+
"colspan": 1,
|
|
993
|
+
"rowspan": 1,
|
|
994
|
+
"textAlignment": "left",
|
|
995
|
+
"textColor": "default",
|
|
996
|
+
},
|
|
997
|
+
"type": "tableCell",
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"content": [
|
|
1001
|
+
{
|
|
1002
|
+
"styles": {},
|
|
1003
|
+
"text": "Cell 8",
|
|
1004
|
+
"type": "text",
|
|
1005
|
+
},
|
|
1006
|
+
],
|
|
1007
|
+
"props": {
|
|
1008
|
+
"backgroundColor": "default",
|
|
1009
|
+
"colspan": 1,
|
|
1010
|
+
"rowspan": 1,
|
|
1011
|
+
"textAlignment": "left",
|
|
1012
|
+
"textColor": "default",
|
|
1013
|
+
},
|
|
1014
|
+
"type": "tableCell",
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"content": [
|
|
1018
|
+
{
|
|
1019
|
+
"styles": {},
|
|
1020
|
+
"text": "Cell 9",
|
|
1021
|
+
"type": "text",
|
|
1022
|
+
},
|
|
1023
|
+
],
|
|
1024
|
+
"props": {
|
|
1025
|
+
"backgroundColor": "default",
|
|
1026
|
+
"colspan": 1,
|
|
1027
|
+
"rowspan": 1,
|
|
1028
|
+
"textAlignment": "left",
|
|
1029
|
+
"textColor": "default",
|
|
1030
|
+
},
|
|
1031
|
+
"type": "tableCell",
|
|
1032
|
+
},
|
|
849
1033
|
],
|
|
850
1034
|
},
|
|
851
1035
|
],
|
|
@@ -1264,80 +1448,172 @@ exports[`Test splitBlocks > Don't keep props 1`] = `
|
|
|
1264
1448
|
undefined,
|
|
1265
1449
|
undefined,
|
|
1266
1450
|
],
|
|
1451
|
+
"headerCols": undefined,
|
|
1452
|
+
"headerRows": undefined,
|
|
1267
1453
|
"rows": [
|
|
1268
1454
|
{
|
|
1269
1455
|
"cells": [
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
{
|
|
1279
|
-
"
|
|
1280
|
-
"
|
|
1281
|
-
"
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1456
|
+
{
|
|
1457
|
+
"content": [
|
|
1458
|
+
{
|
|
1459
|
+
"styles": {},
|
|
1460
|
+
"text": "Cell 1",
|
|
1461
|
+
"type": "text",
|
|
1462
|
+
},
|
|
1463
|
+
],
|
|
1464
|
+
"props": {
|
|
1465
|
+
"backgroundColor": "default",
|
|
1466
|
+
"colspan": 1,
|
|
1467
|
+
"rowspan": 1,
|
|
1468
|
+
"textAlignment": "left",
|
|
1469
|
+
"textColor": "default",
|
|
1470
|
+
},
|
|
1471
|
+
"type": "tableCell",
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"content": [
|
|
1475
|
+
{
|
|
1476
|
+
"styles": {},
|
|
1477
|
+
"text": "Cell 2",
|
|
1478
|
+
"type": "text",
|
|
1479
|
+
},
|
|
1480
|
+
],
|
|
1481
|
+
"props": {
|
|
1482
|
+
"backgroundColor": "default",
|
|
1483
|
+
"colspan": 1,
|
|
1484
|
+
"rowspan": 1,
|
|
1485
|
+
"textAlignment": "left",
|
|
1486
|
+
"textColor": "default",
|
|
1487
|
+
},
|
|
1488
|
+
"type": "tableCell",
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"content": [
|
|
1492
|
+
{
|
|
1493
|
+
"styles": {},
|
|
1494
|
+
"text": "Cell 3",
|
|
1495
|
+
"type": "text",
|
|
1496
|
+
},
|
|
1497
|
+
],
|
|
1498
|
+
"props": {
|
|
1499
|
+
"backgroundColor": "default",
|
|
1500
|
+
"colspan": 1,
|
|
1501
|
+
"rowspan": 1,
|
|
1502
|
+
"textAlignment": "left",
|
|
1503
|
+
"textColor": "default",
|
|
1504
|
+
},
|
|
1505
|
+
"type": "tableCell",
|
|
1506
|
+
},
|
|
1291
1507
|
],
|
|
1292
1508
|
},
|
|
1293
1509
|
{
|
|
1294
1510
|
"cells": [
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
{
|
|
1304
|
-
"
|
|
1305
|
-
"
|
|
1306
|
-
"
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1511
|
+
{
|
|
1512
|
+
"content": [
|
|
1513
|
+
{
|
|
1514
|
+
"styles": {},
|
|
1515
|
+
"text": "Cell 4",
|
|
1516
|
+
"type": "text",
|
|
1517
|
+
},
|
|
1518
|
+
],
|
|
1519
|
+
"props": {
|
|
1520
|
+
"backgroundColor": "default",
|
|
1521
|
+
"colspan": 1,
|
|
1522
|
+
"rowspan": 1,
|
|
1523
|
+
"textAlignment": "left",
|
|
1524
|
+
"textColor": "default",
|
|
1525
|
+
},
|
|
1526
|
+
"type": "tableCell",
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"content": [
|
|
1530
|
+
{
|
|
1531
|
+
"styles": {},
|
|
1532
|
+
"text": "Cell 5",
|
|
1533
|
+
"type": "text",
|
|
1534
|
+
},
|
|
1535
|
+
],
|
|
1536
|
+
"props": {
|
|
1537
|
+
"backgroundColor": "default",
|
|
1538
|
+
"colspan": 1,
|
|
1539
|
+
"rowspan": 1,
|
|
1540
|
+
"textAlignment": "left",
|
|
1541
|
+
"textColor": "default",
|
|
1542
|
+
},
|
|
1543
|
+
"type": "tableCell",
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"content": [
|
|
1547
|
+
{
|
|
1548
|
+
"styles": {},
|
|
1549
|
+
"text": "Cell 6",
|
|
1550
|
+
"type": "text",
|
|
1551
|
+
},
|
|
1552
|
+
],
|
|
1553
|
+
"props": {
|
|
1554
|
+
"backgroundColor": "default",
|
|
1555
|
+
"colspan": 1,
|
|
1556
|
+
"rowspan": 1,
|
|
1557
|
+
"textAlignment": "left",
|
|
1558
|
+
"textColor": "default",
|
|
1559
|
+
},
|
|
1560
|
+
"type": "tableCell",
|
|
1561
|
+
},
|
|
1316
1562
|
],
|
|
1317
1563
|
},
|
|
1318
1564
|
{
|
|
1319
1565
|
"cells": [
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
{
|
|
1329
|
-
"
|
|
1330
|
-
"
|
|
1331
|
-
"
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1566
|
+
{
|
|
1567
|
+
"content": [
|
|
1568
|
+
{
|
|
1569
|
+
"styles": {},
|
|
1570
|
+
"text": "Cell 7",
|
|
1571
|
+
"type": "text",
|
|
1572
|
+
},
|
|
1573
|
+
],
|
|
1574
|
+
"props": {
|
|
1575
|
+
"backgroundColor": "default",
|
|
1576
|
+
"colspan": 1,
|
|
1577
|
+
"rowspan": 1,
|
|
1578
|
+
"textAlignment": "left",
|
|
1579
|
+
"textColor": "default",
|
|
1580
|
+
},
|
|
1581
|
+
"type": "tableCell",
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"content": [
|
|
1585
|
+
{
|
|
1586
|
+
"styles": {},
|
|
1587
|
+
"text": "Cell 8",
|
|
1588
|
+
"type": "text",
|
|
1589
|
+
},
|
|
1590
|
+
],
|
|
1591
|
+
"props": {
|
|
1592
|
+
"backgroundColor": "default",
|
|
1593
|
+
"colspan": 1,
|
|
1594
|
+
"rowspan": 1,
|
|
1595
|
+
"textAlignment": "left",
|
|
1596
|
+
"textColor": "default",
|
|
1597
|
+
},
|
|
1598
|
+
"type": "tableCell",
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"content": [
|
|
1602
|
+
{
|
|
1603
|
+
"styles": {},
|
|
1604
|
+
"text": "Cell 9",
|
|
1605
|
+
"type": "text",
|
|
1606
|
+
},
|
|
1607
|
+
],
|
|
1608
|
+
"props": {
|
|
1609
|
+
"backgroundColor": "default",
|
|
1610
|
+
"colspan": 1,
|
|
1611
|
+
"rowspan": 1,
|
|
1612
|
+
"textAlignment": "left",
|
|
1613
|
+
"textColor": "default",
|
|
1614
|
+
},
|
|
1615
|
+
"type": "tableCell",
|
|
1616
|
+
},
|
|
1341
1617
|
],
|
|
1342
1618
|
},
|
|
1343
1619
|
],
|
|
@@ -1756,80 +2032,172 @@ exports[`Test splitBlocks > Don't keep type 1`] = `
|
|
|
1756
2032
|
undefined,
|
|
1757
2033
|
undefined,
|
|
1758
2034
|
],
|
|
2035
|
+
"headerCols": undefined,
|
|
2036
|
+
"headerRows": undefined,
|
|
1759
2037
|
"rows": [
|
|
1760
2038
|
{
|
|
1761
2039
|
"cells": [
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
{
|
|
1771
|
-
"
|
|
1772
|
-
"
|
|
1773
|
-
"
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
2040
|
+
{
|
|
2041
|
+
"content": [
|
|
2042
|
+
{
|
|
2043
|
+
"styles": {},
|
|
2044
|
+
"text": "Cell 1",
|
|
2045
|
+
"type": "text",
|
|
2046
|
+
},
|
|
2047
|
+
],
|
|
2048
|
+
"props": {
|
|
2049
|
+
"backgroundColor": "default",
|
|
2050
|
+
"colspan": 1,
|
|
2051
|
+
"rowspan": 1,
|
|
2052
|
+
"textAlignment": "left",
|
|
2053
|
+
"textColor": "default",
|
|
2054
|
+
},
|
|
2055
|
+
"type": "tableCell",
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"content": [
|
|
2059
|
+
{
|
|
2060
|
+
"styles": {},
|
|
2061
|
+
"text": "Cell 2",
|
|
2062
|
+
"type": "text",
|
|
2063
|
+
},
|
|
2064
|
+
],
|
|
2065
|
+
"props": {
|
|
2066
|
+
"backgroundColor": "default",
|
|
2067
|
+
"colspan": 1,
|
|
2068
|
+
"rowspan": 1,
|
|
2069
|
+
"textAlignment": "left",
|
|
2070
|
+
"textColor": "default",
|
|
2071
|
+
},
|
|
2072
|
+
"type": "tableCell",
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"content": [
|
|
2076
|
+
{
|
|
2077
|
+
"styles": {},
|
|
2078
|
+
"text": "Cell 3",
|
|
2079
|
+
"type": "text",
|
|
2080
|
+
},
|
|
2081
|
+
],
|
|
2082
|
+
"props": {
|
|
2083
|
+
"backgroundColor": "default",
|
|
2084
|
+
"colspan": 1,
|
|
2085
|
+
"rowspan": 1,
|
|
2086
|
+
"textAlignment": "left",
|
|
2087
|
+
"textColor": "default",
|
|
2088
|
+
},
|
|
2089
|
+
"type": "tableCell",
|
|
2090
|
+
},
|
|
1783
2091
|
],
|
|
1784
2092
|
},
|
|
1785
2093
|
{
|
|
1786
2094
|
"cells": [
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
{
|
|
1796
|
-
"
|
|
1797
|
-
"
|
|
1798
|
-
"
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
2095
|
+
{
|
|
2096
|
+
"content": [
|
|
2097
|
+
{
|
|
2098
|
+
"styles": {},
|
|
2099
|
+
"text": "Cell 4",
|
|
2100
|
+
"type": "text",
|
|
2101
|
+
},
|
|
2102
|
+
],
|
|
2103
|
+
"props": {
|
|
2104
|
+
"backgroundColor": "default",
|
|
2105
|
+
"colspan": 1,
|
|
2106
|
+
"rowspan": 1,
|
|
2107
|
+
"textAlignment": "left",
|
|
2108
|
+
"textColor": "default",
|
|
2109
|
+
},
|
|
2110
|
+
"type": "tableCell",
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
"content": [
|
|
2114
|
+
{
|
|
2115
|
+
"styles": {},
|
|
2116
|
+
"text": "Cell 5",
|
|
2117
|
+
"type": "text",
|
|
2118
|
+
},
|
|
2119
|
+
],
|
|
2120
|
+
"props": {
|
|
2121
|
+
"backgroundColor": "default",
|
|
2122
|
+
"colspan": 1,
|
|
2123
|
+
"rowspan": 1,
|
|
2124
|
+
"textAlignment": "left",
|
|
2125
|
+
"textColor": "default",
|
|
2126
|
+
},
|
|
2127
|
+
"type": "tableCell",
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
"content": [
|
|
2131
|
+
{
|
|
2132
|
+
"styles": {},
|
|
2133
|
+
"text": "Cell 6",
|
|
2134
|
+
"type": "text",
|
|
2135
|
+
},
|
|
2136
|
+
],
|
|
2137
|
+
"props": {
|
|
2138
|
+
"backgroundColor": "default",
|
|
2139
|
+
"colspan": 1,
|
|
2140
|
+
"rowspan": 1,
|
|
2141
|
+
"textAlignment": "left",
|
|
2142
|
+
"textColor": "default",
|
|
2143
|
+
},
|
|
2144
|
+
"type": "tableCell",
|
|
2145
|
+
},
|
|
1808
2146
|
],
|
|
1809
2147
|
},
|
|
1810
2148
|
{
|
|
1811
2149
|
"cells": [
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
{
|
|
1821
|
-
"
|
|
1822
|
-
"
|
|
1823
|
-
"
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
2150
|
+
{
|
|
2151
|
+
"content": [
|
|
2152
|
+
{
|
|
2153
|
+
"styles": {},
|
|
2154
|
+
"text": "Cell 7",
|
|
2155
|
+
"type": "text",
|
|
2156
|
+
},
|
|
2157
|
+
],
|
|
2158
|
+
"props": {
|
|
2159
|
+
"backgroundColor": "default",
|
|
2160
|
+
"colspan": 1,
|
|
2161
|
+
"rowspan": 1,
|
|
2162
|
+
"textAlignment": "left",
|
|
2163
|
+
"textColor": "default",
|
|
2164
|
+
},
|
|
2165
|
+
"type": "tableCell",
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"content": [
|
|
2169
|
+
{
|
|
2170
|
+
"styles": {},
|
|
2171
|
+
"text": "Cell 8",
|
|
2172
|
+
"type": "text",
|
|
2173
|
+
},
|
|
2174
|
+
],
|
|
2175
|
+
"props": {
|
|
2176
|
+
"backgroundColor": "default",
|
|
2177
|
+
"colspan": 1,
|
|
2178
|
+
"rowspan": 1,
|
|
2179
|
+
"textAlignment": "left",
|
|
2180
|
+
"textColor": "default",
|
|
2181
|
+
},
|
|
2182
|
+
"type": "tableCell",
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
"content": [
|
|
2186
|
+
{
|
|
2187
|
+
"styles": {},
|
|
2188
|
+
"text": "Cell 9",
|
|
2189
|
+
"type": "text",
|
|
2190
|
+
},
|
|
2191
|
+
],
|
|
2192
|
+
"props": {
|
|
2193
|
+
"backgroundColor": "default",
|
|
2194
|
+
"colspan": 1,
|
|
2195
|
+
"rowspan": 1,
|
|
2196
|
+
"textAlignment": "left",
|
|
2197
|
+
"textColor": "default",
|
|
2198
|
+
},
|
|
2199
|
+
"type": "tableCell",
|
|
2200
|
+
},
|
|
1833
2201
|
],
|
|
1834
2202
|
},
|
|
1835
2203
|
],
|
|
@@ -2242,80 +2610,172 @@ exports[`Test splitBlocks > End of content 1`] = `
|
|
|
2242
2610
|
undefined,
|
|
2243
2611
|
undefined,
|
|
2244
2612
|
],
|
|
2613
|
+
"headerCols": undefined,
|
|
2614
|
+
"headerRows": undefined,
|
|
2245
2615
|
"rows": [
|
|
2246
2616
|
{
|
|
2247
2617
|
"cells": [
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
{
|
|
2257
|
-
"
|
|
2258
|
-
"
|
|
2259
|
-
"
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2618
|
+
{
|
|
2619
|
+
"content": [
|
|
2620
|
+
{
|
|
2621
|
+
"styles": {},
|
|
2622
|
+
"text": "Cell 1",
|
|
2623
|
+
"type": "text",
|
|
2624
|
+
},
|
|
2625
|
+
],
|
|
2626
|
+
"props": {
|
|
2627
|
+
"backgroundColor": "default",
|
|
2628
|
+
"colspan": 1,
|
|
2629
|
+
"rowspan": 1,
|
|
2630
|
+
"textAlignment": "left",
|
|
2631
|
+
"textColor": "default",
|
|
2632
|
+
},
|
|
2633
|
+
"type": "tableCell",
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
"content": [
|
|
2637
|
+
{
|
|
2638
|
+
"styles": {},
|
|
2639
|
+
"text": "Cell 2",
|
|
2640
|
+
"type": "text",
|
|
2641
|
+
},
|
|
2642
|
+
],
|
|
2643
|
+
"props": {
|
|
2644
|
+
"backgroundColor": "default",
|
|
2645
|
+
"colspan": 1,
|
|
2646
|
+
"rowspan": 1,
|
|
2647
|
+
"textAlignment": "left",
|
|
2648
|
+
"textColor": "default",
|
|
2649
|
+
},
|
|
2650
|
+
"type": "tableCell",
|
|
2651
|
+
},
|
|
2652
|
+
{
|
|
2653
|
+
"content": [
|
|
2654
|
+
{
|
|
2655
|
+
"styles": {},
|
|
2656
|
+
"text": "Cell 3",
|
|
2657
|
+
"type": "text",
|
|
2658
|
+
},
|
|
2659
|
+
],
|
|
2660
|
+
"props": {
|
|
2661
|
+
"backgroundColor": "default",
|
|
2662
|
+
"colspan": 1,
|
|
2663
|
+
"rowspan": 1,
|
|
2664
|
+
"textAlignment": "left",
|
|
2665
|
+
"textColor": "default",
|
|
2666
|
+
},
|
|
2667
|
+
"type": "tableCell",
|
|
2668
|
+
},
|
|
2269
2669
|
],
|
|
2270
2670
|
},
|
|
2271
2671
|
{
|
|
2272
2672
|
"cells": [
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
{
|
|
2282
|
-
"
|
|
2283
|
-
"
|
|
2284
|
-
"
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2673
|
+
{
|
|
2674
|
+
"content": [
|
|
2675
|
+
{
|
|
2676
|
+
"styles": {},
|
|
2677
|
+
"text": "Cell 4",
|
|
2678
|
+
"type": "text",
|
|
2679
|
+
},
|
|
2680
|
+
],
|
|
2681
|
+
"props": {
|
|
2682
|
+
"backgroundColor": "default",
|
|
2683
|
+
"colspan": 1,
|
|
2684
|
+
"rowspan": 1,
|
|
2685
|
+
"textAlignment": "left",
|
|
2686
|
+
"textColor": "default",
|
|
2687
|
+
},
|
|
2688
|
+
"type": "tableCell",
|
|
2689
|
+
},
|
|
2690
|
+
{
|
|
2691
|
+
"content": [
|
|
2692
|
+
{
|
|
2693
|
+
"styles": {},
|
|
2694
|
+
"text": "Cell 5",
|
|
2695
|
+
"type": "text",
|
|
2696
|
+
},
|
|
2697
|
+
],
|
|
2698
|
+
"props": {
|
|
2699
|
+
"backgroundColor": "default",
|
|
2700
|
+
"colspan": 1,
|
|
2701
|
+
"rowspan": 1,
|
|
2702
|
+
"textAlignment": "left",
|
|
2703
|
+
"textColor": "default",
|
|
2704
|
+
},
|
|
2705
|
+
"type": "tableCell",
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"content": [
|
|
2709
|
+
{
|
|
2710
|
+
"styles": {},
|
|
2711
|
+
"text": "Cell 6",
|
|
2712
|
+
"type": "text",
|
|
2713
|
+
},
|
|
2714
|
+
],
|
|
2715
|
+
"props": {
|
|
2716
|
+
"backgroundColor": "default",
|
|
2717
|
+
"colspan": 1,
|
|
2718
|
+
"rowspan": 1,
|
|
2719
|
+
"textAlignment": "left",
|
|
2720
|
+
"textColor": "default",
|
|
2721
|
+
},
|
|
2722
|
+
"type": "tableCell",
|
|
2723
|
+
},
|
|
2294
2724
|
],
|
|
2295
2725
|
},
|
|
2296
2726
|
{
|
|
2297
2727
|
"cells": [
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
{
|
|
2307
|
-
"
|
|
2308
|
-
"
|
|
2309
|
-
"
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2728
|
+
{
|
|
2729
|
+
"content": [
|
|
2730
|
+
{
|
|
2731
|
+
"styles": {},
|
|
2732
|
+
"text": "Cell 7",
|
|
2733
|
+
"type": "text",
|
|
2734
|
+
},
|
|
2735
|
+
],
|
|
2736
|
+
"props": {
|
|
2737
|
+
"backgroundColor": "default",
|
|
2738
|
+
"colspan": 1,
|
|
2739
|
+
"rowspan": 1,
|
|
2740
|
+
"textAlignment": "left",
|
|
2741
|
+
"textColor": "default",
|
|
2742
|
+
},
|
|
2743
|
+
"type": "tableCell",
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"content": [
|
|
2747
|
+
{
|
|
2748
|
+
"styles": {},
|
|
2749
|
+
"text": "Cell 8",
|
|
2750
|
+
"type": "text",
|
|
2751
|
+
},
|
|
2752
|
+
],
|
|
2753
|
+
"props": {
|
|
2754
|
+
"backgroundColor": "default",
|
|
2755
|
+
"colspan": 1,
|
|
2756
|
+
"rowspan": 1,
|
|
2757
|
+
"textAlignment": "left",
|
|
2758
|
+
"textColor": "default",
|
|
2759
|
+
},
|
|
2760
|
+
"type": "tableCell",
|
|
2761
|
+
},
|
|
2762
|
+
{
|
|
2763
|
+
"content": [
|
|
2764
|
+
{
|
|
2765
|
+
"styles": {},
|
|
2766
|
+
"text": "Cell 9",
|
|
2767
|
+
"type": "text",
|
|
2768
|
+
},
|
|
2769
|
+
],
|
|
2770
|
+
"props": {
|
|
2771
|
+
"backgroundColor": "default",
|
|
2772
|
+
"colspan": 1,
|
|
2773
|
+
"rowspan": 1,
|
|
2774
|
+
"textAlignment": "left",
|
|
2775
|
+
"textColor": "default",
|
|
2776
|
+
},
|
|
2777
|
+
"type": "tableCell",
|
|
2778
|
+
},
|
|
2319
2779
|
],
|
|
2320
2780
|
},
|
|
2321
2781
|
],
|
|
@@ -2735,80 +3195,172 @@ exports[`Test splitBlocks > Keep type 1`] = `
|
|
|
2735
3195
|
undefined,
|
|
2736
3196
|
undefined,
|
|
2737
3197
|
],
|
|
3198
|
+
"headerCols": undefined,
|
|
3199
|
+
"headerRows": undefined,
|
|
2738
3200
|
"rows": [
|
|
2739
3201
|
{
|
|
2740
3202
|
"cells": [
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
{
|
|
2750
|
-
"
|
|
2751
|
-
"
|
|
2752
|
-
"
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
3203
|
+
{
|
|
3204
|
+
"content": [
|
|
3205
|
+
{
|
|
3206
|
+
"styles": {},
|
|
3207
|
+
"text": "Cell 1",
|
|
3208
|
+
"type": "text",
|
|
3209
|
+
},
|
|
3210
|
+
],
|
|
3211
|
+
"props": {
|
|
3212
|
+
"backgroundColor": "default",
|
|
3213
|
+
"colspan": 1,
|
|
3214
|
+
"rowspan": 1,
|
|
3215
|
+
"textAlignment": "left",
|
|
3216
|
+
"textColor": "default",
|
|
3217
|
+
},
|
|
3218
|
+
"type": "tableCell",
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"content": [
|
|
3222
|
+
{
|
|
3223
|
+
"styles": {},
|
|
3224
|
+
"text": "Cell 2",
|
|
3225
|
+
"type": "text",
|
|
3226
|
+
},
|
|
3227
|
+
],
|
|
3228
|
+
"props": {
|
|
3229
|
+
"backgroundColor": "default",
|
|
3230
|
+
"colspan": 1,
|
|
3231
|
+
"rowspan": 1,
|
|
3232
|
+
"textAlignment": "left",
|
|
3233
|
+
"textColor": "default",
|
|
3234
|
+
},
|
|
3235
|
+
"type": "tableCell",
|
|
3236
|
+
},
|
|
3237
|
+
{
|
|
3238
|
+
"content": [
|
|
3239
|
+
{
|
|
3240
|
+
"styles": {},
|
|
3241
|
+
"text": "Cell 3",
|
|
3242
|
+
"type": "text",
|
|
3243
|
+
},
|
|
3244
|
+
],
|
|
3245
|
+
"props": {
|
|
3246
|
+
"backgroundColor": "default",
|
|
3247
|
+
"colspan": 1,
|
|
3248
|
+
"rowspan": 1,
|
|
3249
|
+
"textAlignment": "left",
|
|
3250
|
+
"textColor": "default",
|
|
3251
|
+
},
|
|
3252
|
+
"type": "tableCell",
|
|
3253
|
+
},
|
|
2762
3254
|
],
|
|
2763
3255
|
},
|
|
2764
3256
|
{
|
|
2765
3257
|
"cells": [
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
{
|
|
2775
|
-
"
|
|
2776
|
-
"
|
|
2777
|
-
"
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
3258
|
+
{
|
|
3259
|
+
"content": [
|
|
3260
|
+
{
|
|
3261
|
+
"styles": {},
|
|
3262
|
+
"text": "Cell 4",
|
|
3263
|
+
"type": "text",
|
|
3264
|
+
},
|
|
3265
|
+
],
|
|
3266
|
+
"props": {
|
|
3267
|
+
"backgroundColor": "default",
|
|
3268
|
+
"colspan": 1,
|
|
3269
|
+
"rowspan": 1,
|
|
3270
|
+
"textAlignment": "left",
|
|
3271
|
+
"textColor": "default",
|
|
3272
|
+
},
|
|
3273
|
+
"type": "tableCell",
|
|
3274
|
+
},
|
|
3275
|
+
{
|
|
3276
|
+
"content": [
|
|
3277
|
+
{
|
|
3278
|
+
"styles": {},
|
|
3279
|
+
"text": "Cell 5",
|
|
3280
|
+
"type": "text",
|
|
3281
|
+
},
|
|
3282
|
+
],
|
|
3283
|
+
"props": {
|
|
3284
|
+
"backgroundColor": "default",
|
|
3285
|
+
"colspan": 1,
|
|
3286
|
+
"rowspan": 1,
|
|
3287
|
+
"textAlignment": "left",
|
|
3288
|
+
"textColor": "default",
|
|
3289
|
+
},
|
|
3290
|
+
"type": "tableCell",
|
|
3291
|
+
},
|
|
3292
|
+
{
|
|
3293
|
+
"content": [
|
|
3294
|
+
{
|
|
3295
|
+
"styles": {},
|
|
3296
|
+
"text": "Cell 6",
|
|
3297
|
+
"type": "text",
|
|
3298
|
+
},
|
|
3299
|
+
],
|
|
3300
|
+
"props": {
|
|
3301
|
+
"backgroundColor": "default",
|
|
3302
|
+
"colspan": 1,
|
|
3303
|
+
"rowspan": 1,
|
|
3304
|
+
"textAlignment": "left",
|
|
3305
|
+
"textColor": "default",
|
|
3306
|
+
},
|
|
3307
|
+
"type": "tableCell",
|
|
3308
|
+
},
|
|
2787
3309
|
],
|
|
2788
3310
|
},
|
|
2789
3311
|
{
|
|
2790
3312
|
"cells": [
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
{
|
|
2800
|
-
"
|
|
2801
|
-
"
|
|
2802
|
-
"
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
3313
|
+
{
|
|
3314
|
+
"content": [
|
|
3315
|
+
{
|
|
3316
|
+
"styles": {},
|
|
3317
|
+
"text": "Cell 7",
|
|
3318
|
+
"type": "text",
|
|
3319
|
+
},
|
|
3320
|
+
],
|
|
3321
|
+
"props": {
|
|
3322
|
+
"backgroundColor": "default",
|
|
3323
|
+
"colspan": 1,
|
|
3324
|
+
"rowspan": 1,
|
|
3325
|
+
"textAlignment": "left",
|
|
3326
|
+
"textColor": "default",
|
|
3327
|
+
},
|
|
3328
|
+
"type": "tableCell",
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
"content": [
|
|
3332
|
+
{
|
|
3333
|
+
"styles": {},
|
|
3334
|
+
"text": "Cell 8",
|
|
3335
|
+
"type": "text",
|
|
3336
|
+
},
|
|
3337
|
+
],
|
|
3338
|
+
"props": {
|
|
3339
|
+
"backgroundColor": "default",
|
|
3340
|
+
"colspan": 1,
|
|
3341
|
+
"rowspan": 1,
|
|
3342
|
+
"textAlignment": "left",
|
|
3343
|
+
"textColor": "default",
|
|
3344
|
+
},
|
|
3345
|
+
"type": "tableCell",
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
"content": [
|
|
3349
|
+
{
|
|
3350
|
+
"styles": {},
|
|
3351
|
+
"text": "Cell 9",
|
|
3352
|
+
"type": "text",
|
|
3353
|
+
},
|
|
3354
|
+
],
|
|
3355
|
+
"props": {
|
|
3356
|
+
"backgroundColor": "default",
|
|
3357
|
+
"colspan": 1,
|
|
3358
|
+
"rowspan": 1,
|
|
3359
|
+
"textAlignment": "left",
|
|
3360
|
+
"textColor": "default",
|
|
3361
|
+
},
|
|
3362
|
+
"type": "tableCell",
|
|
3363
|
+
},
|
|
2812
3364
|
],
|
|
2813
3365
|
},
|
|
2814
3366
|
],
|