@blocknote/xl-multi-column 0.50.0 → 0.51.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.
@@ -167,17 +167,6 @@ exports[`Test moveBlocksDown > Move into column list 1`] = `
167
167
  },
168
168
  "type": "paragraph",
169
169
  },
170
- {
171
- "children": [],
172
- "content": [],
173
- "id": "trailing-paragraph",
174
- "props": {
175
- "backgroundColor": "default",
176
- "textAlignment": "left",
177
- "textColor": "default",
178
- },
179
- "type": "paragraph",
180
- },
181
170
  ]
182
171
  `;
183
172
 
@@ -348,17 +337,6 @@ exports[`Test moveBlocksDown > Move into next column 1`] = `
348
337
  },
349
338
  "type": "paragraph",
350
339
  },
351
- {
352
- "children": [],
353
- "content": [],
354
- "id": "trailing-paragraph",
355
- "props": {
356
- "backgroundColor": "default",
357
- "textAlignment": "left",
358
- "textColor": "default",
359
- },
360
- "type": "paragraph",
361
- },
362
340
  ]
363
341
  `;
364
342
 
@@ -529,10 +507,141 @@ exports[`Test moveBlocksDown > Move out of column list 1`] = `
529
507
  },
530
508
  "type": "paragraph",
531
509
  },
510
+ ]
511
+ `;
512
+
513
+ exports[`Test moveBlocksDown > Selection across columns 1`] = `
514
+ [
515
+ {
516
+ "children": [
517
+ {
518
+ "children": [],
519
+ "content": [
520
+ {
521
+ "styles": {},
522
+ "text": "Nested Paragraph 0",
523
+ "type": "text",
524
+ },
525
+ ],
526
+ "id": "nested-paragraph-0",
527
+ "props": {
528
+ "backgroundColor": "default",
529
+ "textAlignment": "left",
530
+ "textColor": "default",
531
+ },
532
+ "type": "paragraph",
533
+ },
534
+ ],
535
+ "content": [
536
+ {
537
+ "styles": {},
538
+ "text": "Paragraph 0",
539
+ "type": "text",
540
+ },
541
+ ],
542
+ "id": "paragraph-0",
543
+ "props": {
544
+ "backgroundColor": "default",
545
+ "textAlignment": "left",
546
+ "textColor": "default",
547
+ },
548
+ "type": "paragraph",
549
+ },
550
+ {
551
+ "children": [],
552
+ "content": [
553
+ {
554
+ "styles": {},
555
+ "text": "Paragraph 1",
556
+ "type": "text",
557
+ },
558
+ ],
559
+ "id": "paragraph-1",
560
+ "props": {
561
+ "backgroundColor": "default",
562
+ "textAlignment": "left",
563
+ "textColor": "default",
564
+ },
565
+ "type": "paragraph",
566
+ },
567
+ {
568
+ "children": [],
569
+ "content": [
570
+ {
571
+ "styles": {},
572
+ "text": "Column Paragraph 0",
573
+ "type": "text",
574
+ },
575
+ ],
576
+ "id": "column-paragraph-0",
577
+ "props": {
578
+ "backgroundColor": "default",
579
+ "textAlignment": "left",
580
+ "textColor": "default",
581
+ },
582
+ "type": "paragraph",
583
+ },
584
+ {
585
+ "children": [],
586
+ "content": [
587
+ {
588
+ "styles": {},
589
+ "text": "Column Paragraph 1",
590
+ "type": "text",
591
+ },
592
+ ],
593
+ "id": "column-paragraph-1",
594
+ "props": {
595
+ "backgroundColor": "default",
596
+ "textAlignment": "left",
597
+ "textColor": "default",
598
+ },
599
+ "type": "paragraph",
600
+ },
601
+ {
602
+ "children": [],
603
+ "content": [
604
+ {
605
+ "styles": {},
606
+ "text": "Column Paragraph 2",
607
+ "type": "text",
608
+ },
609
+ ],
610
+ "id": "column-paragraph-2",
611
+ "props": {
612
+ "backgroundColor": "default",
613
+ "textAlignment": "left",
614
+ "textColor": "default",
615
+ },
616
+ "type": "paragraph",
617
+ },
618
+ {
619
+ "children": [],
620
+ "content": [
621
+ {
622
+ "styles": {},
623
+ "text": "Column Paragraph 3",
624
+ "type": "text",
625
+ },
626
+ ],
627
+ "id": "column-paragraph-3",
628
+ "props": {
629
+ "backgroundColor": "default",
630
+ "textAlignment": "left",
631
+ "textColor": "default",
632
+ },
633
+ "type": "paragraph",
634
+ },
532
635
  {
533
636
  "children": [],
534
- "content": [],
535
- "id": "trailing-paragraph",
637
+ "content": [
638
+ {
639
+ "styles": {},
640
+ "text": "Paragraph 2",
641
+ "type": "text",
642
+ },
643
+ ],
644
+ "id": "paragraph-2",
536
645
  "props": {
537
646
  "backgroundColor": "default",
538
647
  "textAlignment": "left",
@@ -543,7 +652,7 @@ exports[`Test moveBlocksDown > Move out of column list 1`] = `
543
652
  ]
544
653
  `;
545
654
 
546
- exports[`Test moveBlocksUp > Move into column list 1`] = `
655
+ exports[`Test moveBlocksDown > Selection spans column list 1`] = `
547
656
  [
548
657
  {
549
658
  "children": [
@@ -679,23 +788,6 @@ exports[`Test moveBlocksUp > Move into column list 1`] = `
679
788
  },
680
789
  "type": "paragraph",
681
790
  },
682
- {
683
- "children": [],
684
- "content": [
685
- {
686
- "styles": {},
687
- "text": "Paragraph 2",
688
- "type": "text",
689
- },
690
- ],
691
- "id": "paragraph-2",
692
- "props": {
693
- "backgroundColor": "default",
694
- "textAlignment": "left",
695
- "textColor": "default",
696
- },
697
- "type": "paragraph",
698
- },
699
791
  ],
700
792
  "content": undefined,
701
793
  "id": "column-1",
@@ -712,8 +804,14 @@ exports[`Test moveBlocksUp > Move into column list 1`] = `
712
804
  },
713
805
  {
714
806
  "children": [],
715
- "content": [],
716
- "id": "trailing-paragraph",
807
+ "content": [
808
+ {
809
+ "styles": {},
810
+ "text": "Paragraph 2",
811
+ "type": "text",
812
+ },
813
+ ],
814
+ "id": "paragraph-2",
717
815
  "props": {
718
816
  "backgroundColor": "default",
719
817
  "textAlignment": "left",
@@ -724,7 +822,7 @@ exports[`Test moveBlocksUp > Move into column list 1`] = `
724
822
  ]
725
823
  `;
726
824
 
727
- exports[`Test moveBlocksUp > Move into previous column 1`] = `
825
+ exports[`Test moveBlocksDown > Selection starts in column, ends outside 1`] = `
728
826
  [
729
827
  {
730
828
  "children": [
@@ -816,6 +914,16 @@ exports[`Test moveBlocksUp > Move into previous column 1`] = `
816
914
  },
817
915
  "type": "paragraph",
818
916
  },
