@blocknote/core 0.24.2 → 0.25.1

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.
Files changed (143) hide show
  1. package/dist/blocknote.cjs +12 -0
  2. package/dist/blocknote.cjs.map +1 -0
  3. package/dist/blocknote.js +4784 -3545
  4. package/dist/blocknote.js.map +1 -1
  5. package/dist/comments.cjs +2 -0
  6. package/dist/comments.cjs.map +1 -0
  7. package/dist/comments.js +593 -0
  8. package/dist/comments.js.map +1 -0
  9. package/dist/style.css +1 -1
  10. package/dist/tsconfig.tsbuildinfo +1 -1
  11. package/dist/webpack-stats.json +1 -1
  12. package/package.json +40 -27
  13. package/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap +1022 -378
  14. package/src/api/blockManipulation/commands/mergeBlocks/__snapshots__/mergeBlocks.test.ts.snap +730 -270
  15. package/src/api/blockManipulation/commands/moveBlocks/__snapshots__/moveBlocks.test.ts.snap +3100 -1260
  16. package/src/api/blockManipulation/commands/removeBlocks/__snapshots__/removeBlocks.test.ts.snap +438 -162
  17. package/src/api/blockManipulation/commands/replaceBlocks/__snapshots__/replaceBlocks.test.ts.snap +1168 -432
  18. package/src/api/blockManipulation/commands/splitBlock/__snapshots__/splitBlock.test.ts.snap +930 -378
  19. package/src/api/blockManipulation/commands/updateBlock/__snapshots__/updateBlock.test.ts.snap +2485 -1015
  20. package/src/api/blockManipulation/commands/updateBlock/updateBlock.test.ts +28 -1
  21. package/src/api/blockManipulation/commands/updateBlock/updateBlock.ts +1 -1
  22. package/src/api/blockManipulation/selections/__snapshots__/selection.test.ts.snap +292 -108
  23. package/src/api/blockManipulation/setupTestEnv.ts +14 -1
  24. package/src/api/blockManipulation/tables/tables.test.ts +1987 -0
  25. package/src/api/blockManipulation/tables/tables.ts +887 -0
  26. package/src/api/clipboard/__snapshots__/external/pasteEndOfParagraph.html +66 -24
  27. package/src/api/clipboard/__snapshots__/external/pasteEndOfParagraphText.html +66 -24
  28. package/src/api/clipboard/__snapshots__/external/pasteImage.html +66 -24
  29. package/src/api/clipboard/__snapshots__/external/pasteParagraphInCustomBlock.html +66 -24
  30. package/src/api/clipboard/__snapshots__/external/pasteTable.html +132 -48
  31. package/src/api/clipboard/__snapshots__/external/pasteTableInExistingTable.html +136 -44
  32. package/src/api/clipboard/toClipboard/copyExtension.ts +2 -3
  33. package/src/api/exporters/html/__snapshots__/table/headerCols/external.html +1 -0
  34. package/src/api/exporters/html/__snapshots__/table/headerCols/internal.html +1 -0
  35. package/src/api/exporters/html/__snapshots__/table/headerRows/external.html +1 -0
  36. package/src/api/exporters/html/__snapshots__/table/headerRows/internal.html +1 -0
  37. package/src/api/exporters/html/__snapshots__/table/headersRows/external.html +1 -0
  38. package/src/api/exporters/html/__snapshots__/table/headersRows/internal.html +1 -0
  39. package/src/api/exporters/html/__snapshots__/table/mixedCellColors/external.html +1 -0
  40. package/src/api/exporters/html/__snapshots__/table/mixedCellColors/internal.html +1 -0
  41. package/src/api/exporters/html/__snapshots__/table/mixedRowspansAndColspans/external.html +1 -0
  42. package/src/api/exporters/html/__snapshots__/table/mixedRowspansAndColspans/internal.html +1 -0
  43. package/src/api/exporters/markdown/__snapshots__/table/headerCols/markdown.md +4 -0
  44. package/src/api/exporters/markdown/__snapshots__/table/headerRows/markdown.md +4 -0
  45. package/src/api/exporters/markdown/__snapshots__/table/mixedCellColors/markdown.md +5 -0
  46. package/src/api/exporters/markdown/__snapshots__/table/mixedRowspansAndColspans/markdown.md +5 -0
  47. package/src/api/nodeConversions/__snapshots__/nodeConversions.test.ts.snap +985 -20
  48. package/src/api/nodeConversions/blockToNode.ts +63 -20
  49. package/src/api/nodeConversions/nodeToBlock.ts +75 -13
  50. package/src/api/parsers/html/__snapshots__/parse-notion-html.json +145 -54
  51. package/src/api/testUtil/cases/defaultSchema.ts +782 -9
  52. package/src/api/testUtil/partialBlockTestUtil.ts +39 -4
  53. package/src/blocks/TableBlockContent/TableBlockContent.ts +11 -5
  54. package/src/blocks/defaultBlockTypeGuards.ts +8 -0
  55. package/src/comments/index.ts +9 -0
  56. package/src/comments/models/User.ts +8 -0
  57. package/src/comments/threadstore/DefaultThreadStoreAuth.ts +106 -0
  58. package/src/comments/threadstore/ThreadStore.ts +134 -0
  59. package/src/comments/threadstore/ThreadStoreAuth.ts +13 -0
  60. package/src/comments/threadstore/TipTapThreadStore.ts +292 -0
  61. package/src/comments/threadstore/yjs/RESTYjsThreadStore.ts +144 -0
  62. package/src/comments/threadstore/yjs/YjsThreadStore.test.ts +294 -0
  63. package/src/comments/threadstore/yjs/YjsThreadStore.ts +340 -0
  64. package/src/comments/threadstore/yjs/YjsThreadStoreBase.ts +48 -0
  65. package/src/comments/threadstore/yjs/yjsHelpers.ts +121 -0
  66. package/src/comments/types.ts +117 -0
  67. package/src/editor/Block.css +16 -8
  68. package/src/editor/BlockNoteEditor.ts +269 -92
  69. package/src/editor/BlockNoteExtensions.ts +24 -1
  70. package/src/editor/BlockNoteTipTapEditor.ts +5 -1
  71. package/src/editor/editor.css +23 -4
  72. package/src/extensions/BackgroundColor/BackgroundColorExtension.ts +1 -1
  73. package/src/extensions/Collaboration/createCollaborationExtensions.ts +8 -17
  74. package/src/extensions/Comments/CommentMark.ts +61 -0
  75. package/src/extensions/Comments/CommentsPlugin.ts +301 -0
  76. package/src/extensions/Comments/userstore/UserStore.ts +72 -0
  77. package/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts +9 -5
  78. package/src/extensions/LinkToolbar/LinkToolbarPlugin.ts +3 -3
  79. package/src/extensions/ShowSelection/ShowSelectionPlugin.ts +52 -0
  80. package/src/extensions/SuggestionMenu/getDefaultEmojiPickerItems.ts +34 -17
  81. package/src/extensions/TableHandles/TableHandlesPlugin.ts +409 -57
  82. package/src/extensions/TextAlignment/TextAlignmentExtension.ts +2 -0
  83. package/src/extensions/TextColor/TextColorExtension.ts +1 -1
  84. package/src/i18n/locales/ar.ts +23 -0
  85. package/src/i18n/locales/de.ts +15 -0
  86. package/src/i18n/locales/en.ts +25 -1
  87. package/src/i18n/locales/es.ts +16 -1
  88. package/src/i18n/locales/fr.ts +23 -0
  89. package/src/i18n/locales/hr.ts +18 -0
  90. package/src/i18n/locales/is.ts +24 -1
  91. package/src/i18n/locales/it.ts +15 -0
  92. package/src/i18n/locales/ja.ts +23 -0
  93. package/src/i18n/locales/ko.ts +23 -0
  94. package/src/i18n/locales/nl.ts +23 -0
  95. package/src/i18n/locales/no.ts +23 -0
  96. package/src/i18n/locales/pl.ts +23 -0
  97. package/src/i18n/locales/pt.ts +23 -0
  98. package/src/i18n/locales/ru.ts +23 -0
  99. package/src/i18n/locales/uk.ts +23 -0
  100. package/src/i18n/locales/vi.ts +23 -0
  101. package/src/i18n/locales/zh.ts +23 -0
  102. package/src/index.ts +6 -4
  103. package/src/schema/blocks/types.ts +32 -2
  104. package/src/util/browser.ts +1 -1
  105. package/src/util/table.ts +107 -0
  106. package/types/src/api/blockManipulation/tables/tables.d.ts +343 -0
  107. package/types/src/api/blockManipulation/tables/tables.test.d.ts +1 -0
  108. package/types/src/api/clipboard/toClipboard/copyExtension.d.ts +1 -1
  109. package/types/src/blocks/TableBlockContent/TableBlockContent.d.ts +1 -2
  110. package/types/src/blocks/defaultBlockTypeGuards.d.ts +3 -0
  111. package/types/src/comments/index.d.ts +9 -0
  112. package/types/src/comments/models/User.d.ts +8 -0
  113. package/types/src/comments/threadstore/DefaultThreadStoreAuth.d.ts +47 -0
  114. package/types/src/comments/threadstore/ThreadStore.d.ts +121 -0
  115. package/types/src/comments/threadstore/ThreadStoreAuth.d.ts +12 -0
  116. package/types/src/comments/threadstore/TipTapThreadStore.d.ts +97 -0
  117. package/types/src/comments/threadstore/yjs/RESTYjsThreadStore.d.ts +83 -0
  118. package/types/src/comments/threadstore/yjs/YjsThreadStore.d.ts +79 -0
  119. package/types/src/comments/threadstore/yjs/YjsThreadStore.test.d.ts +1 -0
  120. package/types/src/comments/threadstore/yjs/YjsThreadStoreBase.d.ts +15 -0
  121. package/types/src/comments/threadstore/yjs/yjsHelpers.d.ts +13 -0
  122. package/types/src/comments/types.d.ts +109 -0
  123. package/types/src/editor/BlockNoteEditor.d.ts +146 -66
  124. package/types/src/editor/BlockNoteExtensions.d.ts +4 -0
  125. package/types/src/extensions/Collaboration/createCollaborationExtensions.d.ts +1 -1
  126. package/types/src/extensions/Comments/CommentMark.d.ts +2 -0
  127. package/types/src/extensions/Comments/CommentsPlugin.d.ts +49 -0
  128. package/types/src/extensions/Comments/userstore/UserStore.d.ts +31 -0
  129. package/types/src/extensions/ShowSelection/ShowSelectionPlugin.d.ts +15 -0
  130. package/types/src/extensions/TableHandles/TableHandlesPlugin.d.ts +66 -1
  131. package/types/src/i18n/locales/de.d.ts +15 -0
  132. package/types/src/i18n/locales/en.d.ts +20 -0
  133. package/types/src/i18n/locales/es.d.ts +15 -0
  134. package/types/src/i18n/locales/hr.d.ts +18 -0
  135. package/types/src/i18n/locales/it.d.ts +15 -0
  136. package/types/src/index.d.ts +5 -4
  137. package/types/src/pm-nodes/BlockContainer.d.ts +2 -2
  138. package/types/src/pm-nodes/BlockGroup.d.ts +2 -2
  139. package/types/src/schema/blocks/types.d.ts +23 -2
  140. package/types/src/util/browser.d.ts +1 -1
  141. package/types/src/util/table.d.ts +12 -0
  142. package/dist/blocknote.umd.cjs +0 -11
  143. package/dist/blocknote.umd.cjs.map +0 -1
