@portabletext/editor 1.36.4 → 1.36.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_chunks-cjs/behavior.core.cjs.map +1 -1
- package/lib/_chunks-cjs/editor-provider.cjs +41 -3
- package/lib/_chunks-cjs/editor-provider.cjs.map +1 -1
- package/lib/_chunks-cjs/util.block-offsets-to-selection.cjs.map +1 -1
- package/lib/_chunks-es/behavior.core.js.map +1 -1
- package/lib/_chunks-es/editor-provider.js +41 -3
- package/lib/_chunks-es/editor-provider.js.map +1 -1
- package/lib/_chunks-es/util.block-offsets-to-selection.js.map +1 -1
- package/lib/behaviors/index.d.cts +58 -0
- package/lib/behaviors/index.d.ts +58 -0
- package/lib/index.d.cts +58 -0
- package/lib/index.d.ts +58 -0
- package/lib/plugins/index.d.cts +58 -0
- package/lib/plugins/index.d.ts +58 -0
- package/lib/selectors/index.d.cts +58 -0
- package/lib/selectors/index.d.ts +58 -0
- package/lib/utils/index.d.cts +58 -0
- package/lib/utils/index.d.ts +58 -0
- package/package.json +14 -11
- package/src/behavior-actions/behavior.action.insert-blocks.ts +32 -1
- package/src/behavior-actions/behavior.actions.ts +1 -0
- package/src/behaviors/behavior.default.ts +1 -0
- package/src/behaviors/behavior.types.ts +1 -0
- package/src/internal-utils/parse-blocks.ts +22 -0
- package/src/internal-utils/test-key-generator.ts +2 -2
package/lib/index.d.cts
CHANGED
|
@@ -726,6 +726,7 @@ declare const editorMachine: StateMachine<
|
|
|
726
726
|
| {
|
|
727
727
|
type: 'insert.blocks'
|
|
728
728
|
blocks: Array<PortableTextBlock>
|
|
729
|
+
placement: 'auto' | 'after' | 'before'
|
|
729
730
|
}
|
|
730
731
|
| {
|
|
731
732
|
type: 'insert.block object'
|
|
@@ -1160,6 +1161,7 @@ declare const editorMachine: StateMachine<
|
|
|
1160
1161
|
| {
|
|
1161
1162
|
type: 'insert.blocks'
|
|
1162
1163
|
blocks: Array<PortableTextBlock>
|
|
1164
|
+
placement: 'auto' | 'after' | 'before'
|
|
1163
1165
|
}
|
|
1164
1166
|
| {
|
|
1165
1167
|
type: 'insert.block object'
|
|
@@ -1484,6 +1486,7 @@ declare const editorMachine: StateMachine<
|
|
|
1484
1486
|
| {
|
|
1485
1487
|
type: 'insert.blocks'
|
|
1486
1488
|
blocks: Array<PortableTextBlock>
|
|
1489
|
+
placement: 'auto' | 'after' | 'before'
|
|
1487
1490
|
}
|
|
1488
1491
|
| {
|
|
1489
1492
|
type: 'insert.block object'
|
|
@@ -1841,6 +1844,7 @@ declare const editorMachine: StateMachine<
|
|
|
1841
1844
|
| {
|
|
1842
1845
|
type: 'insert.blocks'
|
|
1843
1846
|
blocks: Array<PortableTextBlock>
|
|
1847
|
+
placement: 'auto' | 'after' | 'before'
|
|
1844
1848
|
}
|
|
1845
1849
|
| {
|
|
1846
1850
|
type: 'insert.block object'
|
|
@@ -2222,6 +2226,7 @@ declare const editorMachine: StateMachine<
|
|
|
2222
2226
|
| {
|
|
2223
2227
|
type: 'insert.blocks'
|
|
2224
2228
|
blocks: Array<PortableTextBlock>
|
|
2229
|
+
placement: 'auto' | 'after' | 'before'
|
|
2225
2230
|
}
|
|
2226
2231
|
| {
|
|
2227
2232
|
type: 'insert.block object'
|
|
@@ -2577,6 +2582,7 @@ declare const editorMachine: StateMachine<
|
|
|
2577
2582
|
| {
|
|
2578
2583
|
type: 'insert.blocks'
|
|
2579
2584
|
blocks: Array<PortableTextBlock>
|
|
2585
|
+
placement: 'auto' | 'after' | 'before'
|
|
2580
2586
|
}
|
|
2581
2587
|
| {
|
|
2582
2588
|
type: 'insert.block object'
|
|
@@ -2869,6 +2875,7 @@ declare const editorMachine: StateMachine<
|
|
|
2869
2875
|
| {
|
|
2870
2876
|
type: 'insert.blocks'
|
|
2871
2877
|
blocks: Array<PortableTextBlock>
|
|
2878
|
+
placement: 'auto' | 'after' | 'before'
|
|
2872
2879
|
}
|
|
2873
2880
|
| {
|
|
2874
2881
|
type: 'insert.block object'
|
|
@@ -3224,6 +3231,7 @@ declare const editorMachine: StateMachine<
|
|
|
3224
3231
|
| {
|
|
3225
3232
|
type: 'insert.blocks'
|
|
3226
3233
|
blocks: Array<PortableTextBlock>
|
|
3234
|
+
placement: 'auto' | 'after' | 'before'
|
|
3227
3235
|
}
|
|
3228
3236
|
| {
|
|
3229
3237
|
type: 'insert.block object'
|
|
@@ -3519,6 +3527,7 @@ declare const editorMachine: StateMachine<
|
|
|
3519
3527
|
| {
|
|
3520
3528
|
type: 'insert.blocks'
|
|
3521
3529
|
blocks: Array<PortableTextBlock>
|
|
3530
|
+
placement: 'auto' | 'after' | 'before'
|
|
3522
3531
|
}
|
|
3523
3532
|
| {
|
|
3524
3533
|
type: 'insert.block object'
|
|
@@ -3874,6 +3883,7 @@ declare const editorMachine: StateMachine<
|
|
|
3874
3883
|
| {
|
|
3875
3884
|
type: 'insert.blocks'
|
|
3876
3885
|
blocks: Array<PortableTextBlock>
|
|
3886
|
+
placement: 'auto' | 'after' | 'before'
|
|
3877
3887
|
}
|
|
3878
3888
|
| {
|
|
3879
3889
|
type: 'insert.block object'
|
|
@@ -4168,6 +4178,7 @@ declare const editorMachine: StateMachine<
|
|
|
4168
4178
|
| {
|
|
4169
4179
|
type: 'insert.blocks'
|
|
4170
4180
|
blocks: Array<PortableTextBlock>
|
|
4181
|
+
placement: 'auto' | 'after' | 'before'
|
|
4171
4182
|
}
|
|
4172
4183
|
| {
|
|
4173
4184
|
type: 'insert.block object'
|
|
@@ -4523,6 +4534,7 @@ declare const editorMachine: StateMachine<
|
|
|
4523
4534
|
| {
|
|
4524
4535
|
type: 'insert.blocks'
|
|
4525
4536
|
blocks: Array<PortableTextBlock>
|
|
4537
|
+
placement: 'auto' | 'after' | 'before'
|
|
4526
4538
|
}
|
|
4527
4539
|
| {
|
|
4528
4540
|
type: 'insert.block object'
|
|
@@ -4816,6 +4828,7 @@ declare const editorMachine: StateMachine<
|
|
|
4816
4828
|
| {
|
|
4817
4829
|
type: 'insert.blocks'
|
|
4818
4830
|
blocks: Array<PortableTextBlock>
|
|
4831
|
+
placement: 'auto' | 'after' | 'before'
|
|
4819
4832
|
}
|
|
4820
4833
|
| {
|
|
4821
4834
|
type: 'insert.block object'
|
|
@@ -5171,6 +5184,7 @@ declare const editorMachine: StateMachine<
|
|
|
5171
5184
|
| {
|
|
5172
5185
|
type: 'insert.blocks'
|
|
5173
5186
|
blocks: Array<PortableTextBlock>
|
|
5187
|
+
placement: 'auto' | 'after' | 'before'
|
|
5174
5188
|
}
|
|
5175
5189
|
| {
|
|
5176
5190
|
type: 'insert.block object'
|
|
@@ -5465,6 +5479,7 @@ declare const editorMachine: StateMachine<
|
|
|
5465
5479
|
| {
|
|
5466
5480
|
type: 'insert.blocks'
|
|
5467
5481
|
blocks: Array<PortableTextBlock>
|
|
5482
|
+
placement: 'auto' | 'after' | 'before'
|
|
5468
5483
|
}
|
|
5469
5484
|
| {
|
|
5470
5485
|
type: 'insert.block object'
|
|
@@ -5838,6 +5853,7 @@ declare const editorMachine: StateMachine<
|
|
|
5838
5853
|
| {
|
|
5839
5854
|
type: 'insert.blocks'
|
|
5840
5855
|
blocks: Array<PortableTextBlock>
|
|
5856
|
+
placement: 'auto' | 'after' | 'before'
|
|
5841
5857
|
}
|
|
5842
5858
|
| {
|
|
5843
5859
|
type: 'insert.block object'
|
|
@@ -6193,6 +6209,7 @@ declare const editorMachine: StateMachine<
|
|
|
6193
6209
|
| {
|
|
6194
6210
|
type: 'insert.blocks'
|
|
6195
6211
|
blocks: Array<PortableTextBlock>
|
|
6212
|
+
placement: 'auto' | 'after' | 'before'
|
|
6196
6213
|
}
|
|
6197
6214
|
| {
|
|
6198
6215
|
type: 'insert.block object'
|
|
@@ -6487,6 +6504,7 @@ declare const editorMachine: StateMachine<
|
|
|
6487
6504
|
| {
|
|
6488
6505
|
type: 'insert.blocks'
|
|
6489
6506
|
blocks: Array<PortableTextBlock>
|
|
6507
|
+
placement: 'auto' | 'after' | 'before'
|
|
6490
6508
|
}
|
|
6491
6509
|
| {
|
|
6492
6510
|
type: 'insert.block object'
|
|
@@ -6842,6 +6860,7 @@ declare const editorMachine: StateMachine<
|
|
|
6842
6860
|
| {
|
|
6843
6861
|
type: 'insert.blocks'
|
|
6844
6862
|
blocks: Array<PortableTextBlock>
|
|
6863
|
+
placement: 'auto' | 'after' | 'before'
|
|
6845
6864
|
}
|
|
6846
6865
|
| {
|
|
6847
6866
|
type: 'insert.block object'
|
|
@@ -7134,6 +7153,7 @@ declare const editorMachine: StateMachine<
|
|
|
7134
7153
|
| {
|
|
7135
7154
|
type: 'insert.blocks'
|
|
7136
7155
|
blocks: Array<PortableTextBlock>
|
|
7156
|
+
placement: 'auto' | 'after' | 'before'
|
|
7137
7157
|
}
|
|
7138
7158
|
| {
|
|
7139
7159
|
type: 'insert.block object'
|
|
@@ -7489,6 +7509,7 @@ declare const editorMachine: StateMachine<
|
|
|
7489
7509
|
| {
|
|
7490
7510
|
type: 'insert.blocks'
|
|
7491
7511
|
blocks: Array<PortableTextBlock>
|
|
7512
|
+
placement: 'auto' | 'after' | 'before'
|
|
7492
7513
|
}
|
|
7493
7514
|
| {
|
|
7494
7515
|
type: 'insert.block object'
|
|
@@ -7782,6 +7803,7 @@ declare const editorMachine: StateMachine<
|
|
|
7782
7803
|
| {
|
|
7783
7804
|
type: 'insert.blocks'
|
|
7784
7805
|
blocks: Array<PortableTextBlock>
|
|
7806
|
+
placement: 'auto' | 'after' | 'before'
|
|
7785
7807
|
}
|
|
7786
7808
|
| {
|
|
7787
7809
|
type: 'insert.block object'
|
|
@@ -8137,6 +8159,7 @@ declare const editorMachine: StateMachine<
|
|
|
8137
8159
|
| {
|
|
8138
8160
|
type: 'insert.blocks'
|
|
8139
8161
|
blocks: Array<PortableTextBlock>
|
|
8162
|
+
placement: 'auto' | 'after' | 'before'
|
|
8140
8163
|
}
|
|
8141
8164
|
| {
|
|
8142
8165
|
type: 'insert.block object'
|
|
@@ -8433,6 +8456,7 @@ declare const editorMachine: StateMachine<
|
|
|
8433
8456
|
| {
|
|
8434
8457
|
type: 'insert.blocks'
|
|
8435
8458
|
blocks: Array<PortableTextBlock>
|
|
8459
|
+
placement: 'auto' | 'after' | 'before'
|
|
8436
8460
|
}
|
|
8437
8461
|
| {
|
|
8438
8462
|
type: 'insert.block object'
|
|
@@ -8788,6 +8812,7 @@ declare const editorMachine: StateMachine<
|
|
|
8788
8812
|
| {
|
|
8789
8813
|
type: 'insert.blocks'
|
|
8790
8814
|
blocks: Array<PortableTextBlock>
|
|
8815
|
+
placement: 'auto' | 'after' | 'before'
|
|
8791
8816
|
}
|
|
8792
8817
|
| {
|
|
8793
8818
|
type: 'insert.block object'
|
|
@@ -9084,6 +9109,7 @@ declare const editorMachine: StateMachine<
|
|
|
9084
9109
|
| {
|
|
9085
9110
|
type: 'insert.blocks'
|
|
9086
9111
|
blocks: Array<PortableTextBlock>
|
|
9112
|
+
placement: 'auto' | 'after' | 'before'
|
|
9087
9113
|
}
|
|
9088
9114
|
| {
|
|
9089
9115
|
type: 'insert.block object'
|
|
@@ -9462,6 +9488,7 @@ declare const editorMachine: StateMachine<
|
|
|
9462
9488
|
| {
|
|
9463
9489
|
type: 'insert.blocks'
|
|
9464
9490
|
blocks: Array<PortableTextBlock>
|
|
9491
|
+
placement: 'auto' | 'after' | 'before'
|
|
9465
9492
|
}
|
|
9466
9493
|
| {
|
|
9467
9494
|
type: 'insert.block object'
|
|
@@ -9837,6 +9864,7 @@ declare const editorMachine: StateMachine<
|
|
|
9837
9864
|
| {
|
|
9838
9865
|
type: 'insert.blocks'
|
|
9839
9866
|
blocks: Array<PortableTextBlock>
|
|
9867
|
+
placement: 'auto' | 'after' | 'before'
|
|
9840
9868
|
}
|
|
9841
9869
|
| {
|
|
9842
9870
|
type: 'insert.block object'
|
|
@@ -10362,6 +10390,7 @@ declare const editorMachine: StateMachine<
|
|
|
10362
10390
|
| {
|
|
10363
10391
|
type: 'insert.blocks'
|
|
10364
10392
|
blocks: Array<PortableTextBlock>
|
|
10393
|
+
placement: 'auto' | 'after' | 'before'
|
|
10365
10394
|
}
|
|
10366
10395
|
| {
|
|
10367
10396
|
type: 'insert.block object'
|
|
@@ -10719,6 +10748,7 @@ declare const editorMachine: StateMachine<
|
|
|
10719
10748
|
| {
|
|
10720
10749
|
type: 'insert.blocks'
|
|
10721
10750
|
blocks: Array<PortableTextBlock>
|
|
10751
|
+
placement: 'auto' | 'after' | 'before'
|
|
10722
10752
|
}
|
|
10723
10753
|
| {
|
|
10724
10754
|
type: 'insert.block object'
|
|
@@ -11018,6 +11048,7 @@ declare const editorMachine: StateMachine<
|
|
|
11018
11048
|
| {
|
|
11019
11049
|
type: 'insert.blocks'
|
|
11020
11050
|
blocks: Array<PortableTextBlock>
|
|
11051
|
+
placement: 'auto' | 'after' | 'before'
|
|
11021
11052
|
}
|
|
11022
11053
|
| {
|
|
11023
11054
|
type: 'insert.block object'
|
|
@@ -11375,6 +11406,7 @@ declare const editorMachine: StateMachine<
|
|
|
11375
11406
|
| {
|
|
11376
11407
|
type: 'insert.blocks'
|
|
11377
11408
|
blocks: Array<PortableTextBlock>
|
|
11409
|
+
placement: 'auto' | 'after' | 'before'
|
|
11378
11410
|
}
|
|
11379
11411
|
| {
|
|
11380
11412
|
type: 'insert.block object'
|
|
@@ -11667,6 +11699,7 @@ declare const editorMachine: StateMachine<
|
|
|
11667
11699
|
| {
|
|
11668
11700
|
type: 'insert.blocks'
|
|
11669
11701
|
blocks: Array<PortableTextBlock>
|
|
11702
|
+
placement: 'auto' | 'after' | 'before'
|
|
11670
11703
|
}
|
|
11671
11704
|
| {
|
|
11672
11705
|
type: 'insert.block object'
|
|
@@ -12024,6 +12057,7 @@ declare const editorMachine: StateMachine<
|
|
|
12024
12057
|
| {
|
|
12025
12058
|
type: 'insert.blocks'
|
|
12026
12059
|
blocks: Array<PortableTextBlock>
|
|
12060
|
+
placement: 'auto' | 'after' | 'before'
|
|
12027
12061
|
}
|
|
12028
12062
|
| {
|
|
12029
12063
|
type: 'insert.block object'
|
|
@@ -12316,6 +12350,7 @@ declare const editorMachine: StateMachine<
|
|
|
12316
12350
|
| {
|
|
12317
12351
|
type: 'insert.blocks'
|
|
12318
12352
|
blocks: Array<PortableTextBlock>
|
|
12353
|
+
placement: 'auto' | 'after' | 'before'
|
|
12319
12354
|
}
|
|
12320
12355
|
| {
|
|
12321
12356
|
type: 'insert.block object'
|
|
@@ -12673,6 +12708,7 @@ declare const editorMachine: StateMachine<
|
|
|
12673
12708
|
| {
|
|
12674
12709
|
type: 'insert.blocks'
|
|
12675
12710
|
blocks: Array<PortableTextBlock>
|
|
12711
|
+
placement: 'auto' | 'after' | 'before'
|
|
12676
12712
|
}
|
|
12677
12713
|
| {
|
|
12678
12714
|
type: 'insert.block object'
|
|
@@ -12978,6 +13014,7 @@ declare const editorMachine: StateMachine<
|
|
|
12978
13014
|
| {
|
|
12979
13015
|
type: 'insert.blocks'
|
|
12980
13016
|
blocks: Array<PortableTextBlock>
|
|
13017
|
+
placement: 'auto' | 'after' | 'before'
|
|
12981
13018
|
}
|
|
12982
13019
|
| {
|
|
12983
13020
|
type: 'insert.block object'
|
|
@@ -13335,6 +13372,7 @@ declare const editorMachine: StateMachine<
|
|
|
13335
13372
|
| {
|
|
13336
13373
|
type: 'insert.blocks'
|
|
13337
13374
|
blocks: Array<PortableTextBlock>
|
|
13375
|
+
placement: 'auto' | 'after' | 'before'
|
|
13338
13376
|
}
|
|
13339
13377
|
| {
|
|
13340
13378
|
type: 'insert.block object'
|
|
@@ -13641,6 +13679,7 @@ declare const editorMachine: StateMachine<
|
|
|
13641
13679
|
| {
|
|
13642
13680
|
type: 'insert.blocks'
|
|
13643
13681
|
blocks: Array<PortableTextBlock>
|
|
13682
|
+
placement: 'auto' | 'after' | 'before'
|
|
13644
13683
|
}
|
|
13645
13684
|
| {
|
|
13646
13685
|
type: 'insert.block object'
|
|
@@ -13998,6 +14037,7 @@ declare const editorMachine: StateMachine<
|
|
|
13998
14037
|
| {
|
|
13999
14038
|
type: 'insert.blocks'
|
|
14000
14039
|
blocks: Array<PortableTextBlock>
|
|
14040
|
+
placement: 'auto' | 'after' | 'before'
|
|
14001
14041
|
}
|
|
14002
14042
|
| {
|
|
14003
14043
|
type: 'insert.block object'
|
|
@@ -14290,6 +14330,7 @@ declare const editorMachine: StateMachine<
|
|
|
14290
14330
|
| {
|
|
14291
14331
|
type: 'insert.blocks'
|
|
14292
14332
|
blocks: Array<PortableTextBlock>
|
|
14333
|
+
placement: 'auto' | 'after' | 'before'
|
|
14293
14334
|
}
|
|
14294
14335
|
| {
|
|
14295
14336
|
type: 'insert.block object'
|
|
@@ -14647,6 +14688,7 @@ declare const editorMachine: StateMachine<
|
|
|
14647
14688
|
| {
|
|
14648
14689
|
type: 'insert.blocks'
|
|
14649
14690
|
blocks: Array<PortableTextBlock>
|
|
14691
|
+
placement: 'auto' | 'after' | 'before'
|
|
14650
14692
|
}
|
|
14651
14693
|
| {
|
|
14652
14694
|
type: 'insert.block object'
|
|
@@ -14942,6 +14984,7 @@ declare const editorMachine: StateMachine<
|
|
|
14942
14984
|
| {
|
|
14943
14985
|
type: 'insert.blocks'
|
|
14944
14986
|
blocks: Array<PortableTextBlock>
|
|
14987
|
+
placement: 'auto' | 'after' | 'before'
|
|
14945
14988
|
}
|
|
14946
14989
|
| {
|
|
14947
14990
|
type: 'insert.block object'
|
|
@@ -15299,6 +15342,7 @@ declare const editorMachine: StateMachine<
|
|
|
15299
15342
|
| {
|
|
15300
15343
|
type: 'insert.blocks'
|
|
15301
15344
|
blocks: Array<PortableTextBlock>
|
|
15345
|
+
placement: 'auto' | 'after' | 'before'
|
|
15302
15346
|
}
|
|
15303
15347
|
| {
|
|
15304
15348
|
type: 'insert.block object'
|
|
@@ -15499,6 +15543,7 @@ declare const editorMachine: StateMachine<
|
|
|
15499
15543
|
| {
|
|
15500
15544
|
type: 'insert.blocks'
|
|
15501
15545
|
blocks: Array<PortableTextBlock>
|
|
15546
|
+
placement: 'auto' | 'after' | 'before'
|
|
15502
15547
|
}
|
|
15503
15548
|
| {
|
|
15504
15549
|
type: 'insert.block object'
|
|
@@ -15645,6 +15690,7 @@ declare const editorMachine: StateMachine<
|
|
|
15645
15690
|
| {
|
|
15646
15691
|
type: 'insert.blocks'
|
|
15647
15692
|
blocks: Array<PortableTextBlock>
|
|
15693
|
+
placement: 'auto' | 'after' | 'before'
|
|
15648
15694
|
}
|
|
15649
15695
|
| {
|
|
15650
15696
|
type: 'insert.block object'
|
|
@@ -16002,6 +16048,7 @@ declare const editorMachine: StateMachine<
|
|
|
16002
16048
|
| {
|
|
16003
16049
|
type: 'insert.blocks'
|
|
16004
16050
|
blocks: Array<PortableTextBlock>
|
|
16051
|
+
placement: 'auto' | 'after' | 'before'
|
|
16005
16052
|
}
|
|
16006
16053
|
| {
|
|
16007
16054
|
type: 'insert.block object'
|
|
@@ -16303,6 +16350,7 @@ declare const editorMachine: StateMachine<
|
|
|
16303
16350
|
| {
|
|
16304
16351
|
type: 'insert.blocks'
|
|
16305
16352
|
blocks: Array<PortableTextBlock>
|
|
16353
|
+
placement: 'auto' | 'after' | 'before'
|
|
16306
16354
|
}
|
|
16307
16355
|
| {
|
|
16308
16356
|
type: 'insert.block object'
|
|
@@ -16660,6 +16708,7 @@ declare const editorMachine: StateMachine<
|
|
|
16660
16708
|
| {
|
|
16661
16709
|
type: 'insert.blocks'
|
|
16662
16710
|
blocks: Array<PortableTextBlock>
|
|
16711
|
+
placement: 'auto' | 'after' | 'before'
|
|
16663
16712
|
}
|
|
16664
16713
|
| {
|
|
16665
16714
|
type: 'insert.block object'
|
|
@@ -16962,6 +17011,7 @@ declare const editorMachine: StateMachine<
|
|
|
16962
17011
|
| {
|
|
16963
17012
|
type: 'insert.blocks'
|
|
16964
17013
|
blocks: Array<PortableTextBlock>
|
|
17014
|
+
placement: 'auto' | 'after' | 'before'
|
|
16965
17015
|
}
|
|
16966
17016
|
| {
|
|
16967
17017
|
type: 'insert.block object'
|
|
@@ -17319,6 +17369,7 @@ declare const editorMachine: StateMachine<
|
|
|
17319
17369
|
| {
|
|
17320
17370
|
type: 'insert.blocks'
|
|
17321
17371
|
blocks: Array<PortableTextBlock>
|
|
17372
|
+
placement: 'auto' | 'after' | 'before'
|
|
17322
17373
|
}
|
|
17323
17374
|
| {
|
|
17324
17375
|
type: 'insert.block object'
|
|
@@ -17612,6 +17663,7 @@ declare const editorMachine: StateMachine<
|
|
|
17612
17663
|
| {
|
|
17613
17664
|
type: 'insert.blocks'
|
|
17614
17665
|
blocks: Array<PortableTextBlock>
|
|
17666
|
+
placement: 'auto' | 'after' | 'before'
|
|
17615
17667
|
}
|
|
17616
17668
|
| {
|
|
17617
17669
|
type: 'insert.block object'
|
|
@@ -17969,6 +18021,7 @@ declare const editorMachine: StateMachine<
|
|
|
17969
18021
|
| {
|
|
17970
18022
|
type: 'insert.blocks'
|
|
17971
18023
|
blocks: Array<PortableTextBlock>
|
|
18024
|
+
placement: 'auto' | 'after' | 'before'
|
|
17972
18025
|
}
|
|
17973
18026
|
| {
|
|
17974
18027
|
type: 'insert.block object'
|
|
@@ -18264,6 +18317,7 @@ declare const editorMachine: StateMachine<
|
|
|
18264
18317
|
| {
|
|
18265
18318
|
type: 'insert.blocks'
|
|
18266
18319
|
blocks: Array<PortableTextBlock>
|
|
18320
|
+
placement: 'auto' | 'after' | 'before'
|
|
18267
18321
|
}
|
|
18268
18322
|
| {
|
|
18269
18323
|
type: 'insert.block object'
|
|
@@ -18621,6 +18675,7 @@ declare const editorMachine: StateMachine<
|
|
|
18621
18675
|
| {
|
|
18622
18676
|
type: 'insert.blocks'
|
|
18623
18677
|
blocks: Array<PortableTextBlock>
|
|
18678
|
+
placement: 'auto' | 'after' | 'before'
|
|
18624
18679
|
}
|
|
18625
18680
|
| {
|
|
18626
18681
|
type: 'insert.block object'
|
|
@@ -18922,6 +18977,7 @@ declare const editorMachine: StateMachine<
|
|
|
18922
18977
|
| {
|
|
18923
18978
|
type: 'insert.blocks'
|
|
18924
18979
|
blocks: Array<PortableTextBlock>
|
|
18980
|
+
placement: 'auto' | 'after' | 'before'
|
|
18925
18981
|
}
|
|
18926
18982
|
| {
|
|
18927
18983
|
type: 'insert.block object'
|
|
@@ -19279,6 +19335,7 @@ declare const editorMachine: StateMachine<
|
|
|
19279
19335
|
| {
|
|
19280
19336
|
type: 'insert.blocks'
|
|
19281
19337
|
blocks: Array<PortableTextBlock>
|
|
19338
|
+
placement: 'auto' | 'after' | 'before'
|
|
19282
19339
|
}
|
|
19283
19340
|
| {
|
|
19284
19341
|
type: 'insert.block object'
|
|
@@ -20765,6 +20822,7 @@ declare type SyntheticBehaviorEvent =
|
|
|
20765
20822
|
| {
|
|
20766
20823
|
type: 'insert.blocks'
|
|
20767
20824
|
blocks: Array<PortableTextBlock>
|
|
20825
|
+
placement: 'auto' | 'after' | 'before'
|
|
20768
20826
|
}
|
|
20769
20827
|
| {
|
|
20770
20828
|
type: 'insert.block object'
|