917
+ ],
918
+ "content": undefined,
919
+ "id": "column-0",
920
+ "props": {
921
+ "width": 1,
922
+ },
923
+ "type": "column",
924
+ },
925
+ {
926
+ "children": [
819
927
  {
820
928
  "children": [],
821
929
  "content": [
@@ -833,16 +941,6 @@ exports[`Test moveBlocksUp > Move into previous column 1`] = `
833
941
  },
834
942
  "type": "paragraph",
835
943
  },
836
- ],
837
- "content": undefined,
838
- "id": "column-0",
839
- "props": {
840
- "width": 1,
841
- },
842
- "type": "column",
843
- },
844
- {
845
- "children": [
846
944
  {
847
945
  "children": [],
848
946
  "content": [
@@ -891,21 +989,10 @@ exports[`Test moveBlocksUp > Move into previous column 1`] = `
891
989
  },
892
990
  "type": "paragraph",
893
991
  },
894
- {
895
- "children": [],
896
- "content": [],
897
- "id": "trailing-paragraph",
898
- "props": {
899
- "backgroundColor": "default",
900
- "textAlignment": "left",
901
- "textColor": "default",
902
- },
903
- "type": "paragraph",
904
- },
905
992
  ]
906
993
  `;
907
994
 
908
- exports[`Test moveBlocksUp > Move out of column list 1`] = `
995
+ exports[`Test moveBlocksDown > Selection starts in first column, ends outside 1`] = `
909
996
  [
910
997
  {
911
998
  "children": [
@@ -959,27 +1046,27 @@ exports[`Test moveBlocksUp > Move out of column list 1`] = `
959
1046
  },
960
1047
  "type": "paragraph",
961
1048
  },