@@ -314,80 +314,172 @@ exports[`Test insertBlocks > Insert multiple blocks after 1`] = `
314
314
  undefined,
315
315
  undefined,
316
316
  ],
317
+ "headerCols": undefined,
318
+ "headerRows": undefined,
317
319
  "rows": [
318
320
  {
319
321
  "cells": [
320
- [
321
- {
322
- "styles": {},
323
- "text": "Cell 1",
324
- "type": "text",
322
+ {
323
+ "content": [
324
+ {
325
+ "styles": {},
326
+ "text": "Cell 1",
327
+ "type": "text",
328
+ },
329
+ ],
330
+ "props": {
331
+ "backgroundColor": "default",
332
+ "colspan": 1,
333
+ "rowspan": 1,
334
+ "textAlignment": "left",
335
+ "textColor": "default",
325
336
  },
326
- ],
327
- [
328
- {
329
- "styles": {},
330
- "text": "Cell 2",
331
- "type": "text",
337
+ "type": "tableCell",
338
+ },
339
+ {
340
+ "content": [
341
+ {
342
+ "styles": {},
343
+ "text": "Cell 2",
344
+ "type": "text",
345
+ },
346
+ ],
347
+ "props": {
348
+ "backgroundColor": "default",
349
+ "colspan": 1,
350
+ "rowspan": 1,
351
+ "textAlignment": "left",
352
+ "textColor": "default",
332
353
  },
333
- ],
334
- [
335
- {
336
- "styles": {},
337
- "text": "Cell 3",
338
- "type": "text",
354
+ "type": "tableCell",
355
+ },
356
+ {
357
+ "content": [
358
+ {
359
+ "styles": {},
360
+ "text": "Cell 3",
361
+ "type": "text",
362
+ },
363
+ ],
364
+ "props": {
365
+ "backgroundColor": "default",
366
+ "colspan": 1,
367
+ "rowspan": 1,
368
+ "textAlignment": "left",
369
+ "textColor": "default",
339
370
  },
340
- ],
371
+ "type": "tableCell",
372
+ },
341
373
  ],
342
374
  },
343
375
  {
344
376
  "cells": [
345
- [
346
- {
347
- "styles": {},
348
- "text": "Cell 4",
349
- "type": "text",
377
+ {
378
+ "content": [
379
+ {
380
+ "styles": {},
381
+ "text": "Cell 4",
382
+ "type": "text",
383
+ },
384
+ ],
385
+ "props": {
386
+ "backgroundColor": "default",
387
+ "colspan": 1,
388
+ "rowspan": 1,
389
+ "textAlignment": "left",
390
+ "textColor": "default",
350
391
  },
351
- ],
352
- [
353
- {
354
- "styles": {},
355
- "text": "Cell 5",
356
- "type": "text",
392
+ "type": "tableCell",
393
+ },
394
+ {
395
+ "content": [
396
+ {
397
+ "styles": {},
398
+ "text": "Cell 5",
399
+ "type": "text",
400
+ },
401
+ ],
402
+ "props": {
403
+ "backgroundColor": "default",
404
+ "colspan": 1,
405
+ "rowspan": 1,
406
+ "textAlignment": "left",
407
+ "textColor": "default",
357
408
  },
358
- ],
359
- [
360
- {
361
- "styles": {},
362
- "text": "Cell 6",
363
- "type": "text",
409
+ "type": "tableCell",
410
+ },
411
+ {
412
+ "content": [
413
+ {
414
+ "styles": {},
415
+ "text": "Cell 6",
416
+ "type": "text",
417
+ },
418
+ ],
419
+ "props": {
420
+ "backgroundColor": "default",
421
+ "colspan": 1,
422
+ "rowspan": 1,
423
+ "textAlignment": "left",
424
+ "textColor": "default",
364
425
  },
365
- ],
426
+ "type": "tableCell",
427
+ },
366
428
  ],
367
429
  },
368
430
  {
369
431
  "cells": [
370
- [
371
- {
372
- "styles": {},
373
- "text": "Cell 7",
374
- "type": "text",
432
+ {
433
+ "content": [
434
+ {
435
+ "styles": {},
436
+ "text": "Cell 7",
437
+ "type": "text",
438
+ },
439
+ ],
440
+ "props": {
441
+ "backgroundColor": "default",
442
+ "colspan": 1,
443
+ "rowspan": 1,
444
+ "textAlignment": "left",
445
+ "textColor": "default",
375
446
  },
376
- ],
377
- [
378
- {
379
- "styles": {},
380
- "text": "Cell 8",
381
- "type": "text",
447
+ "type": "tableCell",
448
+ },
449
+ {
450
+ "content": [
451
+ {
452
+ "styles": {},
453
+ "text": "Cell 8",
454
+ "type": "text",
455
+ },
456
+ ],
457
+ "props": {
458
+ "backgroundColor": "default",
459
+ "colspan": 1,
460
+ "rowspan": 1,
461
+ "textAlignment": "left",
462
+ "textColor": "default",
382
463
  },
383
- ],
384
- [
385
- {
386
- "styles": {},
387
- "text": "Cell 9",
388
- "type": "text",
464
+ "type": "tableCell",
465
+ },
466
+ {
467
+ "content": [
468
+ {
469
+ "styles": {},
470
+ "text": "Cell 9",
471
+ "type": "text",
472
+ },
473
+ ],
474
+ "props": {
475
+ "backgroundColor": "default",
476
+ "colspan": 1,
477
+ "rowspan": 1,
478
+ "textAlignment": "left",
479
+ "textColor": "default",
389
480
  },
390
- ],
481
+ "type": "tableCell",
482
+ },
391
483
  ],
392
484
  },
393
485
  ],
@@ -840,80 +932,172 @@ exports[`Test insertBlocks > Insert multiple blocks before 1`] = `
840
932
  undefined,
