@atlaskit/editor-plugin-table 5.3.25 → 5.3.27

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 (93) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/plugins/table/commands/hover.js +9 -3
  3. package/dist/cjs/plugins/table/pm-plugins/drag-and-drop/commands.js +19 -6
  4. package/dist/cjs/plugins/table/pm-plugins/drag-and-drop/plugin.js +6 -1
  5. package/dist/cjs/plugins/table/types.js +3 -0
  6. package/dist/cjs/plugins/table/ui/DragHandle/index.js +16 -4
  7. package/dist/cjs/plugins/table/ui/FloatingDragMenu/DragMenu.js +26 -1
  8. package/dist/cjs/plugins/table/ui/TableFloatingColumnControls/ColumnControls/index.js +2 -1
  9. package/dist/cjs/plugins/table/ui/TableFloatingControls/RowControls/DragControls.js +2 -1
  10. package/dist/cjs/plugins/table/ui/common-styles.js +1 -1
  11. package/dist/cjs/plugins/table/ui/consts.js +2 -1
  12. package/dist/cjs/plugins/table/ui/icons/DragHandleDisabledIcon.js +45 -0
  13. package/dist/cjs/plugins/table/ui/icons/index.js +7 -0
  14. package/dist/cjs/plugins/table/ui/ui-styles.js +12 -9
  15. package/dist/cjs/plugins/table/utils/decoration.js +7 -1
  16. package/dist/es2019/plugins/table/commands/hover.js +13 -4
  17. package/dist/es2019/plugins/table/pm-plugins/drag-and-drop/commands.js +19 -6
  18. package/dist/es2019/plugins/table/pm-plugins/drag-and-drop/plugin.js +6 -1
  19. package/dist/es2019/plugins/table/types.js +3 -0
  20. package/dist/es2019/plugins/table/ui/DragHandle/index.js +19 -6
  21. package/dist/es2019/plugins/table/ui/FloatingDragMenu/DragMenu.js +27 -1
  22. package/dist/es2019/plugins/table/ui/TableFloatingColumnControls/ColumnControls/index.js +2 -1
  23. package/dist/es2019/plugins/table/ui/TableFloatingControls/RowControls/DragControls.js +2 -1
  24. package/dist/es2019/plugins/table/ui/common-styles.js +30 -38
  25. package/dist/es2019/plugins/table/ui/consts.js +1 -0
  26. package/dist/es2019/plugins/table/ui/icons/DragHandleDisabledIcon.js +37 -0
  27. package/dist/es2019/plugins/table/ui/icons/index.js +1 -0
  28. package/dist/es2019/plugins/table/ui/ui-styles.js +13 -1
  29. package/dist/es2019/plugins/table/utils/decoration.js +7 -1
  30. package/dist/esm/plugins/table/commands/hover.js +10 -4
  31. package/dist/esm/plugins/table/pm-plugins/drag-and-drop/commands.js +19 -6
  32. package/dist/esm/plugins/table/pm-plugins/drag-and-drop/plugin.js +6 -1
  33. package/dist/esm/plugins/table/types.js +3 -0
  34. package/dist/esm/plugins/table/ui/DragHandle/index.js +18 -6
  35. package/dist/esm/plugins/table/ui/FloatingDragMenu/DragMenu.js +26 -1
  36. package/dist/esm/plugins/table/ui/TableFloatingColumnControls/ColumnControls/index.js +2 -1
  37. package/dist/esm/plugins/table/ui/TableFloatingControls/RowControls/DragControls.js +2 -1
  38. package/dist/esm/plugins/table/ui/common-styles.js +2 -2
  39. package/dist/esm/plugins/table/ui/consts.js +1 -0
  40. package/dist/esm/plugins/table/ui/icons/DragHandleDisabledIcon.js +38 -0
  41. package/dist/esm/plugins/table/ui/icons/index.js +1 -0
  42. package/dist/esm/plugins/table/ui/ui-styles.js +12 -9
  43. package/dist/esm/plugins/table/utils/decoration.js +7 -1
  44. package/dist/types/plugins/table/types.d.ts +3 -0
  45. package/dist/types/plugins/table/ui/DragHandle/index.d.ts +3 -1
  46. package/dist/types/plugins/table/ui/consts.d.ts +1 -0
  47. package/dist/types/plugins/table/ui/icons/DragHandleDisabledIcon.d.ts +6 -0
  48. package/dist/types/plugins/table/ui/icons/index.d.ts +1 -0
  49. package/dist/types/plugins/table/ui/ui-styles.d.ts +1 -0
  50. package/dist/types/plugins/table/utils/decoration.d.ts +1 -1
  51. package/dist/types/plugins/table/utils/selection.d.ts +2 -2
  52. package/dist/types-ts4.5/plugins/table/types.d.ts +3 -0
  53. package/dist/types-ts4.5/plugins/table/ui/DragHandle/index.d.ts +3 -1
  54. package/dist/types-ts4.5/plugins/table/ui/consts.d.ts +1 -0
  55. package/dist/types-ts4.5/plugins/table/ui/icons/DragHandleDisabledIcon.d.ts +6 -0
  56. package/dist/types-ts4.5/plugins/table/ui/icons/index.d.ts +1 -0
  57. package/dist/types-ts4.5/plugins/table/ui/ui-styles.d.ts +1 -0
  58. package/dist/types-ts4.5/plugins/table/utils/decoration.d.ts +1 -1
  59. package/dist/types-ts4.5/plugins/table/utils/selection.d.ts +2 -2
  60. package/package.json +2 -2
  61. package/src/plugins/table/commands/hover.ts +12 -1
  62. package/src/plugins/table/pm-plugins/drag-and-drop/commands.ts +31 -7
  63. package/src/plugins/table/pm-plugins/drag-and-drop/plugin.ts +7 -1
  64. package/src/plugins/table/types.ts +4 -0
  65. package/src/plugins/table/ui/DragHandle/index.tsx +36 -5
  66. package/src/plugins/table/ui/FloatingDragMenu/DragMenu.tsx +33 -1
  67. package/src/plugins/table/ui/TableFloatingColumnControls/ColumnControls/index.tsx +1 -0
  68. package/src/plugins/table/ui/TableFloatingControls/RowControls/DragControls.tsx +1 -0
  69. package/src/plugins/table/ui/common-styles.ts +33 -40
  70. package/src/plugins/table/ui/consts.ts +6 -0
  71. package/src/plugins/table/ui/icons/DragHandleDisabledIcon.tsx +53 -0
  72. package/src/plugins/table/ui/icons/index.ts +1 -0
  73. package/src/plugins/table/ui/ui-styles.ts +13 -0
  74. package/src/plugins/table/utils/decoration.ts +14 -0
  75. package/src/plugins/table/utils/selection.ts +6 -2
  76. package/src/__tests__/integration/__snapshots__/auto-size.ts.snap +0 -612
  77. package/src/__tests__/integration/__snapshots__/delete-columns.ts.snap +0 -820
  78. package/src/__tests__/integration/__snapshots__/delete-last-column-in-full-width.ts.snap +0 -120
  79. package/src/__tests__/integration/__snapshots__/delete-last-column-with-empty-action.ts.snap +0 -120
  80. package/src/__tests__/integration/__snapshots__/delete-last-row-with-empty-action.ts.snap +0 -229
  81. package/src/__tests__/integration/__snapshots__/insert-row-inside-layout.ts.snap +0 -239
  82. package/src/__tests__/integration/__snapshots__/resize.ts.snap +0 -2685
  83. package/src/__tests__/integration/__snapshots__/scale.ts.snap +0 -1085
  84. package/src/__tests__/integration/arrow-down-into-table.ts +0 -50
  85. package/src/__tests__/integration/auto-size.ts +0 -92
  86. package/src/__tests__/integration/cell-selection.ts +0 -105
  87. package/src/__tests__/integration/delete-columns.ts +0 -99
  88. package/src/__tests__/integration/delete-last-column-in-full-width.ts +0 -73
  89. package/src/__tests__/integration/delete-last-column-with-empty-action.ts +0 -60
  90. package/src/__tests__/integration/delete-last-row-with-empty-action.ts +0 -99
  91. package/src/__tests__/integration/insert-row-inside-layout.ts +0 -52
  92. package/src/__tests__/integration/resize.ts +0 -333
  93. package/src/__tests__/integration/scale.ts +0 -70