962
- {
963
- "children": [],
964
- "content": [
965
- {
966
- "styles": {},
967
- "text": "Column Paragraph 0",
968
- "type": "text",
969
- },
970
- ],
971
- "id": "column-paragraph-0",
972
- "props": {
973
- "backgroundColor": "default",
974
- "textAlignment": "left",
975
- "textColor": "default",
976
- },
977
- "type": "paragraph",
978
- },
979
1049
  {
980
1050
  "children": [
981
1051
  {
982
1052
  "children": [
1053
+ {
1054
+ "children": [],
1055
+ "content": [
1056
+ {
1057
+ "styles": {},
1058
+ "text": "Column Paragraph 0",
1059
+ "type": "text",
1060
+ },
1061
+ ],
1062
+ "id": "column-paragraph-0",
1063
+ "props": {
1064
+ "backgroundColor": "default",
1065
+ "textAlignment": "left",
1066
+ "textColor": "default",
1067
+ },
1068
+ "type": "paragraph",
1069
+ },
983
1070
  {
984
1071
  "children": [],
985
1072
  "content": [
@@ -1072,10 +1159,1785 @@ exports[`Test moveBlocksUp > Move out of column list 1`] = `
1072
1159
  },
1073
1160
  "type": "paragraph",
1074
1161
  },
1162
+ ]
1163
+ `;
1164
+
1165
+ exports[`Test moveBlocksDown > Selection starts outside, ends in column 1`] = `
1166
+ [
1075
1167
  {
1076
- "children": [],
1077
- "content": [],
1078
- "id": "trailing-paragraph",
1168
+ "children": [
1169
+ {
1170
+ "children": [],
1171
+ "content": [
1172
+ {
1173
+ "styles": {},
1174
+ "text": "Nested Paragraph 0",
1175
+ "type": "text",
1176
+ },
1177
+ ],
1178
+ "id": "nested-paragraph-0",
1179
+ "props": {
1180
+ "backgroundColor": "default",
1181
+ "textAlignment": "left",
1182
+ "textColor": "default",
1183
+ },
1184
+ "type": "paragraph",
1185
+ },
1186
+ ],
1187
+ "content": [
1188
+ {
1189
+ "styles": {},
1190
+ "text": "Paragraph 0",
1191
+ "type": "text",
1192
+ },
1193
+ ],
1194
+ "id": "paragraph-0",
1195
+ "props": {
1196
+ "backgroundColor": "default",
1197
+ "textAlignment": "left",
1198
+ "textColor": "default",
1199
+ },
1200
+ "type": "paragraph",
1201
+ },
1202
+ {
1203
+ "children": [],
1204
+ "content": [
1205
+ {
1206
+ "styles": {},
1207
+ "text": "Paragraph 2",
1208
+ "type": "text",
1209
+ },
1210
+ ],
1211
+ "id": "paragraph-2",
1212
+ "props": {
1213
+ "backgroundColor": "default",
1214
+ "textAlignment": "left",
1215
+ "textColor": "default",
1216
+ },
1217
+ "type": "paragraph",
1218
+ },
1219
+ {
1220
+ "children": [],
1221
+ "content": [
1222
+ {
1223
+ "styles": {},
1224
+ "text": "Paragraph 1",
1225
+ "type": "text",
1226
+ },
1227
+ ],
1228
+ "id": "paragraph-1",
1229
+ "props": {
1230
+ "backgroundColor": "default",
1231
+ "textAlignment": "left",
1232
+ "textColor": "default",
1233
+ },
1234
+ "type": "paragraph",
1235
+ },
1236
+ {
1237
+ "children": [
1238
+ {
1239
+ "children": [
1240
+ {
1241
+ "children": [],
1242
+ "content": [
1243
+ {
1244
+ "styles": {},
1245
+ "text": "Column Paragraph 0",
1246
+ "type": "text",
1247
+ },
1248
+ ],
1249
+ "id": "column-paragraph-0",
1250
+ "props": {
1251
+ "backgroundColor": "default",
1252
+ "textAlignment": "left",
1253
+ "textColor": "default",
1254
+ },
1255
+ "type": "paragraph",
1256
+ },
1257
+ {
1258
+ "children": [],
1259
+ "content": [
1260
+ {
1261
+ "styles": {},
1262
+ "text": "Column Paragraph 1",
1263
+ "type": "text",
1264
+ },
1265
+ ],
1266
+ "id": "column-paragraph-1",
1267
+ "props": {
1268
+ "backgroundColor": "default",
1269
+ "textAlignment": "left",
1270
+ "textColor": "default",
1271
+ },
1272
+ "type": "paragraph",
1273
+ },
1274
+ ],
1275
+ "content": undefined,
1276
+ "id": "column-0",
1277
+ "props": {
1278
+ "width": 1,
1279
+ },
1280
+ "type": "column",
1281
+ },
1282
+ {
1283
+ "children": [
1284
+ {
1285
+ "children": [],
1286
+ "content": [
1287
+ {
1288
+ "styles": {},
1289
+ "text": "Column Paragraph 2",
1290
+ "type": "text",
1291
+ },
1292
+ ],
1293
+ "id": "column-paragraph-2",
1294
+ "props": {
1295
+ "backgroundColor": "default",
1296
+ "textAlignment": "left",
1297
+ "textColor": "default",
1298
+ },
1299
+ "type": "paragraph",
1300
+ },
1301
+ {
1302
+ "children": [],
1303
+ "content": [
1304
+ {
1305
+ "styles": {},
1306
+ "text": "Column Paragraph 3",
1307
+ "type": "text",
1308
+ },
1309
+ ],
1310
+ "id": "column-paragraph-3",
1311
+ "props": {
1312
+ "backgroundColor": "default",
1313
+ "textAlignment": "left",
1314
+ "textColor": "default",
1315
+ },
1316
+ "type": "paragraph",
1317
+ },
1318
+ ],
1319
+ "content": undefined,
1320
+ "id": "column-1",
1321
+ "props": {
1322
+ "width": 1,
1323
+ },
1324
+ "type": "column",
1325
+ },
1326
+ ],
1327
+ "content": undefined,
1328
+ "id": "column-list-0",
1329
+ "props": {},
1330
+ "type": "columnList",
1331
+ },
1332
+ ]
1333
+ `;
1334
+
1335
+ exports[`Test moveBlocksDown > Selection starts outside, ends in second column 1`] = `
1336
+ [
1337
+ {
1338
+ "children": [
1339
+ {
1340
+ "children": [],
1341
+ "content": [
1342
+ {
1343
+ "styles": {},
1344
+ "text": "Nested Paragraph 0",
1345
+ "type": "text",
1346
+ },
1347
+ ],
1348
+ "id": "nested-paragraph-0",
1349
+ "props": {
1350
+ "backgroundColor": "default",
1351
+ "textAlignment": "left",
1352
+ "textColor": "default",
1353
+ },
1354
+ "type": "paragraph",
1355
+ },
1356
+ ],
1357
+ "content": [
1358
+ {
1359
+ "styles": {},
1360
+ "text": "Paragraph 0",
1361
+ "type": "text",
1362
+ },
1363
+ ],
1364
+ "id": "paragraph-0",
1365
+ "props": {
1366
+ "backgroundColor": "default",
1367
+ "textAlignment": "left",
1368
+ "textColor": "default",
1369
+ },
1370
+ "type": "paragraph",
1371
+ },
1372
+ {
1373
+ "children": [],
1374
+ "content": [
1375
+ {
1376
+ "styles": {},
1377
+ "text": "Paragraph 2",
1378
+ "type": "text",
1379
+ },
1380
+ ],
1381
+ "id": "paragraph-2",
1382
+ "props": {
1383
+ "backgroundColor": "default",
1384
+ "textAlignment": "left",
1385
+ "textColor": "default",
1386
+ },
1387
+ "type": "paragraph",
1388
+ },
1389
+ {
1390
+ "children": [],
1391
+ "content": [
1392
+ {
1393
+ "styles": {},
1394
+ "text": "Paragraph 1",
1395
+ "type": "text",
1396
+ },
1397
+ ],
1398
+ "id": "paragraph-1",
1399
+ "props": {
1400
+ "backgroundColor": "default",
1401
+ "textAlignment": "left",
1402
+ "textColor": "default",
1403
+ },
1404
+ "type": "paragraph",
1405
+ },
1406
+ {
1407
+ "children": [
1408
+ {
1409
+ "children": [
1410
+ {
1411
+ "children": [],
1412
+ "content": [
1413
+ {
1414
+ "styles": {},
1415
+ "text": "Column Paragraph 0",
1416
+ "type": "text",
1417
+ },
1418
+ ],
1419
+ "id": "column-paragraph-0",
1420
+ "props": {
1421
+ "backgroundColor": "default",
1422
+ "textAlignment": "left",
1423
+ "textColor": "default",
1424
+ },
1425
+ "type": "paragraph",
1426
+ },
1427
+ {
1428
+ "children": [],
1429
+ "content": [
1430
+ {
1431
+ "styles": {},
1432
+ "text": "Column Paragraph 1",
1433
+ "type": "text",
1434
+ },
1435
+ ],
1436
+ "id": "column-paragraph-1",
1437
+ "props": {
1438
+ "backgroundColor": "default",
1439
+ "textAlignment": "left",
1440
+ "textColor": "default",
1441
+ },
1442
+ "type": "paragraph",
1443
+ },
1444
+ ],
1445
+ "content": undefined,
1446
+ "id": "column-0",
1447
+ "props": {
1448
+ "width": 1,
1449
+ },
1450
+ "type": "column",
1451
+ },
1452
+ {
1453
+ "children": [
1454
+ {
1455
+ "children": [],
1456
+ "content": [
1457
+ {
1458
+ "styles": {},
1459
+ "text": "Column Paragraph 2",
1460
+ "type": "text",
1461
+ },
1462
+ ],
1463
+ "id": "column-paragraph-2",
1464
+ "props": {
1465
+ "backgroundColor": "default",
1466
+ "textAlignment": "left",
1467
+ "textColor": "default",
1468
+ },
1469
+ "type": "paragraph",
1470
+ },
1471
+ {
1472
+ "children": [],
1473
+ "content": [
1474
+ {
1475
+ "styles": {},
1476
+ "text": "Column Paragraph 3",
1477
+ "type": "text",
1478
+ },
1479
+ ],
1480
+ "id": "column-paragraph-3",
1481
+ "props": {
1482
+ "backgroundColor": "default",
1483
+ "textAlignment": "left",
1484
+ "textColor": "default",
1485
+ },
1486
+ "type": "paragraph",
1487
+ },
1488
+ ],
1489
+ "content": undefined,
1490
+ "id": "column-1",
1491
+ "props": {
1492
+ "width": 1,
1493
+ },
1494
+ "type": "column",
1495
+ },
1496
+ ],
1497
+ "content": undefined,
1498
+ "id": "column-list-0",
1499
+ "props": {},
1500
+ "type": "columnList",
1501
+ },
1502
+ ]
1503
+ `;
1504
+
1505
+ exports[`Test moveBlocksUp > Move into column list 1`] = `
1506
+ [
1507
+ {
1508
+ "children": [
1509
+ {
1510
+ "children": [],
1511
+ "content": [
1512
+ {
1513
+ "styles": {},
1514
+ "text": "Nested Paragraph 0",
1515
+ "type": "text",
1516
+ },
1517
+ ],
1518
+ "id": "nested-paragraph-0",
1519
+ "props": {
1520
+ "backgroundColor": "default",
1521
+ "textAlignment": "left",
1522
+ "textColor": "default",
1523
+ },
1524
+ "type": "paragraph",
1525
+ },
1526
+ ],
1527
+ "content": [
1528
+ {
1529
+ "styles": {},
1530
+ "text": "Paragraph 0",
1531
+ "type": "text",
1532
+ },
1533
+ ],
1534
+ "id": "paragraph-0",
1535
+ "props": {
1536
+ "backgroundColor": "default",
1537
+ "textAlignment": "left",
1538
+ "textColor": "default",
1539
+ },
1540
+ "type": "paragraph",
1541
+ },
1542
+ {
1543
+ "children": [],
1544
+ "content": [
1545
+ {
1546
+ "styles": {},
1547
+ "text": "Paragraph 1",
1548
+ "type": "text",
1549
+ },
1550
+ ],
1551
+ "id": "paragraph-1",
1552
+ "props": {
1553
+ "backgroundColor": "default",
1554
+ "textAlignment": "left",
1555
+ "textColor": "default",
1556
+ },
1557
+ "type": "paragraph",
1558
+ },
1559
+ {
1560
+ "children": [
1561
+ {
1562
+ "children": [
1563
+ {
1564
+ "children": [],
1565
+ "content": [
1566
+ {
1567
+ "styles": {},
1568
+ "text": "Column Paragraph 0",
1569
+ "type": "text",
1570
+ },
1571
+ ],
1572
+ "id": "column-paragraph-0",
1573
+ "props": {
1574
+ "backgroundColor": "default",
1575
+ "textAlignment": "left",
1576
+ "textColor": "default",
1577
+ },
1578
+ "type": "paragraph",
1579
+ },
1580
+ {
1581
+ "children": [],
1582
+ "content": [
1583
+ {
1584
+ "styles": {},
1585
+ "text": "Column Paragraph 1",
1586
+ "type": "text",
1587
+ },
1588
+ ],
1589
+ "id": "column-paragraph-1",
1590
+ "props": {
1591
+ "backgroundColor": "default",
1592
+ "textAlignment": "left",
1593
+ "textColor": "default",
1594
+ },
1595
+ "type": "paragraph",
1596
+ },
1597
+ ],
1598
+ "content": undefined,
1599
+ "id": "column-0",
1600
+ "props": {
1601
+ "width": 1,
1602
+ },
1603
+ "type": "column",
1604
+ },
1605
+ {
1606
+ "children": [
1607
+ {
1608
+ "children": [],
1609
+ "content": [
1610
+ {
1611
+ "styles": {},
1612
+ "text": "Column Paragraph 2",
1613
+ "type": "text",
1614
+ },
1615
+ ],
1616
+ "id": "column-paragraph-2",
1617
+ "props": {
1618
+ "backgroundColor": "default",
1619
+ "textAlignment": "left",
1620
+ "textColor": "default",
1621
+ },
1622
+ "type": "paragraph",
1623
+ },
1624
+ {
1625
+ "children": [],
1626
+ "content": [
1627
+ {
1628
+ "styles": {},
1629
+ "text": "Column Paragraph 3",
1630
+ "type": "text",
1631
+ },
1632
+ ],
1633
+ "id": "column-paragraph-3",
1634
+ "props": {
1635
+ "backgroundColor": "default",
1636
+ "textAlignment": "left",
1637
+ "textColor": "default",
1638
+ },
1639
+ "type": "paragraph",
1640
+ },
1641
+ {
1642
+ "children": [],
1643
+ "content": [
1644
+ {
1645
+ "styles": {},
1646
+ "text": "Paragraph 2",
1647
+ "type": "text",
1648
+ },
1649
+ ],
1650
+ "id": "paragraph-2",
1651
+ "props": {
1652
+ "backgroundColor": "default",
1653
+ "textAlignment": "left",
1654
+ "textColor": "default",
1655
+ },
1656
+ "type": "paragraph",
1657
+ },
1658
+ ],
1659
+ "content": undefined,
1660
+ "id": "column-1",
1661
+ "props": {
1662
+ "width": 1,
1663
+ },
1664
+ "type": "column",
1665
+ },
1666
+ ],
1667
+ "content": undefined,
1668
+ "id": "column-list-0",
1669
+ "props": {},
1670
+ "type": "columnList",
1671
+ },
1672
+ ]
1673
+ `;
1674
+
1675
+ exports[`Test moveBlocksUp > Move into previous column 1`] = `
1676
+ [
1677
+ {
1678
+ "children": [
1679
+ {
1680
+ "children": [],
1681
+ "content": [
1682
+ {
1683
+ "styles": {},
1684
+ "text": "Nested Paragraph 0",
1685
+ "type": "text",
1686
+ },
1687
+ ],
1688
+ "id": "nested-paragraph-0",
1689
+ "props": {
1690
+ "backgroundColor": "default",
1691
+ "textAlignment": "left",
1692
+ "textColor": "default",
1693
+ },
1694
+ "type": "paragraph",
1695
+ },
1696
+ ],
1697
+ "content": [
1698
+ {
1699
+ "styles": {},
1700
+ "text": "Paragraph 0",
1701
+ "type": "text",
1702
+ },
1703
+ ],
1704
+ "id": "paragraph-0",
1705
+ "props": {
1706
+ "backgroundColor": "default",
1707
+ "textAlignment": "left",
1708
+ "textColor": "default",
1709
+ },
1710
+ "type": "paragraph",
1711
+ },
1712
+ {
1713
+ "children": [],
1714
+ "content": [
1715
+ {
1716
+ "styles": {},
1717
+ "text": "Paragraph 1",
1718
+ "type": "text",
1719
+ },
1720
+ ],
1721
+ "id": "paragraph-1",
1722
+ "props": {
1723
+ "backgroundColor": "default",
1724
+ "textAlignment": "left",
1725
+ "textColor": "default",
1726
+ },
1727
+ "type": "paragraph",
1728
+ },
1729
+ {
1730
+ "children": [
1731
+ {
1732
+ "children": [
1733
+ {
1734
+ "children": [],
1735
+ "content": [
1736
+ {
1737
+ "styles": {},
1738
+ "text": "Column Paragraph 0",
1739
+ "type": "text",
1740
+ },
1741
+ ],
1742
+ "id": "column-paragraph-0",
1743
+ "props": {
1744
+ "backgroundColor": "default",
1745
+ "textAlignment": "left",
1746
+ "textColor": "default",
1747
+ },
1748
+ "type": "paragraph",
1749
+ },
1750
+ {
1751
+ "children": [],
1752
+ "content": [
1753
+ {
1754
+ "styles": {},
1755
+ "text": "Column Paragraph 1",
1756
+ "type": "text",
1757
+ },
1758
+ ],
1759
+ "id": "column-paragraph-1",
1760
+ "props": {
1761
+ "backgroundColor": "default",
1762
+ "textAlignment": "left",
1763
+ "textColor": "default",
1764
+ },
1765
+ "type": "paragraph",
1766
+ },
1767
+ {
1768
+ "children": [],
1769
+ "content": [
1770
+ {
1771
+ "styles": {},
1772
+ "text": "Column Paragraph 2",
1773
+ "type": "text",
1774
+ },
1775
+ ],
1776
+ "id": "column-paragraph-2",
1777
+ "props": {
1778
+ "backgroundColor": "default",
1779
+ "textAlignment": "left",
1780
+ "textColor": "default",
1781
+ },
1782
+ "type": "paragraph",
1783
+ },
1784
+ ],
1785
+ "content": undefined,
1786
+ "id": "column-0",
1787
+ "props": {
1788
+ "width": 1,
1789
+ },
1790
+ "type": "column",
1791
+ },
1792
+ {
1793
+ "children": [
1794
+ {
1795
+ "children": [],
1796
+ "content": [
1797
+ {
1798
+ "styles": {},
1799
+ "text": "Column Paragraph 3",
1800
+ "type": "text",
1801
+ },
1802
+ ],
1803
+ "id": "column-paragraph-3",
1804
+ "props": {
1805
+ "backgroundColor": "default",
1806
+ "textAlignment": "left",
1807
+ "textColor": "default",
1808
+ },
1809
+ "type": "paragraph",
1810
+ },
1811
+ ],
1812
+ "content": undefined,
1813
+ "id": "column-1",
1814
+ "props": {
1815
+ "width": 1,
1816
+ },
1817
+ "type": "column",
1818
+ },
1819
+ ],
1820
+ "content": undefined,
1821
+ "id": "column-list-0",
1822
+ "props": {},
1823
+ "type": "columnList",
1824
+ },
1825
+ {
1826
+ "children": [],
1827
+ "content": [
1828
+ {
1829
+ "styles": {},
1830
+ "text": "Paragraph 2",
1831
+ "type": "text",
1832
+ },
1833
+ ],
1834
+ "id": "paragraph-2",
1835
+ "props": {
1836
+ "backgroundColor": "default",
1837
+ "textAlignment": "left",
1838
+ "textColor": "default",
1839
+ },
1840
+ "type": "paragraph",
1841
+ },
1842
+ ]
1843
+ `;
1844
+
1845
+ exports[`Test moveBlocksUp > Move out of column list 1`] = `
1846
+ [
1847
+ {
1848
+ "children": [
1849
+ {
1850
+ "children": [],
1851
+ "content": [
1852
+ {
1853
+ "styles": {},
1854
+ "text": "Nested Paragraph 0",
1855
+ "type": "text",
1856
+ },
1857
+ ],
1858
+ "id": "nested-paragraph-0",
1859
+ "props": {
1860
+ "backgroundColor": "default",
1861
+ "textAlignment": "left",
1862
+ "textColor": "default",
1863
+ },
1864
+ "type": "paragraph",
1865
+ },
1866
+ ],
1867
+ "content": [
1868
+ {
1869
+ "styles": {},
1870
+ "text": "Paragraph 0",
1871
+ "type": "text",
1872
+ },
1873
+ ],
1874
+ "id": "paragraph-0",
1875
+ "props": {
1876
+ "backgroundColor": "default",
1877
+ "textAlignment": "left",
1878
+ "textColor": "default",
1879
+ },
1880
+ "type": "paragraph",
1881
+ },
1882
+ {
1883
+ "children": [],
1884
+ "content": [
1885
+ {
1886
+ "styles": {},
1887
+ "text": "Paragraph 1",
1888
+ "type": "text",
1889
+ },
1890
+ ],
1891
+ "id": "paragraph-1",
1892
+ "props": {
1893
+ "backgroundColor": "default",
1894
+ "textAlignment": "left",
1895
+ "textColor": "default",
1896
+ },
1897
+ "type": "paragraph",
1898
+ },
1899
+ {
1900
+ "children": [],
1901
+ "content": [
1902
+ {
1903
+ "styles": {},
1904
+ "text": "Column Paragraph 0",
1905
+ "type": "text",
1906
+ },
1907
+ ],
1908
+ "id": "column-paragraph-0",
1909
+ "props": {
1910
+ "backgroundColor": "default",
1911
+ "textAlignment": "left",
1912
+ "textColor": "default",
1913
+ },
1914
+ "type": "paragraph",
1915
+ },
1916
+ {
1917
+ "children": [
1918
+ {
1919
+ "children": [
1920
+ {
1921
+ "children": [],
1922
+ "content": [
1923
+ {
1924
+ "styles": {},
1925
+ "text": "Column Paragraph 1",
1926
+ "type": "text",
1927
+ },
1928
+ ],
1929
+ "id": "column-paragraph-1",
1930
+ "props": {
1931
+ "backgroundColor": "default",
1932
+ "textAlignment": "left",
1933
+ "textColor": "default",
1934
+ },
1935
+ "type": "paragraph",
1936
+ },
1937
+ ],
1938
+ "content": undefined,
1939
+ "id": "column-0",
1940
+ "props": {
1941
+ "width": 1,
1942
+ },
1943
+ "type": "column",
1944
+ },
1945
+ {
1946
+ "children": [
1947
+ {
1948
+ "children": [],
1949
+ "content": [
1950
+ {
1951
+ "styles": {},
1952
+ "text": "Column Paragraph 2",
1953
+ "type": "text",
1954
+ },
1955
+ ],
1956
+ "id": "column-paragraph-2",
1957
+ "props": {
1958
+ "backgroundColor": "default",
1959
+ "textAlignment": "left",
1960
+ "textColor": "default",
1961
+ },
1962
+ "type": "paragraph",
1963
+ },
1964
+ {
1965
+ "children": [],
1966
+ "content": [
1967
+ {
1968
+ "styles": {},
1969
+ "text": "Column Paragraph 3",
1970
+ "type": "text",
1971
+ },
1972
+ ],
1973
+ "id": "column-paragraph-3",
1974
+ "props": {
1975
+ "backgroundColor": "default",
1976
+ "textAlignment": "left",
1977
+ "textColor": "default",
1978
+ },
1979
+ "type": "paragraph",
1980
+ },
1981
+ ],
1982
+ "content": undefined,
1983
+ "id": "column-1",
1984
+ "props": {
1985
+ "width": 1,
1986
+ },
1987
+ "type": "column",
1988
+ },
1989
+ ],
1990
+ "content": undefined,
1991
+ "id": "column-list-0",
1992
+ "props": {},
1993
+ "type": "columnList",
1994
+ },
1995
+ {
1996
+ "children": [],
1997
+ "content": [
1998
+ {
1999
+ "styles": {},
2000
+ "text": "Paragraph 2",
2001
+ "type": "text",
2002
+ },
2003
+ ],
2004
+ "id": "paragraph-2",
2005
+ "props": {
2006
+ "backgroundColor": "default",
2007
+ "textAlignment": "left",
2008
+ "textColor": "default",
2009
+ },
2010
+ "type": "paragraph",
2011
+ },
2012
+ ]
2013
+ `;
2014
+
2015
+ exports[`Test moveBlocksUp > Selection across columns 1`] = `
2016
+ [
2017
+ {
2018
+ "children": [
2019
+ {
2020
+ "children": [],
2021
+ "content": [
2022
+ {
2023
+ "styles": {},
2024
+ "text": "Nested Paragraph 0",
2025
+ "type": "text",
2026
+ },
2027
+ ],
2028
+ "id": "nested-paragraph-0",
2029
+ "props": {
2030
+ "backgroundColor": "default",
2031
+ "textAlignment": "left",
2032
+ "textColor": "default",
2033
+ },
2034
+ "type": "paragraph",
2035
+ },
2036
+ ],
2037
+ "content": [
2038
+ {
2039
+ "styles": {},
2040
+ "text": "Paragraph 0",
2041
+ "type": "text",
2042
+ },
2043
+ ],
2044
+ "id": "paragraph-0",
2045
+ "props": {
2046
+ "backgroundColor": "default",
2047
+ "textAlignment": "left",
2048
+ "textColor": "default",
2049
+ },
2050
+ "type": "paragraph",
2051
+ },
2052
+ {
2053
+ "children": [],
2054
+ "content": [
2055
+ {
2056
+ "styles": {},
2057
+ "text": "Paragraph 1",
2058
+ "type": "text",
2059
+ },
2060
+ ],
2061
+ "id": "paragraph-1",
2062
+ "props": {
2063
+ "backgroundColor": "default",
2064
+ "textAlignment": "left",
2065
+ "textColor": "default",
2066
+ },
2067
+ "type": "paragraph",
2068
+ },
2069
+ {
2070
+ "children": [],
2071
+ "content": [
2072
+ {
2073
+ "styles": {},
2074
+ "text": "Column Paragraph 1",
2075
+ "type": "text",
2076
+ },
2077
+ ],
2078
+ "id": "column-paragraph-1",
2079
+ "props": {
2080
+ "backgroundColor": "default",
2081
+ "textAlignment": "left",
2082
+ "textColor": "default",
2083
+ },
2084
+ "type": "paragraph",
2085
+ },
2086
+ {
2087
+ "children": [],
2088
+ "content": [
2089
+ {
2090
+ "styles": {},
2091
+ "text": "Column Paragraph 2",
2092
+ "type": "text",
2093
+ },
2094
+ ],
2095
+ "id": "column-paragraph-2",
2096
+ "props": {
2097
+ "backgroundColor": "default",
2098
+ "textAlignment": "left",
2099
+ "textColor": "default",
2100
+ },
2101
+ "type": "paragraph",
2102
+ },
2103
+ {
2104
+ "children": [],
2105
+ "content": [
2106
+ {
2107
+ "styles": {},
2108
+ "text": "Column Paragraph 3",
2109
+ "type": "text",
2110
+ },
2111
+ ],
2112
+ "id": "column-paragraph-3",
2113
+ "props": {
2114
+ "backgroundColor": "default",
2115
+ "textAlignment": "left",
2116
+ "textColor": "default",
2117
+ },
2118
+ "type": "paragraph",
2119
+ },
2120
+ {
2121
+ "children": [],
2122
+ "content": [
2123
+ {
2124
+ "styles": {},
2125
+ "text": "Column Paragraph 0",
2126
+ "type": "text",
2127
+ },
2128
+ ],
2129
+ "id": "column-paragraph-0",
2130
+ "props": {
2131
+ "backgroundColor": "default",
2132
+ "textAlignment": "left",
2133
+ "textColor": "default",
2134
+ },
2135
+ "type": "paragraph",
2136
+ },
2137
+ {
2138
+ "children": [],
2139
+ "content": [
2140
+ {
2141
+ "styles": {},
2142
+ "text": "Paragraph 2",
2143
+ "type": "text",
2144
+ },
2145
+ ],
2146
+ "id": "paragraph-2",
2147
+ "props": {
2148
+ "backgroundColor": "default",
2149
+ "textAlignment": "left",
2150
+ "textColor": "default",
2151
+ },
2152
+ "type": "paragraph",
2153
+ },
2154
+ ]
2155
+ `;
2156
+
2157
+ exports[`Test moveBlocksUp > Selection spans column list 1`] = `
2158
+ [
2159
+ {
2160
+ "children": [
2161
+ {
2162
+ "children": [],
2163
+ "content": [
2164
+ {
2165
+ "styles": {},
2166
+ "text": "Nested Paragraph 0",
2167
+ "type": "text",
2168
+ },
2169
+ ],
2170
+ "id": "nested-paragraph-0",
2171
+ "props": {
2172
+ "backgroundColor": "default",
2173
+ "textAlignment": "left",
2174
+ "textColor": "default",
2175
+ },
2176
+ "type": "paragraph",
2177
+ },
2178
+ {
2179
+ "children": [],
2180
+ "content": [
2181
+ {
2182
+ "styles": {},
2183
+ "text": "Paragraph 1",
2184
+ "type": "text",
2185
+ },
2186
+ ],
2187
+ "id": "paragraph-1",
2188
+ "props": {
2189
+ "backgroundColor": "default",
2190
+ "textAlignment": "left",
2191
+ "textColor": "default",
2192
+ },
2193
+ "type": "paragraph",
2194
+ },
2195
+ {
2196
+ "children": [
2197
+ {
2198
+ "children": [
2199
+ {
2200
+ "children": [],
2201
+ "content": [
2202
+ {
2203
+ "styles": {},
2204
+ "text": "Column Paragraph 0",
2205
+ "type": "text",
2206
+ },
2207
+ ],
2208
+ "id": "column-paragraph-0",
2209
+ "props": {
2210
+ "backgroundColor": "default",
2211
+ "textAlignment": "left",
2212
+ "textColor": "default",
2213
+ },
2214
+ "type": "paragraph",
2215
+ },
2216
+ {
2217
+ "children": [],
2218
+ "content": [
2219
+ {
2220
+ "styles": {},
2221
+ "text": "Column Paragraph 1",
2222
+ "type": "text",
2223
+ },
2224
+ ],
2225
+ "id": "column-paragraph-1",
2226
+ "props": {
2227
+ "backgroundColor": "default",
2228
+ "textAlignment": "left",
2229
+ "textColor": "default",
2230
+ },
2231
+ "type": "paragraph",
2232
+ },
2233
+ ],
2234
+ "content": undefined,
2235
+ "id": "column-0",
2236
+ "props": {
2237
+ "width": 1,
2238
+ },
2239
+ "type": "column",
2240
+ },
2241
+ {
2242
+ "children": [
2243
+ {
2244
+ "children": [],
2245
+ "content": [
2246
+ {
2247
+ "styles": {},
2248
+ "text": "Column Paragraph 2",
2249
+ "type": "text",
2250
+ },
2251
+ ],
2252
+ "id": "column-paragraph-2",
2253
+ "props": {
2254
+ "backgroundColor": "default",
2255
+ "textAlignment": "left",
2256
+ "textColor": "default",
2257
+ },
2258
+ "type": "paragraph",
2259
+ },
2260
+ {
2261
+ "children": [],
2262
+ "content": [
2263
+ {
2264
+ "styles": {},
2265
+ "text": "Column Paragraph 3",
2266
+ "type": "text",
2267
+ },
2268
+ ],
2269
+ "id": "column-paragraph-3",
2270
+ "props": {
2271
+ "backgroundColor": "default",
2272
+ "textAlignment": "left",
2273
+ "textColor": "default",
2274
+ },
2275
+ "type": "paragraph",
2276
+ },
2277
+ ],
2278
+ "content": undefined,
2279
+ "id": "column-1",
2280
+ "props": {
2281
+ "width": 1,
2282
+ },
2283
+ "type": "column",
2284
+ },
2285
+ ],
2286
+ "content": undefined,
2287
+ "id": "column-list-0",
2288
+ "props": {},
2289
+ "type": "columnList",
2290
+ },
2291
+ {
2292
+ "children": [],
2293
+ "content": [
2294
+ {
2295
+ "styles": {},
2296
+ "text": "Paragraph 2",
2297
+ "type": "text",
2298
+ },
2299
+ ],
2300
+ "id": "paragraph-2",
2301
+ "props": {
2302
+ "backgroundColor": "default",
2303
+ "textAlignment": "left",
2304
+ "textColor": "default",
2305
+ },
2306
+ "type": "paragraph",
2307
+ },
2308
+ ],
2309
+ "content": [
2310
+ {
2311
+ "styles": {},
2312
+ "text": "Paragraph 0",
2313
+ "type": "text",
2314
+ },
2315
+ ],
2316
+ "id": "paragraph-0",
2317
+ "props": {
2318
+ "backgroundColor": "default",
2319
+ "textAlignment": "left",
2320
+ "textColor": "default",
2321
+ },
2322
+ "type": "paragraph",
2323
+ },
2324
+ ]
2325
+ `;
2326
+
2327
+ exports[`Test moveBlocksUp > Selection starts in column, ends outside 1`] = `
2328
+ [
2329
+ {
2330
+ "children": [
2331
+ {
2332
+ "children": [],
2333
+ "content": [
2334
+ {
2335
+ "styles": {},
2336
+ "text": "Nested Paragraph 0",
2337
+ "type": "text",
2338
+ },
2339
+ ],
2340
+ "id": "nested-paragraph-0",
2341
+ "props": {
2342
+ "backgroundColor": "default",
2343
+ "textAlignment": "left",
2344
+ "textColor": "default",
2345
+ },
2346
+ "type": "paragraph",
2347
+ },
2348
+ ],
2349
+ "content": [
2350
+ {
2351
+ "styles": {},
2352
+ "text": "Paragraph 0",
2353
+ "type": "text",
2354
+ },
2355
+ ],
2356
+ "id": "paragraph-0",
2357
+ "props": {
2358
+ "backgroundColor": "default",
2359
+ "textAlignment": "left",
2360
+ "textColor": "default",
2361
+ },
2362
+ "type": "paragraph",
2363
+ },
2364
+ {
2365
+ "children": [],
2366
+ "content": [
2367
+ {
2368
+ "styles": {},
2369
+ "text": "Paragraph 1",
2370
+ "type": "text",
2371
+ },
2372
+ ],
2373
+ "id": "paragraph-1",
2374
+ "props": {
2375
+ "backgroundColor": "default",
2376
+ "textAlignment": "left",
2377
+ "textColor": "default",
2378
+ },
2379
+ "type": "paragraph",
2380
+ },
2381
+ {
2382
+ "children": [],
2383
+ "content": [
2384
+ {
2385
+ "styles": {},
2386
+ "text": "Column Paragraph 0",
2387
+ "type": "text",
2388
+ },
2389
+ ],
2390
+ "id": "column-paragraph-0",
2391
+ "props": {
2392
+ "backgroundColor": "default",
2393
+ "textAlignment": "left",
2394
+ "textColor": "default",
2395
+ },
2396
+ "type": "paragraph",
2397
+ },
2398
+ {
2399
+ "children": [],
2400
+ "content": [
2401
+ {
2402
+ "styles": {},
2403
+ "text": "Column Paragraph 1",
2404
+ "type": "text",
2405
+ },
2406
+ ],
2407
+ "id": "column-paragraph-1",
2408
+ "props": {
2409
+ "backgroundColor": "default",
2410
+ "textAlignment": "left",
2411
+ "textColor": "default",
2412
+ },
2413
+ "type": "paragraph",
2414
+ },
2415
+ {
2416
+ "children": [],
2417
+ "content": [
2418
+ {
2419
+ "styles": {},
2420
+ "text": "Column Paragraph 2",
2421
+ "type": "text",
2422
+ },
2423
+ ],
2424
+ "id": "column-paragraph-2",
2425
+ "props": {
2426
+ "backgroundColor": "default",
2427
+ "textAlignment": "left",
2428
+ "textColor": "default",
2429
+ },
2430
+ "type": "paragraph",
2431
+ },
2432
+ {
2433
+ "children": [],
2434
+ "content": [
2435
+ {
2436
+ "styles": {},
2437
+ "text": "Column Paragraph 3",
2438
+ "type": "text",
2439
+ },
2440
+ ],
2441
+ "id": "column-paragraph-3",
2442
+ "props": {
2443
+ "backgroundColor": "default",
2444
+ "textAlignment": "left",
2445
+ "textColor": "default",
2446
+ },
2447
+ "type": "paragraph",
2448
+ },
2449
+ {
2450
+ "children": [],
2451
+ "content": [
2452
+ {
2453
+ "styles": {},
2454
+ "text": "Paragraph 2",
2455
+ "type": "text",
2456
+ },
2457
+ ],
2458
+ "id": "paragraph-2",
2459
+ "props": {
2460
+ "backgroundColor": "default",
2461
+ "textAlignment": "left",
2462
+ "textColor": "default",
2463
+ },
2464
+ "type": "paragraph",
2465
+ },
2466
+ ]
2467
+ `;
2468
+
2469
+ exports[`Test moveBlocksUp > Selection starts in first column, ends outside 1`] = `
2470
+ [
2471
+ {
2472
+ "children": [
2473
+ {
2474
+ "children": [],
2475
+ "content": [
2476
+ {
2477
+ "styles": {},
2478
+ "text": "Nested Paragraph 0",
2479
+ "type": "text",
2480
+ },
2481
+ ],
2482
+ "id": "nested-paragraph-0",
2483
+ "props": {
2484
+ "backgroundColor": "default",
2485
+ "textAlignment": "left",
2486
+ "textColor": "default",
2487
+ },
2488
+ "type": "paragraph",
2489
+ },
2490
+ ],
2491
+ "content": [
2492
+ {
2493
+ "styles": {},
2494
+ "text": "Paragraph 0",
2495
+ "type": "text",
2496
+ },
2497
+ ],
2498
+ "id": "paragraph-0",
2499
+ "props": {
2500
+ "backgroundColor": "default",
2501
+ "textAlignment": "left",
2502
+ "textColor": "default",
2503
+ },
2504
+ "type": "paragraph",
2505
+ },
2506
+ {
2507
+ "children": [],
2508
+ "content": [
2509
+ {
2510
+ "styles": {},
2511
+ "text": "Paragraph 1",
2512
+ "type": "text",
2513
+ },
2514
+ ],
2515
+ "id": "paragraph-1",
2516
+ "props": {
2517
+ "backgroundColor": "default",
2518
+ "textAlignment": "left",
2519
+ "textColor": "default",
2520
+ },
2521
+ "type": "paragraph",
2522
+ },
2523
+ {
2524
+ "children": [],
2525
+ "content": [
2526
+ {
2527
+ "styles": {},
2528
+ "text": "Column Paragraph 1",
2529
+ "type": "text",
2530
+ },
2531
+ ],
2532
+ "id": "column-paragraph-1",
2533
+ "props": {
2534
+ "backgroundColor": "default",
2535
+ "textAlignment": "left",
2536
+ "textColor": "default",
2537
+ },
2538
+ "type": "paragraph",
2539
+ },
2540
+ {
2541
+ "children": [],
2542
+ "content": [
2543
+ {
2544
+ "styles": {},
2545
+ "text": "Column Paragraph 2",
2546
+ "type": "text",
2547
+ },
2548
+ ],
2549
+ "id": "column-paragraph-2",
2550
+ "props": {
2551
+ "backgroundColor": "default",
2552
+ "textAlignment": "left",
2553
+ "textColor": "default",
2554
+ },
2555
+ "type": "paragraph",
2556
+ },
2557
+ {
2558
+ "children": [],
2559
+ "content": [
2560
+ {
2561
+ "styles": {},
2562
+ "text": "Column Paragraph 3",
2563
+ "type": "text",
2564
+ },
2565
+ ],
2566
+ "id": "column-paragraph-3",
2567
+ "props": {
2568
+ "backgroundColor": "default",
2569
+ "textAlignment": "left",
2570
+ "textColor": "default",
2571
+ },
2572
+ "type": "paragraph",
2573
+ },
2574
+ {
2575
+ "children": [],
2576
+ "content": [
2577
+ {
2578
+ "styles": {},
2579
+ "text": "Paragraph 2",
2580
+ "type": "text",
2581
+ },
2582
+ ],
2583
+ "id": "paragraph-2",
2584
+ "props": {
2585
+ "backgroundColor": "default",
2586
+ "textAlignment": "left",
2587
+ "textColor": "default",
2588
+ },
2589
+ "type": "paragraph",
2590
+ },
2591
+ {
2592
+ "children": [],
2593
+ "content": [
2594
+ {
2595
+ "styles": {},
2596
+ "text": "Column Paragraph 0",
2597
+ "type": "text",
2598
+ },
2599
+ ],
2600
+ "id": "column-paragraph-0",
2601
+ "props": {
2602
+ "backgroundColor": "default",
2603
+ "textAlignment": "left",
2604
+ "textColor": "default",
2605
+ },
2606
+ "type": "paragraph",
2607
+ },
2608
+ ]
2609
+ `;
2610
+
2611
+ exports[`Test moveBlocksUp > Selection starts outside, ends in column 1`] = `
2612
+ [
2613
+ {
2614
+ "children": [
2615
+ {
2616
+ "children": [],
2617
+ "content": [
2618
+ {
2619
+ "styles": {},
2620
+ "text": "Nested Paragraph 0",
2621
+ "type": "text",
2622
+ },
2623
+ ],
2624
+ "id": "nested-paragraph-0",
2625
+ "props": {
2626
+ "backgroundColor": "default",
2627
+ "textAlignment": "left",
2628
+ "textColor": "default",
2629
+ },
2630
+ "type": "paragraph",
2631
+ },
2632
+ {
2633
+ "children": [],
2634
+ "content": [
2635
+ {
2636
+ "styles": {},
2637
+ "text": "Paragraph 1",
2638
+ "type": "text",
2639
+ },
2640
+ ],
2641
+ "id": "paragraph-1",
2642
+ "props": {
2643
+ "backgroundColor": "default",
2644
+ "textAlignment": "left",
2645
+ "textColor": "default",
2646
+ },
2647
+ "type": "paragraph",
2648
+ },
2649
+ {
2650
+ "children": [
2651
+ {
2652
+ "children": [
2653
+ {
2654
+ "children": [],
2655
+ "content": [
2656
+ {
2657
+ "styles": {},
2658
+ "text": "Column Paragraph 0",
2659
+ "type": "text",
2660
+ },
2661
+ ],
2662
+ "id": "column-paragraph-0",
2663
+ "props": {
2664
+ "backgroundColor": "default",
2665
+ "textAlignment": "left",
2666
+ "textColor": "default",
2667
+ },
2668
+ "type": "paragraph",
2669
+ },
2670
+ {
2671
+ "children": [],
2672
+ "content": [
2673
+ {
2674
+ "styles": {},
2675
+ "text": "Column Paragraph 1",
2676
+ "type": "text",
2677
+ },
2678
+ ],
2679
+ "id": "column-paragraph-1",
2680
+ "props": {
2681
+ "backgroundColor": "default",
2682
+ "textAlignment": "left",
2683
+ "textColor": "default",
2684
+ },
2685
+ "type": "paragraph",
2686
+ },
2687
+ ],
2688
+ "content": undefined,
2689
+ "id": "column-0",
2690
+ "props": {
2691
+ "width": 1,
2692
+ },
2693
+ "type": "column",
2694
+ },
2695
+ {
2696
+ "children": [
2697
+ {
2698
+ "children": [],
2699
+ "content": [
2700
+ {
2701
+ "styles": {},
2702
+ "text": "Column Paragraph 2",
2703
+ "type": "text",
2704
+ },
2705
+ ],
2706
+ "id": "column-paragraph-2",
2707
+ "props": {
2708
+ "backgroundColor": "default",
2709
+ "textAlignment": "left",
2710
+ "textColor": "default",
2711
+ },
2712
+ "type": "paragraph",
2713
+ },
2714
+ {
2715
+ "children": [],
2716
+ "content": [
2717
+ {
2718
+ "styles": {},
2719
+ "text": "Column Paragraph 3",
2720
+ "type": "text",
2721
+ },
2722
+ ],
2723
+ "id": "column-paragraph-3",
2724
+ "props": {
2725
+ "backgroundColor": "default",
2726
+ "textAlignment": "left",
2727
+ "textColor": "default",
2728
+ },
2729
+ "type": "paragraph",
2730
+ },
2731
+ ],
2732
+ "content": undefined,
2733
+ "id": "column-1",
2734
+ "props": {
2735
+ "width": 1,
2736
+ },
2737
+ "type": "column",
2738
+ },
2739
+ ],
2740
+ "content": undefined,
2741
+ "id": "column-list-0",
2742
+ "props": {},
2743
+ "type": "columnList",
2744
+ },
2745
+ ],
2746
+ "content": [
2747
+ {
2748
+ "styles": {},
2749
+ "text": "Paragraph 0",
2750
+ "type": "text",
2751
+ },
2752
+ ],
2753
+ "id": "paragraph-0",
2754
+ "props": {
2755
+ "backgroundColor": "default",
2756
+ "textAlignment": "left",
2757
+ "textColor": "default",
2758
+ },
2759
+ "type": "paragraph",
2760
+ },
2761
+ {
2762
+ "children": [],
2763
+ "content": [
2764
+ {
2765
+ "styles": {},
2766
+ "text": "Paragraph 2",
2767
+ "type": "text",
2768
+ },
2769
+ ],
2770
+ "id": "paragraph-2",
2771
+ "props": {
2772
+ "backgroundColor": "default",
2773
+ "textAlignment": "left",
2774
+ "textColor": "default",
2775
+ },
2776
+ "type": "paragraph",
2777
+ },
2778
+ ]
2779
+ `;
2780
+
2781
+ exports[`Test moveBlocksUp > Selection starts outside, ends in second column 1`] = `
2782
+ [
2783
+ {
2784
+ "children": [
2785
+ {
2786
+ "children": [],
2787
+ "content": [
2788
+ {
2789
+ "styles": {},
2790
+ "text": "Nested Paragraph 0",
2791
+ "type": "text",
2792
+ },
2793
+ ],
2794
+ "id": "nested-paragraph-0",
2795
+ "props": {
2796
+ "backgroundColor": "default",
2797
+ "textAlignment": "left",
2798
+ "textColor": "default",
2799
+ },
2800
+ "type": "paragraph",
2801
+ },
2802
+ {
2803
+ "children": [],
2804
+ "content": [
2805
+ {
2806
+ "styles": {},
2807
+ "text": "Paragraph 1",
2808
+ "type": "text",
2809
+ },
2810
+ ],
2811
+ "id": "paragraph-1",
2812
+ "props": {
2813
+ "backgroundColor": "default",
2814
+ "textAlignment": "left",
2815
+ "textColor": "default",
2816
+ },
2817
+ "type": "paragraph",
2818
+ },
2819
+ {
2820
+ "children": [
2821
+ {
2822
+ "children": [
2823
+ {
2824
+ "children": [],
2825
+ "content": [
2826
+ {
2827
+ "styles": {},
2828
+ "text": "Column Paragraph 0",
2829
+ "type": "text",
2830
+ },
2831
+ ],
2832
+ "id": "column-paragraph-0",
2833
+ "props": {
2834
+ "backgroundColor": "default",
2835
+ "textAlignment": "left",
2836
+ "textColor": "default",
2837
+ },
2838
+ "type": "paragraph",
2839
+ },
2840
+ {
2841
+ "children": [],
2842
+ "content": [
2843
+ {
2844
+ "styles": {},
2845
+ "text": "Column Paragraph 1",
2846
+ "type": "text",
2847
+ },
2848
+ ],
2849
+ "id": "column-paragraph-1",
2850
+ "props": {
2851
+ "backgroundColor": "default",
2852
+ "textAlignment": "left",
2853
+ "textColor": "default",
2854
+ },
2855
+ "type": "paragraph",
2856
+ },
2857
+ ],
2858
+ "content": undefined,
2859
+ "id": "column-0",
2860
+ "props": {
2861
+ "width": 1,
2862
+ },
2863
+ "type": "column",
2864
+ },
2865
+ {
2866
+ "children": [
2867
+ {
2868
+ "children": [],
2869
+ "content": [
2870
+ {
2871
+ "styles": {},
2872
+ "text": "Column Paragraph 2",
2873
+ "type": "text",
2874
+ },
2875
+ ],
2876
+ "id": "column-paragraph-2",
2877
+ "props": {
2878
+ "backgroundColor": "default",
2879
+ "textAlignment": "left",
2880
+ "textColor": "default",
2881
+ },
2882
+ "type": "paragraph",
2883
+ },
2884
+ {
2885
+ "children": [],
2886
+ "content": [
2887
+ {
2888
+ "styles": {},
2889
+ "text": "Column Paragraph 3",
2890
+ "type": "text",
2891
+ },
2892
+ ],
2893
+ "id": "column-paragraph-3",
2894
+ "props": {
2895
+ "backgroundColor": "default",
2896
+ "textAlignment": "left",
2897
+ "textColor": "default",
2898
+ },
2899
+ "type": "paragraph",
2900
+ },
2901
+ ],
2902
+ "content": undefined,
2903
+ "id": "column-1",
2904
+ "props": {
2905
+ "width": 1,
2906
+ },
2907
+ "type": "column",
2908
+ },
2909
+ ],
2910
+ "content": undefined,
2911
+ "id": "column-list-0",
2912
+ "props": {},
2913
+ "type": "columnList",
2914
+ },
2915
+ ],
2916
+ "content": [
2917
+ {
2918
+ "styles": {},
2919
+ "text": "Paragraph 0",
2920
+ "type": "text",
2921
+ },
2922
+ ],
2923
+ "id": "paragraph-0",
2924
+ "props": {
2925
+ "backgroundColor": "default",
2926
+ "textAlignment": "left",
2927
+ "textColor": "default",
2928
+ },
2929
+ "type": "paragraph",
2930
+ },
2931
+ {
2932
+ "children": [],
2933
+ "content": [
2934
+ {
2935
+ "styles": {},
2936
+ "text": "Paragraph 2",
2937
+ "type": "text",
2938
+ },
2939
+ ],
2940
+ "id": "paragraph-2",
1079
2941
  "props": {
1080
2942
  "backgroundColor": "default",
1081
2943
  "textAlignment": "left",