841
933
  undefined,
842
934
  ],
935
+ "headerCols": undefined,
936
+ "headerRows": undefined,
843
937
  "rows": [
844
938
  {
845
939
  "cells": [
846
- [
847
- {
848
- "styles": {},
849
- "text": "Cell 1",
850
- "type": "text",
940
+ {
941
+ "content": [
942
+ {
943
+ "styles": {},
944
+ "text": "Cell 1",
945
+ "type": "text",
946
+ },
947
+ ],
948
+ "props": {
949
+ "backgroundColor": "default",
950
+ "colspan": 1,
951
+ "rowspan": 1,
952
+ "textAlignment": "left",
953
+ "textColor": "default",
851
954
  },
852
- ],
853
- [
854
- {
855
- "styles": {},
856
- "text": "Cell 2",
857
- "type": "text",
955
+ "type": "tableCell",
956
+ },
957
+ {
958
+ "content": [
959
+ {
960
+ "styles": {},
961
+ "text": "Cell 2",
962
+ "type": "text",
963
+ },
964
+ ],
965
+ "props": {
966
+ "backgroundColor": "default",
967
+ "colspan": 1,
968
+ "rowspan": 1,
969
+ "textAlignment": "left",
970
+ "textColor": "default",
858
971
  },
859
- ],
860
- [
861
- {
862
- "styles": {},
863
- "text": "Cell 3",
864
- "type": "text",
972
+ "type": "tableCell",
973
+ },
974
+ {
975
+ "content": [
976
+ {
977
+ "styles": {},
978
+ "text": "Cell 3",
979
+ "type": "text",
980
+ },
981
+ ],
982
+ "props": {
983
+ "backgroundColor": "default",
984
+ "colspan": 1,
985
+ "rowspan": 1,
986
+ "textAlignment": "left",
987
+ "textColor": "default",
865
988
  },
866
- ],
989
+ "type": "tableCell",
990
+ },
867
991
  ],
868
992
  },
869
993
  {
870
994
  "cells": [
871
- [
872
- {
873
- "styles": {},
874
- "text": "Cell 4",
875
- "type": "text",
995
+ {
996
+ "content": [
997
+ {
998
+ "styles": {},
999
+ "text": "Cell 4",
1000
+ "type": "text",
1001
+ },
1002
+ ],
1003
+ "props": {
1004
+ "backgroundColor": "default",
1005
+ "colspan": 1,
1006
+ "rowspan": 1,
1007
+ "textAlignment": "left",
1008
+ "textColor": "default",
876
1009
  },
877
- ],
878
- [
879
- {
880
- "styles": {},
881
- "text": "Cell 5",
882
- "type": "text",
1010
+ "type": "tableCell",
1011
+ },
1012
+ {
1013
+ "content": [
1014
+ {
1015
+ "styles": {},
1016
+ "text": "Cell 5",
1017
+ "type": "text",
1018
+ },
1019
+ ],
1020
+ "props": {
1021
+ "backgroundColor": "default",
1022
+ "colspan": 1,
1023
+ "rowspan": 1,
1024
+ "textAlignment": "left",
1025
+ "textColor": "default",
883
1026
  },
884
- ],
885
- [
886
- {
887
- "styles": {},
888
- "text": "Cell 6",
889
- "type": "text",
1027
+ "type": "tableCell",
1028
+ },
1029
+ {
1030
+ "content": [
1031
+ {
1032
+ "styles": {},
1033
+ "text": "Cell 6",
1034
+ "type": "text",
1035
+ },
1036
+ ],
1037
+ "props": {
1038
+ "backgroundColor": "default",
1039
+ "colspan": 1,
1040
+ "rowspan": 1,
1041
+ "textAlignment": "left",
1042
+ "textColor": "default",
890
1043
  },
891
- ],
1044
+ "type": "tableCell",
1045
+ },
892
1046
  ],
893
1047
  },
894
1048
  {
895
1049
  "cells": [
896
- [
897
- {
898
- "styles": {},
899
- "text": "Cell 7",
900
- "type": "text",
1050
+ {
1051
+ "content": [
1052
+ {
1053
+ "styles": {},
1054
+ "text": "Cell 7",
1055
+ "type": "text",
1056
+ },
1057
+ ],
1058
+ "props": {
1059
+ "backgroundColor": "default",
1060
+ "colspan": 1,
1061
+ "rowspan": 1,
1062
+ "textAlignment": "left",
1063
+ "textColor": "default",
901
1064
  },
902
- ],
903
- [
904
- {
905
- "styles": {},
906
- "text": "Cell 8",
907
- "type": "text",
1065
+ "type": "tableCell",
1066
+ },
1067
+ {
1068
+ "content": [
1069
+ {
1070
+ "styles": {},
1071
+ "text": "Cell 8",
1072
+ "type": "text",
1073
+ },
1074
+ ],
1075
+ "props": {
1076
+ "backgroundColor": "default",
1077
+ "colspan": 1,
1078
+ "rowspan": 1,
1079
+ "textAlignment": "left",
1080
+ "textColor": "default",
908
1081
  },
909
- ],
910
- [
911
- {
912
- "styles": {},
913
- "text": "Cell 9",
914
- "type": "text",
1082
+ "type": "tableCell",
1083
+ },
1084
+ {
1085
+ "content": [
1086
+ {
1087
+ "styles": {},
1088
+ "text": "Cell 9",
1089
+ "type": "text",
1090
+ },
1091
+ ],
1092
+ "props": {
1093
+ "backgroundColor": "default",
1094
+ "colspan": 1,
1095
+ "rowspan": 1,
1096
+ "textAlignment": "left",
1097
+ "textColor": "default",
915
1098
  },
916
- ],
1099
+ "type": "tableCell",
1100
+ },
917
1101
  ],
918
1102
  },
919
1103
  ],
@@ -1326,80 +1510,172 @@ exports[`Test insertBlocks > Insert single basic block after 1`] = `
1326
1510
  undefined,
1327
1511
  undefined,
1328
1512
  ],
1513
+ "headerCols": undefined,
1514
+ "headerRows": undefined,
1329
1515
  "rows": [
1330
1516
  {
1331
1517
  "cells": [
1332
- [
1333
- {
1334
- "styles": {},
1335
- "text": "Cell 1",
1336
- "type": "text",
1518
+ {
1519
+ "content": [
1520
+ {
1521
+ "styles": {},
1522
+ "text": "Cell 1",
1523
+ "type": "text",
1524
+ },
1525
+ ],
1526
+ "props": {
1527
+ "backgroundColor": "default",
1528
+ "colspan": 1,
1529
+ "rowspan": 1,
1530
+ "textAlignment": "left",
1531
+ "textColor": "default",
1337
1532
  },
1338
- ],
1339
- [
1340
- {
1341
- "styles": {},
1342
- "text": "Cell 2",
1343
- "type": "text",
1533
+ "type": "tableCell",
1534
+ },
1535
+ {
1536
+ "content": [
1537
+ {
1538
+ "styles": {},
1539
+ "text": "Cell 2",
1540
+ "type": "text",
1541
+ },
1542
+ ],
1543
+ "props": {
1544
+ "backgroundColor": "default",
1545
+ "colspan": 1,
1546
+ "rowspan": 1,
1547
+ "textAlignment": "left",
1548
+ "textColor": "default",
1344
1549
  },
1345
- ],
1346
- [
1347
- {
1348
- "styles": {},
1349
- "text": "Cell 3",
1350
- "type": "text",
1550
+ "type": "tableCell",
1551
+ },
1552
+ {
1553
+ "content": [
1554
+ {
1555
+ "styles": {},
1556
+ "text": "Cell 3",
1557
+ "type": "text",
1558
+ },
1559
+ ],
1560
+ "props": {
1561
+ "backgroundColor": "default",
1562
+ "colspan": 1,
1563
+ "rowspan": 1,
1564
+ "textAlignment": "left",
1565
+ "textColor": "default",
1351
1566
  },
1352
- ],
1567
+ "type": "tableCell",
1568
+ },
1353
1569
  ],
1354
1570
  },
1355
1571
  {
1356
1572
  "cells": [
1357
- [
1358
- {
1359
- "styles": {},
1360
- "text": "Cell 4",
1361
- "type": "text",
1573
+ {
1574
+ "content": [
1575
+ {
1576
+ "styles": {},
1577
+ "text": "Cell 4",
1578
+ "type": "text",
1579
+ },
1580
+ ],
1581
+ "props": {
1582
+ "backgroundColor": "default",
1583
+ "colspan": 1,
1584
+ "rowspan": 1,
1585
+ "textAlignment": "left",
1586
+ "textColor": "default",
1362
1587
  },
1363
- ],
1364
- [
1365
- {
1366
- "styles": {},
1367
- "text": "Cell 5",
1368
- "type": "text",
1588
+ "type": "tableCell",
1589
+ },
1590
+ {
1591
+ "content": [
1592
+ {
1593
+ "styles": {},
1594
+ "text": "Cell 5",
1595
+ "type": "text",
1596
+ },
1597
+ ],
1598
+ "props": {
1599
+ "backgroundColor": "default",
1600
+ "colspan": 1,
1601
+ "rowspan": 1,
1602
+ "textAlignment": "left",
1603
+ "textColor": "default",
1369
1604
  },
1370
- ],
1371
- [
1372
- {
1373
- "styles": {},
1374
- "text": "Cell 6",
1375
- "type": "text",
1605
+ "type": "tableCell",
1606
+ },
1607
+ {
1608
+ "content": [
1609
+ {
1610
+ "styles": {},
1611
+ "text": "Cell 6",
1612
+ "type": "text",
1613
+ },
1614
+ ],
1615
+ "props": {
1616
+ "backgroundColor": "default",
1617
+ "colspan": 1,
1618
+ "rowspan": 1,
1619
+ "textAlignment": "left",
1620
+ "textColor": "default",
1376
1621
  },
1377
- ],
1622
+ "type": "tableCell",
1623
+ },
1378
1624
  ],
1379
1625
  },
1380
1626
  {
1381
1627
  "cells": [
1382
- [
1383
- {
1384
- "styles": {},
1385
- "text": "Cell 7",
1386
- "type": "text",
1628
+ {
1629
+ "content": [
1630
+ {
1631
+ "styles": {},
1632
+ "text": "Cell 7",
1633
+ "type": "text",
1634
+ },
1635
+ ],
1636
+ "props": {
1637
+ "backgroundColor": "default",
1638
+ "colspan": 1,
1639
+ "rowspan": 1,
1640
+ "textAlignment": "left",
1641
+ "textColor": "default",
1387
1642
  },
1388
- ],
1389
- [
1390
- {
1391
- "styles": {},
1392
- "text": "Cell 8",
1393
- "type": "text",
1643
+ "type": "tableCell",
1644
+ },
1645
+ {
1646
+ "content": [
1647
+ {
1648
+ "styles": {},
1649
+ "text": "Cell 8",
1650
+ "type": "text",
1651
+ },
1652
+ ],
1653
+ "props": {
1654
+ "backgroundColor": "default",
1655
+ "colspan": 1,
1656
+ "rowspan": 1,
1657
+ "textAlignment": "left",
1658
+ "textColor": "default",
1394
1659
  },
1395
- ],
1396
- [
1397
- {
1398
- "styles": {},
1399
- "text": "Cell 9",
1400
- "type": "text",
1660
+ "type": "tableCell",
1661
+ },
1662
+ {
1663
+ "content": [
1664
+ {
1665
+ "styles": {},
1666
+ "text": "Cell 9",
1667
+ "type": "text",
1668
+ },
1669
+ ],
1670
+ "props": {
1671
+ "backgroundColor": "default",
1672
+ "colspan": 1,
1673
+ "rowspan": 1,
1674
+ "textAlignment": "left",
1675
+ "textColor": "default",
1401
1676
  },
1402
- ],
1677
+ "type": "tableCell",
1678
+ },
1403
1679
  ],
1404
1680
  },
1405
1681
  ],
@@ -1818,80 +2094,172 @@ exports[`Test insertBlocks > Insert single basic block before (without type) 1`]
1818
2094
  undefined,
1819
2095
  undefined,
1820
2096
  ],
2097
+ "headerCols": undefined,
2098
+ "headerRows": undefined,
1821
2099
  "rows": [
1822
2100
  {
1823
2101
  "cells": [
1824
- [
1825
- {
1826
- "styles": {},
1827
- "text": "Cell 1",
1828
- "type": "text",
2102
+ {
2103
+ "content": [
2104
+ {
2105
+ "styles": {},
2106
+ "text": "Cell 1",
2107
+ "type": "text",
2108
+ },
2109
+ ],
2110
+ "props": {
2111
+ "backgroundColor": "default",
2112
+ "colspan": 1,
2113
+ "rowspan": 1,
2114
+ "textAlignment": "left",
2115
+ "textColor": "default",
1829
2116
  },
1830
- ],
1831
- [
1832
- {
1833
- "styles": {},
1834
- "text": "Cell 2",
1835
- "type": "text",
2117
+ "type": "tableCell",
2118
+ },
2119
+ {
2120
+ "content": [
2121
+ {
2122
+ "styles": {},
2123
+ "text": "Cell 2",
2124
+ "type": "text",
2125
+ },
2126
+ ],
2127
+ "props": {
2128
+ "backgroundColor": "default",
2129
+ "colspan": 1,
2130
+ "rowspan": 1,
2131
+ "textAlignment": "left",
2132
+ "textColor": "default",
1836
2133
  },
1837
- ],
1838
- [
1839
- {
1840
- "styles": {},
1841
- "text": "Cell 3",
1842
- "type": "text",
2134
+ "type": "tableCell",
2135
+ },
2136
+ {
2137
+ "content": [
2138
+ {
2139
+ "styles": {},
2140
+ "text": "Cell 3",
2141
+ "type": "text",
2142
+ },
2143
+ ],
2144
+ "props": {
2145
+ "backgroundColor": "default",
2146
+ "colspan": 1,
2147
+ "rowspan": 1,
2148
+ "textAlignment": "left",
2149
+ "textColor": "default",
1843
2150
  },
1844
- ],
2151
+ "type": "tableCell",
2152
+ },
1845
2153
  ],
1846
2154
  },
1847
2155
  {
1848
2156
  "cells": [
1849
- [
1850
- {
1851
- "styles": {},
1852
- "text": "Cell 4",
1853
- "type": "text",
2157
+ {
2158
+ "content": [
2159
+ {
2160
+ "styles": {},
2161
+ "text": "Cell 4",
2162
+ "type": "text",
2163
+ },
2164
+ ],
2165
+ "props": {
2166
+ "backgroundColor": "default",
2167
+ "colspan": 1,
2168
+ "rowspan": 1,
2169
+ "textAlignment": "left",
2170
+ "textColor": "default",
1854
2171
  },
1855
- ],
1856
- [
1857
- {
1858
- "styles": {},
1859
- "text": "Cell 5",
1860
- "type": "text",
2172
+ "type": "tableCell",
2173
+ },
2174
+ {
2175
+ "content": [
2176
+ {
2177
+ "styles": {},
2178
+ "text": "Cell 5",
2179
+ "type": "text",
2180
+ },
2181
+ ],
2182
+ "props": {
2183
+ "backgroundColor": "default",
2184
+ "colspan": 1,
2185
+ "rowspan": 1,
2186
+ "textAlignment": "left",
2187
+ "textColor": "default",
1861
2188
  },
1862
- ],
1863
- [
1864
- {
1865
- "styles": {},
1866
- "text": "Cell 6",
1867
- "type": "text",
2189
+ "type": "tableCell",
2190
+ },
2191
+ {
2192
+ "content": [
2193
+ {
2194
+ "styles": {},
2195
+ "text": "Cell 6",
2196
+ "type": "text",
2197
+ },
2198
+ ],
2199
+ "props": {
2200
+ "backgroundColor": "default",
2201
+ "colspan": 1,
2202
+ "rowspan": 1,
2203
+ "textAlignment": "left",
2204
+ "textColor": "default",
1868
2205
  },
1869
- ],
2206
+ "type": "tableCell",
2207
+ },
1870
2208
  ],
1871
2209
  },
1872
2210
  {
1873
2211
  "cells": [
1874
- [
1875
- {
1876
- "styles": {},
1877
- "text": "Cell 7",
1878
- "type": "text",
2212
+ {
2213
+ "content": [
2214
+ {
2215
+ "styles": {},
2216
+ "text": "Cell 7",
2217
+ "type": "text",
2218
+ },
2219
+ ],
2220
+ "props": {
2221
+ "backgroundColor": "default",
2222
+ "colspan": 1,
2223
+ "rowspan": 1,
2224
+ "textAlignment": "left",
2225
+ "textColor": "default",
1879
2226
  },
1880
- ],
1881
- [
1882
- {
1883
- "styles": {},
1884
- "text": "Cell 8",
1885
- "type": "text",
2227
+ "type": "tableCell",
2228
+ },
2229
+ {
2230
+ "content": [
2231
+ {
2232
+ "styles": {},
2233
+ "text": "Cell 8",
2234
+ "type": "text",
2235
+ },
2236
+ ],
2237
+ "props": {
2238
+ "backgroundColor": "default",
2239
+ "colspan": 1,
2240
+ "rowspan": 1,
2241
+ "textAlignment": "left",
2242
+ "textColor": "default",
1886
2243
  },
1887
- ],
1888
- [
1889
- {
1890
- "styles": {},
1891
- "text": "Cell 9",
1892
- "type": "text",
2244
+ "type": "tableCell",
2245
+ },
2246
+ {
2247
+ "content": [
2248
+ {
2249
+ "styles": {},
2250
+ "text": "Cell 9",
2251
+ "type": "text",
2252
+ },
2253
+ ],
2254
+ "props": {
2255
+ "backgroundColor": "default",
2256
+ "colspan": 1,
2257
+ "rowspan": 1,
2258
+ "textAlignment": "left",
2259
+ "textColor": "default",
1893
2260
  },
1894
- ],
2261
+ "type": "tableCell",
2262
+ },
1895
2263
  ],
1896
2264
  },
1897
2265
  ],
@@ -2304,80 +2672,172 @@ exports[`Test insertBlocks > Insert single basic block before 1`] = `
2304
2672
  undefined,
2305
2673
  undefined,
2306
2674
  ],
2675
+ "headerCols": undefined,
2676
+ "headerRows": undefined,
2307
2677
  "rows": [
2308
2678
  {
2309
2679
  "cells": [
2310
- [
2311
- {
2312
- "styles": {},
2313
- "text": "Cell 1",
2314
- "type": "text",
2680
+ {
2681
+ "content": [
2682
+ {
2683
+ "styles": {},
2684
+ "text": "Cell 1",
2685
+ "type": "text",
2686
+ },
2687
+ ],
2688
+ "props": {
2689
+ "backgroundColor": "default",
2690
+ "colspan": 1,
2691
+ "rowspan": 1,
2692
+ "textAlignment": "left",
2693
+ "textColor": "default",
2315
2694
  },
2316
- ],
2317
- [
2318
- {
2319
- "styles": {},
2320
- "text": "Cell 2",
2321
- "type": "text",
2695
+ "type": "tableCell",
2696
+ },
2697
+ {
2698
+ "content": [
2699
+ {
2700
+ "styles": {},
2701
+ "text": "Cell 2",
2702
+ "type": "text",
2703
+ },
2704
+ ],
2705
+ "props": {
2706
+ "backgroundColor": "default",
2707
+ "colspan": 1,
2708
+ "rowspan": 1,
2709
+ "textAlignment": "left",
2710
+ "textColor": "default",
2322
2711
  },
2323
- ],
2324
- [
2325
- {
2326
- "styles": {},
2327
- "text": "Cell 3",
2328
- "type": "text",
2712
+ "type": "tableCell",
2713
+ },
2714
+ {
2715
+ "content": [
2716
+ {
2717
+ "styles": {},
2718
+ "text": "Cell 3",
2719
+ "type": "text",
2720
+ },
2721
+ ],
2722
+ "props": {
2723
+ "backgroundColor": "default",
2724
+ "colspan": 1,
2725
+ "rowspan": 1,
2726
+ "textAlignment": "left",
2727
+ "textColor": "default",
2329
2728
  },
2330
- ],
2729
+ "type": "tableCell",
2730
+ },
2331
2731
  ],
2332
2732
  },
2333
2733
  {
2334
2734
  "cells": [
2335
- [
2336
- {
2337
- "styles": {},
2338
- "text": "Cell 4",
2339
- "type": "text",
2735
+ {
2736
+ "content": [
2737
+ {
2738
+ "styles": {},
2739
+ "text": "Cell 4",
2740
+ "type": "text",
2741
+ },
2742
+ ],
2743
+ "props": {
2744
+ "backgroundColor": "default",
2745
+ "colspan": 1,
2746
+ "rowspan": 1,
2747
+ "textAlignment": "left",
2748
+ "textColor": "default",
2340
2749
  },
2341
- ],
2342
- [
2343
- {
2344
- "styles": {},
2345
- "text": "Cell 5",
2346
- "type": "text",
2750
+ "type": "tableCell",
2751
+ },
2752
+ {
2753
+ "content": [
2754
+ {
2755
+ "styles": {},
2756
+ "text": "Cell 5",
2757
+ "type": "text",
2758
+ },
2759
+ ],
2760
+ "props": {
2761
+ "backgroundColor": "default",
2762
+ "colspan": 1,
2763
+ "rowspan": 1,
2764
+ "textAlignment": "left",
2765
+ "textColor": "default",
2347
2766
  },
2348
- ],
2349
- [
2350
- {
2351
- "styles": {},
2352
- "text": "Cell 6",
2353
- "type": "text",
2767
+ "type": "tableCell",
2768
+ },
2769
+ {
2770
+ "content": [
2771
+ {
2772
+ "styles": {},
2773
+ "text": "Cell 6",
2774
+ "type": "text",
2775
+ },
2776
+ ],
2777
+ "props": {
2778
+ "backgroundColor": "default",
2779
+ "colspan": 1,
2780
+ "rowspan": 1,
2781
+ "textAlignment": "left",
2782
+ "textColor": "default",
2354
2783
  },
2355
- ],
2784
+ "type": "tableCell",
2785
+ },
2356
2786
  ],
2357
2787
  },
2358
2788
  {
2359
2789
  "cells": [
2360
- [
2361
- {
2362
- "styles": {},
2363
- "text": "Cell 7",
2364
- "type": "text",
2790
+ {
2791
+ "content": [
2792
+ {
2793
+ "styles": {},
2794
+ "text": "Cell 7",
2795
+ "type": "text",
2796
+ },
2797
+ ],
2798
+ "props": {
2799
+ "backgroundColor": "default",
2800
+ "colspan": 1,
2801
+ "rowspan": 1,
2802
+ "textAlignment": "left",
2803
+ "textColor": "default",
2365
2804
  },
2366
- ],
2367
- [
2368
- {
2369
- "styles": {},
2370
- "text": "Cell 8",
2371
- "type": "text",
2805
+ "type": "tableCell",
2806
+ },
2807
+ {
2808
+ "content": [
2809
+ {
2810
+ "styles": {},
2811
+ "text": "Cell 8",
2812
+ "type": "text",
2813
+ },
2814
+ ],
2815
+ "props": {
2816
+ "backgroundColor": "default",
2817
+ "colspan": 1,
2818
+ "rowspan": 1,
2819
+ "textAlignment": "left",
2820
+ "textColor": "default",
2372
2821
  },
2373
- ],
2374
- [
2375
- {
2376
- "styles": {},
2377
- "text": "Cell 9",
2378
- "type": "text",
2822
+ "type": "tableCell",
2823
+ },
2824
+ {
2825
+ "content": [
2826
+ {
2827
+ "styles": {},
2828
+ "text": "Cell 9",
2829
+ "type": "text",
2830
+ },
2831
+ ],
2832
+ "props": {
2833
+ "backgroundColor": "default",
2834
+ "colspan": 1,
2835
+ "rowspan": 1,
2836
+ "textAlignment": "left",
2837
+ "textColor": "default",
2379
2838
  },
2380
- ],
2839
+ "type": "tableCell",
2840
+ },
2381
2841
  ],
2382
2842
  },
2383
2843
  ],
@@ -2847,80 +3307,172 @@ exports[`Test insertBlocks > Insert single complex block after 1`] = `
2847
3307
  undefined,
2848
3308
  undefined,
2849
3309
  ],
3310
+ "headerCols": undefined,
3311
+ "headerRows": undefined,
2850
3312
  "rows": [
2851
3313
  {
2852
3314
  "cells": [
2853
- [
2854
- {
2855
- "styles": {},
2856
- "text": "Cell 1",
2857
- "type": "text",
3315
+ {
3316
+ "content": [
3317
+ {
3318
+ "styles": {},
3319
+ "text": "Cell 1",
3320
+ "type": "text",
3321
+ },
3322
+ ],
3323
+ "props": {
3324
+ "backgroundColor": "default",
3325
+ "colspan": 1,
3326
+ "rowspan": 1,
3327
+ "textAlignment": "left",
3328
+ "textColor": "default",
2858
3329
  },
2859
- ],
2860
- [
2861
- {
2862
- "styles": {},
2863
- "text": "Cell 2",
2864
- "type": "text",
3330
+ "type": "tableCell",
3331
+ },
3332
+ {
3333
+ "content": [
3334
+ {
3335
+ "styles": {},
3336
+ "text": "Cell 2",
3337
+ "type": "text",
3338
+ },
3339
+ ],
3340
+ "props": {
3341
+ "backgroundColor": "default",
3342
+ "colspan": 1,
3343
+ "rowspan": 1,
3344
+ "textAlignment": "left",
3345
+ "textColor": "default",
2865
3346
  },
2866
- ],
2867
- [
2868
- {
2869
- "styles": {},
2870
- "text": "Cell 3",
2871
- "type": "text",
3347
+ "type": "tableCell",
3348
+ },
3349
+ {
3350
+ "content": [
3351
+ {
3352
+ "styles": {},
3353
+ "text": "Cell 3",
3354
+ "type": "text",
3355
+ },
3356
+ ],
3357
+ "props": {
3358
+ "backgroundColor": "default",
3359
+ "colspan": 1,
3360
+ "rowspan": 1,
3361
+ "textAlignment": "left",
3362
+ "textColor": "default",
2872
3363
  },
2873
- ],
3364
+ "type": "tableCell",
3365
+ },
2874
3366
  ],
2875
3367
  },
2876
3368
  {
2877
3369
  "cells": [
2878
- [
2879
- {
2880
- "styles": {},
2881
- "text": "Cell 4",
2882
- "type": "text",
3370
+ {
3371
+ "content": [
3372
+ {
3373
+ "styles": {},
3374
+ "text": "Cell 4",
3375
+ "type": "text",
3376
+ },
3377
+ ],
3378
+ "props": {
3379
+ "backgroundColor": "default",
3380
+ "colspan": 1,
3381
+ "rowspan": 1,
3382
+ "textAlignment": "left",
3383
+ "textColor": "default",
2883
3384
  },
2884
- ],
2885
- [
2886
- {
2887
- "styles": {},
2888
- "text": "Cell 5",
2889
- "type": "text",
3385
+ "type": "tableCell",
3386
+ },
3387
+ {
3388
+ "content": [
3389
+ {
3390
+ "styles": {},
3391
+ "text": "Cell 5",
3392
+ "type": "text",
3393
+ },
3394
+ ],
3395
+ "props": {
3396
+ "backgroundColor": "default",
3397
+ "colspan": 1,
3398
+ "rowspan": 1,
3399
+ "textAlignment": "left",
3400
+ "textColor": "default",
2890
3401
  },
2891
- ],
2892
- [
2893
- {
2894
- "styles": {},
2895
- "text": "Cell 6",
2896
- "type": "text",
3402
+ "type": "tableCell",
3403
+ },
3404
+ {
3405
+ "content": [
3406
+ {
3407
+ "styles": {},
3408
+ "text": "Cell 6",
3409
+ "type": "text",
3410
+ },
3411
+ ],
3412
+ "props": {
3413
+ "backgroundColor": "default",
3414
+ "colspan": 1,
3415
+ "rowspan": 1,
3416
+ "textAlignment": "left",
3417
+ "textColor": "default",
2897
3418
  },
2898
- ],
3419
+ "type": "tableCell",
3420
+ },
2899
3421
  ],
2900
3422
  },
2901
3423
  {
2902
3424
  "cells": [
2903
- [
2904
- {
2905
- "styles": {},
2906
- "text": "Cell 7",
2907
- "type": "text",
3425
+ {
3426
+ "content": [
3427
+ {
3428
+ "styles": {},
3429
+ "text": "Cell 7",
3430
+ "type": "text",
3431
+ },
3432
+ ],
3433
+ "props": {
3434
+ "backgroundColor": "default",
3435
+ "colspan": 1,
3436
+ "rowspan": 1,
3437
+ "textAlignment": "left",
3438
+ "textColor": "default",
2908
3439
  },
2909
- ],
2910
- [
2911
- {
2912
- "styles": {},
2913
- "text": "Cell 8",
2914
- "type": "text",
3440
+ "type": "tableCell",
3441
+ },
3442
+ {
3443
+ "content": [
3444
+ {
3445
+ "styles": {},
3446
+ "text": "Cell 8",
3447
+ "type": "text",
3448
+ },
3449
+ ],
3450
+ "props": {
3451
+ "backgroundColor": "default",
3452
+ "colspan": 1,
3453
+ "rowspan": 1,
3454
+ "textAlignment": "left",
3455
+ "textColor": "default",
2915
3456
  },
2916
- ],
2917
- [
2918
- {
2919
- "styles": {},
2920
- "text": "Cell 9",
2921
- "type": "text",
3457
+ "type": "tableCell",
3458
+ },
3459
+ {
3460
+ "content": [
3461
+ {
3462
+ "styles": {},
3463
+ "text": "Cell 9",
3464
+ "type": "text",
3465
+ },
3466
+ ],
3467
+ "props": {
3468
+ "backgroundColor": "default",
3469
+ "colspan": 1,
3470
+ "rowspan": 1,
3471
+ "textAlignment": "left",
3472
+ "textColor": "default",
2922
3473
  },
2923
- ],
3474
+ "type": "tableCell",
3475
+ },
2924
3476
  ],
2925
3477
  },
2926
3478
  ],
@@ -3390,80 +3942,172 @@ exports[`Test insertBlocks > Insert single complex block before 1`] = `
3390
3942
  undefined,
3391
3943
  undefined,
3392
3944
  ],
3945
+ "headerCols": undefined,
3946
+ "headerRows": undefined,
3393
3947
  "rows": [
3394
3948
  {
3395
3949
  "cells": [
3396
- [
3397
- {
3398
- "styles": {},
3399
- "text": "Cell 1",
3400
- "type": "text",
3950
+ {
3951
+ "content": [
3952
+ {
3953
+ "styles": {},
3954
+ "text": "Cell 1",
3955
+ "type": "text",
3956
+ },
3957
+ ],
3958
+ "props": {
3959
+ "backgroundColor": "default",
3960
+ "colspan": 1,
3961
+ "rowspan": 1,
3962
+ "textAlignment": "left",
3963
+ "textColor": "default",
3401
3964
  },
3402
- ],
3403
- [
3404
- {
3405
- "styles": {},
3406
- "text": "Cell 2",
3407
- "type": "text",
3965
+ "type": "tableCell",
3966
+ },
3967
+ {
3968
+ "content": [
3969
+ {
3970
+ "styles": {},
3971
+ "text": "Cell 2",
3972
+ "type": "text",
3973
+ },
3974
+ ],
3975
+ "props": {
3976
+ "backgroundColor": "default",
3977
+ "colspan": 1,
3978
+ "rowspan": 1,
3979
+ "textAlignment": "left",
3980
+ "textColor": "default",
3408
3981
  },
3409
- ],
3410
- [
3411
- {
3412
- "styles": {},
3413
- "text": "Cell 3",
3414
- "type": "text",
3982
+ "type": "tableCell",
3983
+ },
3984
+ {
3985
+ "content": [
3986
+ {
3987
+ "styles": {},
3988
+ "text": "Cell 3",
3989
+ "type": "text",
3990
+ },
3991
+ ],
3992
+ "props": {
3993
+ "backgroundColor": "default",
3994
+ "colspan": 1,
3995
+ "rowspan": 1,
3996
+ "textAlignment": "left",
3997
+ "textColor": "default",
3415
3998
  },
3416
- ],
3999
+ "type": "tableCell",
4000
+ },
3417
4001
  ],
3418
4002
  },
3419
4003
  {
3420
4004
  "cells": [
3421
- [
3422
- {
3423
- "styles": {},
3424
- "text": "Cell 4",
3425
- "type": "text",
4005
+ {
4006
+ "content": [
4007
+ {
4008
+ "styles": {},
4009
+ "text": "Cell 4",
4010
+ "type": "text",
4011
+ },
4012
+ ],
4013
+ "props": {
4014
+ "backgroundColor": "default",
4015
+ "colspan": 1,
4016
+ "rowspan": 1,
4017
+ "textAlignment": "left",
4018
+ "textColor": "default",
3426
4019
  },
3427
- ],
3428
- [
3429
- {
3430
- "styles": {},
3431
- "text": "Cell 5",
3432
- "type": "text",
4020
+ "type": "tableCell",
4021
+ },
4022
+ {
4023
+ "content": [
4024
+ {
4025
+ "styles": {},
4026
+ "text": "Cell 5",
4027
+ "type": "text",
4028
+ },
4029
+ ],
4030
+ "props": {
4031
+ "backgroundColor": "default",
4032
+ "colspan": 1,
4033
+ "rowspan": 1,
4034
+ "textAlignment": "left",
4035
+ "textColor": "default",
3433
4036
  },
3434
- ],
3435
- [
3436
- {
3437
- "styles": {},
3438
- "text": "Cell 6",
3439
- "type": "text",
4037
+ "type": "tableCell",
4038
+ },
4039
+ {
4040
+ "content": [
4041
+ {
4042
+ "styles": {},
4043
+ "text": "Cell 6",
4044
+ "type": "text",
4045
+ },
4046
+ ],
4047
+ "props": {
4048
+ "backgroundColor": "default",
4049
+ "colspan": 1,
4050
+ "rowspan": 1,
4051
+ "textAlignment": "left",
4052
+ "textColor": "default",
3440
4053
  },
3441
- ],
4054
+ "type": "tableCell",
4055
+ },
3442
4056
  ],
3443
4057
  },
3444
4058
  {
3445
4059
  "cells": [
3446
- [
3447
- {
3448
- "styles": {},
3449
- "text": "Cell 7",
3450
- "type": "text",
4060
+ {
4061
+ "content": [
4062
+ {
4063
+ "styles": {},
4064
+ "text": "Cell 7",
4065
+ "type": "text",
4066
+ },
4067
+ ],
4068
+ "props": {
4069
+ "backgroundColor": "default",
4070
+ "colspan": 1,
4071
+ "rowspan": 1,
4072
+ "textAlignment": "left",
4073
+ "textColor": "default",
3451
4074
  },
3452
- ],
3453
- [
3454
- {
3455
- "styles": {},
3456
- "text": "Cell 8",
3457
- "type": "text",
4075
+ "type": "tableCell",
4076
+ },
4077
+ {
4078
+ "content": [
4079
+ {
4080
+ "styles": {},
4081
+ "text": "Cell 8",
4082
+ "type": "text",
4083
+ },
4084
+ ],
4085
+ "props": {
4086
+ "backgroundColor": "default",
4087
+ "colspan": 1,
4088
+ "rowspan": 1,
4089
+ "textAlignment": "left",
4090
+ "textColor": "default",
3458
4091
  },
3459
- ],
3460
- [
3461
- {
3462
- "styles": {},
3463
- "text": "Cell 9",
3464
- "type": "text",
4092
+ "type": "tableCell",
4093
+ },
4094
+ {
4095
+ "content": [
4096
+ {
4097
+ "styles": {},
4098
+ "text": "Cell 9",
4099
+ "type": "text",
4100
+ },
4101
+ ],
4102
+ "props": {
4103
+ "backgroundColor": "default",
4104
+ "colspan": 1,
4105
+ "rowspan": 1,
4106
+ "textAlignment": "left",
4107
+ "textColor": "default",
3465
4108
  },
3466
- ],
4109
+ "type": "tableCell",
4110
+ },
3467
4111
  ],
3468
4112
  },
3469
4113
  ],