@@ -1,820 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Should delete merged columns from contextual menu and append missing cells to the table 1`] = `
4
- Object {
5
- "content": Array [
6
- Object {
7
- "attrs": Object {
8
- "__autoSize": false,
9
- "isNumberColumnEnabled": false,
10
- "layout": "default",
11
- "localId": "abc-123",
12
- "width": null,
13
- },
14
- "content": Array [
15
- Object {
16
- "content": Array [
17
- Object {
18
- "attrs": Object {
19
- "background": "#ffffff",
20
- "colspan": 1,
21
- "colwidth": Array [
22
- 151,
23
- ],
24
- "rowspan": 1,
25
- },
26
- "content": Array [
27
- Object {
28
- "content": Array [
29
- Object {
30
- "text": "1",
31
- "type": "text",
32
- },
33
- ],
34
- "type": "paragraph",
35
- },
36
- ],
37
- "type": "tableHeader",
38
- },
39
- Object {
40
- "attrs": Object {
41
- "background": "#e6fcff",
42
- "colspan": 1,
43
- "colwidth": Array [
44
- 275,
45
- ],
46
- "rowspan": 1,
47
- },
48
- "content": Array [
49
- Object {
50
- "content": Array [
51
- Object {
52
- "text": "3",
53
- "type": "text",
54
- },
55
- ],
56
- "type": "paragraph",
57
- },
58
- ],
59
- "type": "tableHeader",
60
- },
61
- Object {
62
- "attrs": Object {
63
- "background": "#eae6ff",
64
- "colspan": 1,
65
- "colwidth": Array [
66
- 83,
67
- ],
68
- "rowspan": 1,
69
- },
70
- "content": Array [
71
- Object {
72
- "content": Array [
73
- Object {
74
- "text": "4",
75
- "type": "text",
76
- },
77
- ],
78
- "type": "paragraph",
79
- },
80
- ],
81
- "type": "tableHeader",
82
- },
83
- Object {
84
- "attrs": Object {
85
- "background": "#ffffff",
86
- "colspan": 1,
87
- "colwidth": Array [
88
- 152,
89
- ],
90
- "rowspan": 1,
91
- },
92
- "content": Array [
93
- Object {
94
- "content": Array [
95
- Object {
96
- "text": "5",
97
- "type": "text",
98
- },
99
- ],
100
- "type": "paragraph",
101
- },
102
- ],
103
- "type": "tableHeader",
104
- },
105
- ],
106
- "type": "tableRow",
107
- },
108
- Object {
109
- "content": Array [
110
- Object {
111
- "attrs": Object {
112
- "background": "#e6fcff",
113
- "colspan": 1,
114
- "colwidth": Array [
115
- 151,
116
- ],
117
- "rowspan": 1,
118
- },
119
- "content": Array [
120
- Object {
121
- "content": Array [
122
- Object {
123
- "text": "2",
124
- "type": "text",
125
- },
126
- ],
127
- "type": "paragraph",
128
- },
129
- ],
130
- "type": "tableCell",
131
- },
132
- Object {
133
- "attrs": Object {
134
- "background": "#fffae6",
135
- "colspan": 1,
136
- "colwidth": Array [
137
- 275,
138
- ],
139
- "rowspan": 1,
140
- },
141
- "content": Array [
142
- Object {
143
- "type": "paragraph",
144
- },
145
- ],
146
- "type": "tableCell",
147
- },
148
- Object {
149
- "attrs": Object {
150
- "background": "#fffae6",
151
- "colspan": 1,
152
- "colwidth": Array [
153
- 83,
154
- ],
155
- "rowspan": 1,
156
- },
157
- "content": Array [
158
- Object {
159
- "type": "paragraph",
160
- },
161
- ],
162
- "type": "tableCell",
163
- },
164
- Object {
165
- "attrs": Object {
166
- "background": "#e6fcff",
167
- "colspan": 1,
168
- "colwidth": Array [
169
- 152,
170
- ],
171
- "rowspan": 1,
172
- },
173
- "content": Array [
174
- Object {
175
- "content": Array [
176
- Object {
177
- "text": "2",
178
- "type": "text",
179
- },
180
- ],
181
- "type": "paragraph",
182
- },
183
- ],
184
- "type": "tableCell",
185
- },
186
- ],
187
- "type": "tableRow",
188
- },
189
- Object {
190
- "content": Array [
191
- Object {
192
- "attrs": Object {
193
- "background": "#ffebe6",
194
- "colspan": 1,
195
- "colwidth": Array [
196
- 151,
197
- ],
198
- "rowspan": 1,
199
- },
200
- "content": Array [
201
- Object {
202
- "content": Array [
203
- Object {
204
- "text": "3",
205
- "type": "text",
206
- },
207
- ],
208
- "type": "paragraph",
209
- },
210
- ],
211
- "type": "tableCell",
212
- },
213
- Object {
214
- "attrs": Object {
215
- "background": "#fffae6",
216
- "colspan": 1,
217
- "colwidth": Array [
218
- 275,
219
- ],
220
- "rowspan": 1,
221
- },
222
- "content": Array [
223
- Object {
224
- "type": "paragraph",
225
- },
226
- ],
227
- "type": "tableCell",
228
- },
229
- Object {
230
- "attrs": Object {
231
- "background": "#fffae6",
232
- "colspan": 1,
233
- "colwidth": Array [
234
- 83,
235
- ],
236
- "rowspan": 1,
237
- },
238
- "content": Array [
239
- Object {
240
- "type": "paragraph",
241
- },
242
- ],
243
- "type": "tableCell",
244
- },
245
- Object {
246
- "attrs": Object {
247
- "background": "#ffebe6",
248
- "colspan": 1,
249
- "colwidth": Array [
250
- 152,
251
- ],
252
- "rowspan": 1,
253
- },
254
- "content": Array [
255
- Object {
256
- "content": Array [
257
- Object {
258
- "text": "3",
259
- "type": "text",
260
- },
261
- ],
262
- "type": "paragraph",
263
- },
264
- ],
265
- "type": "tableCell",
266
- },
267
- ],
268
- "type": "tableRow",
269
- },
270
- Object {
271
- "content": Array [
272
- Object {
273
- "attrs": Object {
274
- "background": "#e3fcef",
275
- "colspan": 1,
276
- "colwidth": Array [
277
- 151,
278
- ],
279
- "rowspan": 1,
280
- },
281
- "content": Array [
282
- Object {
283
- "content": Array [
284
- Object {
285
- "text": "4",
286
- "type": "text",
287
- },
288
- ],
289
- "type": "paragraph",
290
- },
291
- ],
292
- "type": "tableCell",
293
- },
294
- Object {
295
- "attrs": Object {
296
- "background": "#fffae6",
297
- "colspan": 1,
298
- "colwidth": Array [
299
- 275,
300
- ],
301
- "rowspan": 1,
302
- },
303
- "content": Array [
304
- Object {
305
- "type": "paragraph",
306
- },
307
- ],
308
- "type": "tableCell",
309
- },
310
- Object {
311
- "attrs": Object {
312
- "background": "#fffae6",
313
- "colspan": 1,
314
- "colwidth": Array [
315
- 83,
316
- ],
317
- "rowspan": 1,
318
- },
319
- "content": Array [
320
- Object {
321
- "type": "paragraph",
322
- },
323
- ],
324
- "type": "tableCell",
325
- },
326
- Object {
327
- "attrs": Object {
328
- "background": "#e3fcef",
329
- "colspan": 1,
330
- "colwidth": Array [
331
- 152,
332
- ],
333
- "rowspan": 1,
334
- },
335
- "content": Array [
336
- Object {
337
- "content": Array [
338
- Object {
339
- "text": "4",
340
- "type": "text",
341
- },
342
- ],
343
- "type": "paragraph",
344
- },
345
- ],
346
- "type": "tableCell",
347
- },
348
- ],
349
- "type": "tableRow",
350
- },
351
- Object {
352
- "content": Array [
353
- Object {
354
- "attrs": Object {
355
- "background": "#ffffff",
356
- "colspan": 1,
357
- "colwidth": Array [
358
- 151,
359
- ],
360
- "rowspan": 1,
361
- },
362
- "content": Array [
363
- Object {
364
- "content": Array [
365
- Object {
366
- "text": "5",
367
- "type": "text",
368
- },
369
- ],
370
- "type": "paragraph",
371
- },
372
- ],
373
- "type": "tableCell",
374
- },
375
- Object {
376
- "attrs": Object {
377
- "background": "#e6fcff",
378
- "colspan": 1,
379
- "colwidth": Array [
380
- 275,
381
- ],
382
- "rowspan": 1,
383
- },
384
- "content": Array [
385
- Object {
386
- "content": Array [
387
- Object {
388
- "text": "3",
389
- "type": "text",
390
- },
391
- ],
392
- "type": "paragraph",
393
- },
394
- ],
395
- "type": "tableCell",
396
- },
397
- Object {
398
- "attrs": Object {
399
- "background": "#eae6ff",
400
- "colspan": 1,
401
- "colwidth": Array [
402
- 83,
403
- ],
404
- "rowspan": 1,
405
- },
406
- "content": Array [
407
- Object {
408
- "content": Array [
409
- Object {
410
- "text": "4",
411
- "type": "text",
412
- },
413
- ],
414
- "type": "paragraph",
415
- },
416
- ],
417
- "type": "tableCell",
418
- },
419
- Object {
420
- "attrs": Object {
421
- "background": "#ffffff",
422
- "colspan": 1,
423
- "colwidth": Array [
424
- 152,
425
- ],
426
- "rowspan": 1,
427
- },
428
- "content": Array [
429
- Object {
430
- "content": Array [
431
- Object {
432
- "text": "5",
433
- "type": "text",
434
- },
435
- ],
436
- "type": "paragraph",
437
- },
438
- ],
439
- "type": "tableCell",
440
- },
441
- ],
442
- "type": "tableRow",
443
- },
444
- ],
445
- "type": "table",
446
- },
447
- ],
448
- "type": "doc",
449
- }
450
- `;
451
-
452
- exports[`Should delete merged columns from contextual menu and decrement colspan of the spanning cell 1`] = `
453
- Object {
454
- "content": Array [
455
- Object {
456
- "attrs": Object {
457
- "__autoSize": false,
458
- "isNumberColumnEnabled": false,
459
- "layout": "default",
460
- "localId": "abc-123",
461
- "width": null,
462
- },
463
- "content": Array [
464
- Object {
465
- "content": Array [
466
- Object {
467
- "attrs": Object {
468
- "background": "#ffffff",
469
- "colspan": 1,
470
- "colwidth": Array [
471
- 151,
472
- ],
473
- "rowspan": 1,
474
- },
475
- "content": Array [
476
- Object {
477
- "content": Array [
478
- Object {
479
- "text": "1",
480
- "type": "text",
481
- },
482
- ],
483
- "type": "paragraph",
484
- },
485
- ],
486
- "type": "tableHeader",
487
- },
488
- Object {
489
- "attrs": Object {
490
- "background": "#deebff",
491
- "colspan": 1,
492
- "colwidth": Array [
493
- 98,
494
- ],
495
- "rowspan": 1,
496
- },
497
- "content": Array [
498
- Object {
499
- "content": Array [
500
- Object {
501
- "text": "2",
502
- "type": "text",
503
- },
504
- ],
505
- "type": "paragraph",
506
- },
507
- ],
508
- "type": "tableHeader",
509
- },
510
- Object {
511
- "attrs": Object {
512
- "background": "#eae6ff",
513
- "colspan": 1,
514
- "colwidth": Array [
515
- 83,
516
- ],
517
- "rowspan": 1,
518
- },
519
- "content": Array [
520
- Object {
521
- "content": Array [
522
- Object {
523
- "text": "4",
524
- "type": "text",
525
- },
526
- ],
527
- "type": "paragraph",
528
- },
529
- ],
530
- "type": "tableHeader",
531
- },
532
- Object {
533
- "attrs": Object {
534
- "background": "#ffffff",
535
- "colspan": 1,
536
- "colwidth": Array [
537
- 152,
538
- ],
539
- "rowspan": 1,
540
- },
541
- "content": Array [
542
- Object {
543
- "content": Array [
544
- Object {
545
- "text": "5",
546
- "type": "text",
547
- },
548
- ],
549
- "type": "paragraph",
550
- },
551
- ],
552
- "type": "tableHeader",
553
- },
554
- ],
555
- "type": "tableRow",
556
- },
557
- Object {
558
- "content": Array [
559
- Object {
560
- "attrs": Object {
561
- "background": "#e6fcff",
562
- "colspan": 1,
563
- "colwidth": Array [
564
- 151,
565
- ],
566
- "rowspan": 1,
567
- },
568
- "content": Array [
569
- Object {
570
- "content": Array [
571
- Object {
572
- "text": "2",
573
- "type": "text",
574
- },
575
- ],
576
- "type": "paragraph",
577
- },
578
- ],
579
- "type": "tableCell",
580
- },
581
- Object {
582
- "attrs": Object {
583
- "background": "#fffae6",
584
- "colspan": 2,
585
- "colwidth": Array [
586
- 98,
587
- 83,
588
- ],
589
- "rowspan": 3,
590
- },
591
- "content": Array [
592
- Object {
593
- "type": "paragraph",
594
- },
595
- ],
596
- "type": "tableCell",
597
- },
598
- Object {
599
- "attrs": Object {
600
- "background": "#e6fcff",
601
- "colspan": 1,
602
- "colwidth": Array [
603
- 152,
604
- ],
605
- "rowspan": 1,
606
- },
607
- "content": Array [
608
- Object {
609
- "content": Array [
610
- Object {
611
- "text": "2",
612
- "type": "text",
613
- },
614
- ],
615
- "type": "paragraph",
616
- },
617
- ],
618
- "type": "tableCell",
619
- },
620
- ],
621
- "type": "tableRow",
622
- },
623
- Object {
624
- "content": Array [
625
- Object {
626
- "attrs": Object {
627
- "background": "#ffebe6",
628
- "colspan": 1,
629
- "colwidth": Array [
630
- 151,
631
- ],
632
- "rowspan": 1,
633
- },
634
- "content": Array [
635
- Object {
636
- "content": Array [
637
- Object {
638
- "text": "3",
639
- "type": "text",
640
- },
641
- ],
642
- "type": "paragraph",
643
- },
644
- ],
645
- "type": "tableCell",
646
- },
647
- Object {
648
- "attrs": Object {
649
- "background": "#ffebe6",
650
- "colspan": 1,
651
- "colwidth": Array [
652
- 152,
653
- ],
654
- "rowspan": 1,
655
- },
656
- "content": Array [
657
- Object {
658
- "content": Array [
659
- Object {
660
- "text": "3",
661
- "type": "text",
662
- },
663
- ],
664
- "type": "paragraph",
665
- },
666
- ],
667
- "type": "tableCell",
668
- },
669
- ],
670
- "type": "tableRow",
671
- },
672
- Object {
673
- "content": Array [
674
- Object {
675
- "attrs": Object {
676
- "background": "#e3fcef",
677
- "colspan": 1,
678
- "colwidth": Array [
679
- 151,
680
- ],
681
- "rowspan": 1,
682
- },
683
- "content": Array [
684
- Object {
685
- "content": Array [
686
- Object {
687
- "text": "4",
688
- "type": "text",
689
- },
690
- ],
691
- "type": "paragraph",
692
- },
693
- ],
694
- "type": "tableCell",
695
- },
696
- Object {
697
- "attrs": Object {
698
- "background": "#e3fcef",
699
- "colspan": 1,
700
- "colwidth": Array [
701
- 152,
702
- ],
703
- "rowspan": 1,
704
- },
705
- "content": Array [
706
- Object {
707
- "content": Array [
708
- Object {
709
- "text": "4",
710
- "type": "text",
711
- },
712
- ],
713
- "type": "paragraph",
714
- },
715
- ],
716
- "type": "tableCell",
717
- },
718
- ],
719
- "type": "tableRow",
720
- },
721
- Object {
722
- "content": Array [
723
- Object {
724
- "attrs": Object {
725
- "background": "#ffffff",
726
- "colspan": 1,
727
- "colwidth": Array [
728
- 151,
729
- ],
730
- "rowspan": 1,
731
- },
732
- "content": Array [
733
- Object {
734
- "content": Array [
735
- Object {
736
- "text": "5",
737
- "type": "text",
738
- },
739
- ],
740
- "type": "paragraph",
741
- },
742
- ],
743
- "type": "tableCell",
744
- },
745
- Object {
746
- "attrs": Object {
747
- "background": "#deebff",
748
- "colspan": 1,
749
- "colwidth": Array [
750
- 98,
751
- ],
752
- "rowspan": 1,
753
- },
754
- "content": Array [
755
- Object {
756
- "content": Array [
757
- Object {
758
- "text": "2",
759
- "type": "text",
760
- },
761
- ],
762
- "type": "paragraph",
763
- },
764
- ],
765
- "type": "tableCell",
766
- },
767
- Object {
768
- "attrs": Object {
769
- "background": "#eae6ff",
770
- "colspan": 1,
771
- "colwidth": Array [
772
- 83,
773
- ],
774
- "rowspan": 1,
775
- },
776
- "content": Array [
777
- Object {
778
- "content": Array [
779
- Object {
780
- "text": "4",
781
- "type": "text",
782
- },
783
- ],
784
- "type": "paragraph",
785
- },
786
- ],
787
- "type": "tableCell",
788
- },
789
- Object {
790
- "attrs": Object {
791
- "background": "#ffffff",
792
- "colspan": 1,
793
- "colwidth": Array [
794
- 152,
795
- ],
796
- "rowspan": 1,
797
- },
798
- "content": Array [
799
- Object {
800
- "content": Array [
801
- Object {
802
- "text": "5",
803
- "type": "text",
804
- },
805
- ],
806
- "type": "paragraph",
807
- },
808
- ],
809
- "type": "tableCell",
810
- },
811
- ],
812
- "type": "tableRow",
813
- },
814
- ],
815
- "type": "table",
816
- },
817
- ],
818
- "type": "doc",
819
- }
820
- `;