@portabletext/editor 1.33.6 → 1.34.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.
- package/lib/_chunks-cjs/behavior.core.cjs.map +1 -1
- package/lib/_chunks-cjs/plugin.event-listener.cjs +13 -6
- package/lib/_chunks-cjs/plugin.event-listener.cjs.map +1 -1
- package/lib/_chunks-es/behavior.core.js.map +1 -1
- package/lib/_chunks-es/plugin.event-listener.js +14 -7
- package/lib/_chunks-es/plugin.event-listener.js.map +1 -1
- package/lib/behaviors/index.d.cts +8 -4
- package/lib/behaviors/index.d.ts +8 -4
- package/lib/index.d.cts +348 -117
- package/lib/index.d.ts +348 -117
- package/lib/plugins/index.cjs +60 -43
- package/lib/plugins/index.cjs.map +1 -1
- package/lib/plugins/index.d.cts +348 -117
- package/lib/plugins/index.d.ts +348 -117
- package/lib/plugins/index.js +63 -45
- package/lib/plugins/index.js.map +1 -1
- package/lib/selectors/index.d.cts +15 -2
- package/lib/selectors/index.d.ts +15 -2
- package/lib/utils/index.cjs +23 -1
- package/lib/utils/index.cjs.map +1 -1
- package/lib/utils/index.d.cts +14 -2
- package/lib/utils/index.d.ts +14 -2
- package/lib/utils/index.js +25 -2
- package/lib/utils/index.js.map +1 -1
- package/package.json +3 -3
- package/src/behavior-actions/behavior.action.decorator.add.ts +30 -8
- package/src/behaviors/behavior.markdown-emphasis.ts +82 -41
- package/src/behaviors/behavior.types.ts +2 -2
- package/src/converters/converter.types.ts +3 -2
- package/src/editor/plugins/create-with-event-listeners.ts +0 -5
- package/src/utils/index.ts +1 -0
- package/src/utils/util.child-selection-point-to-block-offset.ts +55 -0
package/lib/index.d.cts
CHANGED
|
@@ -291,18 +291,19 @@ declare type Converter<TMIMEType extends MIMEType = MIMEType> = {
|
|
|
291
291
|
declare type ConverterEvent<TMIMEType extends MIMEType = MIMEType> =
|
|
292
292
|
| {
|
|
293
293
|
type: 'serialize'
|
|
294
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
294
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
295
295
|
}
|
|
296
296
|
| {
|
|
297
297
|
type: 'serialization.failure'
|
|
298
298
|
mimeType: TMIMEType
|
|
299
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
299
300
|
reason: string
|
|
300
301
|
}
|
|
301
302
|
| {
|
|
302
303
|
type: 'serialization.success'
|
|
303
304
|
data: string
|
|
304
305
|
mimeType: TMIMEType
|
|
305
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
306
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
306
307
|
}
|
|
307
308
|
| {
|
|
308
309
|
type: 'deserialize'
|
|
@@ -714,7 +715,10 @@ declare const editorMachine: StateMachine<
|
|
|
714
715
|
| {
|
|
715
716
|
type: 'decorator.add'
|
|
716
717
|
decorator: string
|
|
717
|
-
|
|
718
|
+
offsets?: {
|
|
719
|
+
anchor: BlockOffset_2
|
|
720
|
+
focus: BlockOffset_2
|
|
721
|
+
}
|
|
718
722
|
}
|
|
719
723
|
| {
|
|
720
724
|
type: 'decorator.remove'
|
|
@@ -861,6 +865,7 @@ declare const editorMachine: StateMachine<
|
|
|
861
865
|
| ({
|
|
862
866
|
type: 'serialization.failure'
|
|
863
867
|
mimeType: `${string}/${string}`
|
|
868
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
864
869
|
reason: string
|
|
865
870
|
} & {
|
|
866
871
|
dataTransfer: DataTransfer
|
|
@@ -869,7 +874,7 @@ declare const editorMachine: StateMachine<
|
|
|
869
874
|
type: 'serialization.success'
|
|
870
875
|
data: string
|
|
871
876
|
mimeType: `${string}/${string}`
|
|
872
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
877
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
873
878
|
} & {
|
|
874
879
|
dataTransfer: DataTransfer
|
|
875
880
|
})
|
|
@@ -1133,7 +1138,10 @@ declare const editorMachine: StateMachine<
|
|
|
1133
1138
|
| {
|
|
1134
1139
|
type: 'decorator.add'
|
|
1135
1140
|
decorator: string
|
|
1136
|
-
|
|
1141
|
+
offsets?: {
|
|
1142
|
+
anchor: BlockOffset_2
|
|
1143
|
+
focus: BlockOffset_2
|
|
1144
|
+
}
|
|
1137
1145
|
}
|
|
1138
1146
|
| {
|
|
1139
1147
|
type: 'decorator.remove'
|
|
@@ -1280,6 +1288,7 @@ declare const editorMachine: StateMachine<
|
|
|
1280
1288
|
| ({
|
|
1281
1289
|
type: 'serialization.failure'
|
|
1282
1290
|
mimeType: `${string}/${string}`
|
|
1291
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1283
1292
|
reason: string
|
|
1284
1293
|
} & {
|
|
1285
1294
|
dataTransfer: DataTransfer
|
|
@@ -1288,7 +1297,7 @@ declare const editorMachine: StateMachine<
|
|
|
1288
1297
|
type: 'serialization.success'
|
|
1289
1298
|
data: string
|
|
1290
1299
|
mimeType: `${string}/${string}`
|
|
1291
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
1300
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1292
1301
|
} & {
|
|
1293
1302
|
dataTransfer: DataTransfer
|
|
1294
1303
|
})
|
|
@@ -1452,7 +1461,10 @@ declare const editorMachine: StateMachine<
|
|
|
1452
1461
|
| {
|
|
1453
1462
|
type: 'decorator.add'
|
|
1454
1463
|
decorator: string
|
|
1455
|
-
|
|
1464
|
+
offsets?: {
|
|
1465
|
+
anchor: BlockOffset_2
|
|
1466
|
+
focus: BlockOffset_2
|
|
1467
|
+
}
|
|
1456
1468
|
}
|
|
1457
1469
|
| {
|
|
1458
1470
|
type: 'decorator.remove'
|
|
@@ -1599,6 +1611,7 @@ declare const editorMachine: StateMachine<
|
|
|
1599
1611
|
| ({
|
|
1600
1612
|
type: 'serialization.failure'
|
|
1601
1613
|
mimeType: `${string}/${string}`
|
|
1614
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1602
1615
|
reason: string
|
|
1603
1616
|
} & {
|
|
1604
1617
|
dataTransfer: DataTransfer
|
|
@@ -1607,7 +1620,7 @@ declare const editorMachine: StateMachine<
|
|
|
1607
1620
|
type: 'serialization.success'
|
|
1608
1621
|
data: string
|
|
1609
1622
|
mimeType: `${string}/${string}`
|
|
1610
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
1623
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1611
1624
|
} & {
|
|
1612
1625
|
dataTransfer: DataTransfer
|
|
1613
1626
|
})
|
|
@@ -1796,7 +1809,10 @@ declare const editorMachine: StateMachine<
|
|
|
1796
1809
|
| {
|
|
1797
1810
|
type: 'decorator.add'
|
|
1798
1811
|
decorator: string
|
|
1799
|
-
|
|
1812
|
+
offsets?: {
|
|
1813
|
+
anchor: BlockOffset_2
|
|
1814
|
+
focus: BlockOffset_2
|
|
1815
|
+
}
|
|
1800
1816
|
}
|
|
1801
1817
|
| {
|
|
1802
1818
|
type: 'decorator.remove'
|
|
@@ -1943,6 +1959,7 @@ declare const editorMachine: StateMachine<
|
|
|
1943
1959
|
| ({
|
|
1944
1960
|
type: 'serialization.failure'
|
|
1945
1961
|
mimeType: `${string}/${string}`
|
|
1962
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1946
1963
|
reason: string
|
|
1947
1964
|
} & {
|
|
1948
1965
|
dataTransfer: DataTransfer
|
|
@@ -1951,7 +1968,7 @@ declare const editorMachine: StateMachine<
|
|
|
1951
1968
|
type: 'serialization.success'
|
|
1952
1969
|
data: string
|
|
1953
1970
|
mimeType: `${string}/${string}`
|
|
1954
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
1971
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1955
1972
|
} & {
|
|
1956
1973
|
dataTransfer: DataTransfer
|
|
1957
1974
|
})
|
|
@@ -2164,7 +2181,10 @@ declare const editorMachine: StateMachine<
|
|
|
2164
2181
|
| {
|
|
2165
2182
|
type: 'decorator.add'
|
|
2166
2183
|
decorator: string
|
|
2167
|
-
|
|
2184
|
+
offsets?: {
|
|
2185
|
+
anchor: BlockOffset_2
|
|
2186
|
+
focus: BlockOffset_2
|
|
2187
|
+
}
|
|
2168
2188
|
}
|
|
2169
2189
|
| {
|
|
2170
2190
|
type: 'decorator.remove'
|
|
@@ -2311,6 +2331,7 @@ declare const editorMachine: StateMachine<
|
|
|
2311
2331
|
| ({
|
|
2312
2332
|
type: 'serialization.failure'
|
|
2313
2333
|
mimeType: `${string}/${string}`
|
|
2334
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2314
2335
|
reason: string
|
|
2315
2336
|
} & {
|
|
2316
2337
|
dataTransfer: DataTransfer
|
|
@@ -2319,7 +2340,7 @@ declare const editorMachine: StateMachine<
|
|
|
2319
2340
|
type: 'serialization.success'
|
|
2320
2341
|
data: string
|
|
2321
2342
|
mimeType: `${string}/${string}`
|
|
2322
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
2343
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2323
2344
|
} & {
|
|
2324
2345
|
dataTransfer: DataTransfer
|
|
2325
2346
|
})
|
|
@@ -2506,7 +2527,10 @@ declare const editorMachine: StateMachine<
|
|
|
2506
2527
|
| {
|
|
2507
2528
|
type: 'decorator.add'
|
|
2508
2529
|
decorator: string
|
|
2509
|
-
|
|
2530
|
+
offsets?: {
|
|
2531
|
+
anchor: BlockOffset_2
|
|
2532
|
+
focus: BlockOffset_2
|
|
2533
|
+
}
|
|
2510
2534
|
}
|
|
2511
2535
|
| {
|
|
2512
2536
|
type: 'decorator.remove'
|
|
@@ -2653,6 +2677,7 @@ declare const editorMachine: StateMachine<
|
|
|
2653
2677
|
| ({
|
|
2654
2678
|
type: 'serialization.failure'
|
|
2655
2679
|
mimeType: `${string}/${string}`
|
|
2680
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2656
2681
|
reason: string
|
|
2657
2682
|
} & {
|
|
2658
2683
|
dataTransfer: DataTransfer
|
|
@@ -2661,7 +2686,7 @@ declare const editorMachine: StateMachine<
|
|
|
2661
2686
|
type: 'serialization.success'
|
|
2662
2687
|
data: string
|
|
2663
2688
|
mimeType: `${string}/${string}`
|
|
2664
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
2689
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2665
2690
|
} & {
|
|
2666
2691
|
dataTransfer: DataTransfer
|
|
2667
2692
|
})
|
|
@@ -2793,7 +2818,10 @@ declare const editorMachine: StateMachine<
|
|
|
2793
2818
|
| {
|
|
2794
2819
|
type: 'decorator.add'
|
|
2795
2820
|
decorator: string
|
|
2796
|
-
|
|
2821
|
+
offsets?: {
|
|
2822
|
+
anchor: BlockOffset_2
|
|
2823
|
+
focus: BlockOffset_2
|
|
2824
|
+
}
|
|
2797
2825
|
}
|
|
2798
2826
|
| {
|
|
2799
2827
|
type: 'decorator.remove'
|
|
@@ -2940,6 +2968,7 @@ declare const editorMachine: StateMachine<
|
|
|
2940
2968
|
| ({
|
|
2941
2969
|
type: 'serialization.failure'
|
|
2942
2970
|
mimeType: `${string}/${string}`
|
|
2971
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2943
2972
|
reason: string
|
|
2944
2973
|
} & {
|
|
2945
2974
|
dataTransfer: DataTransfer
|
|
@@ -2948,7 +2977,7 @@ declare const editorMachine: StateMachine<
|
|
|
2948
2977
|
type: 'serialization.success'
|
|
2949
2978
|
data: string
|
|
2950
2979
|
mimeType: `${string}/${string}`
|
|
2951
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
2980
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2952
2981
|
} & {
|
|
2953
2982
|
dataTransfer: DataTransfer
|
|
2954
2983
|
})
|
|
@@ -3135,7 +3164,10 @@ declare const editorMachine: StateMachine<
|
|
|
3135
3164
|
| {
|
|
3136
3165
|
type: 'decorator.add'
|
|
3137
3166
|
decorator: string
|
|
3138
|
-
|
|
3167
|
+
offsets?: {
|
|
3168
|
+
anchor: BlockOffset_2
|
|
3169
|
+
focus: BlockOffset_2
|
|
3170
|
+
}
|
|
3139
3171
|
}
|
|
3140
3172
|
| {
|
|
3141
3173
|
type: 'decorator.remove'
|
|
@@ -3282,6 +3314,7 @@ declare const editorMachine: StateMachine<
|
|
|
3282
3314
|
| ({
|
|
3283
3315
|
type: 'serialization.failure'
|
|
3284
3316
|
mimeType: `${string}/${string}`
|
|
3317
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3285
3318
|
reason: string
|
|
3286
3319
|
} & {
|
|
3287
3320
|
dataTransfer: DataTransfer
|
|
@@ -3290,7 +3323,7 @@ declare const editorMachine: StateMachine<
|
|
|
3290
3323
|
type: 'serialization.success'
|
|
3291
3324
|
data: string
|
|
3292
3325
|
mimeType: `${string}/${string}`
|
|
3293
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
3326
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3294
3327
|
} & {
|
|
3295
3328
|
dataTransfer: DataTransfer
|
|
3296
3329
|
})
|
|
@@ -3425,7 +3458,10 @@ declare const editorMachine: StateMachine<
|
|
|
3425
3458
|
| {
|
|
3426
3459
|
type: 'decorator.add'
|
|
3427
3460
|
decorator: string
|
|
3428
|
-
|
|
3461
|
+
offsets?: {
|
|
3462
|
+
anchor: BlockOffset_2
|
|
3463
|
+
focus: BlockOffset_2
|
|
3464
|
+
}
|
|
3429
3465
|
}
|
|
3430
3466
|
| {
|
|
3431
3467
|
type: 'decorator.remove'
|
|
@@ -3572,6 +3608,7 @@ declare const editorMachine: StateMachine<
|
|
|
3572
3608
|
| ({
|
|
3573
3609
|
type: 'serialization.failure'
|
|
3574
3610
|
mimeType: `${string}/${string}`
|
|
3611
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3575
3612
|
reason: string
|
|
3576
3613
|
} & {
|
|
3577
3614
|
dataTransfer: DataTransfer
|
|
@@ -3580,7 +3617,7 @@ declare const editorMachine: StateMachine<
|
|
|
3580
3617
|
type: 'serialization.success'
|
|
3581
3618
|
data: string
|
|
3582
3619
|
mimeType: `${string}/${string}`
|
|
3583
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
3620
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3584
3621
|
} & {
|
|
3585
3622
|
dataTransfer: DataTransfer
|
|
3586
3623
|
})
|
|
@@ -3767,7 +3804,10 @@ declare const editorMachine: StateMachine<
|
|
|
3767
3804
|
| {
|
|
3768
3805
|
type: 'decorator.add'
|
|
3769
3806
|
decorator: string
|
|
3770
|
-
|
|
3807
|
+
offsets?: {
|
|
3808
|
+
anchor: BlockOffset_2
|
|
3809
|
+
focus: BlockOffset_2
|
|
3810
|
+
}
|
|
3771
3811
|
}
|
|
3772
3812
|
| {
|
|
3773
3813
|
type: 'decorator.remove'
|
|
@@ -3914,6 +3954,7 @@ declare const editorMachine: StateMachine<
|
|
|
3914
3954
|
| ({
|
|
3915
3955
|
type: 'serialization.failure'
|
|
3916
3956
|
mimeType: `${string}/${string}`
|
|
3957
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3917
3958
|
reason: string
|
|
3918
3959
|
} & {
|
|
3919
3960
|
dataTransfer: DataTransfer
|
|
@@ -3922,7 +3963,7 @@ declare const editorMachine: StateMachine<
|
|
|
3922
3963
|
type: 'serialization.success'
|
|
3923
3964
|
data: string
|
|
3924
3965
|
mimeType: `${string}/${string}`
|
|
3925
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
3966
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3926
3967
|
} & {
|
|
3927
3968
|
dataTransfer: DataTransfer
|
|
3928
3969
|
})
|
|
@@ -4056,7 +4097,10 @@ declare const editorMachine: StateMachine<
|
|
|
4056
4097
|
| {
|
|
4057
4098
|
type: 'decorator.add'
|
|
4058
4099
|
decorator: string
|
|
4059
|
-
|
|
4100
|
+
offsets?: {
|
|
4101
|
+
anchor: BlockOffset_2
|
|
4102
|
+
focus: BlockOffset_2
|
|
4103
|
+
}
|
|
4060
4104
|
}
|
|
4061
4105
|
| {
|
|
4062
4106
|
type: 'decorator.remove'
|
|
@@ -4203,6 +4247,7 @@ declare const editorMachine: StateMachine<
|
|
|
4203
4247
|
| ({
|
|
4204
4248
|
type: 'serialization.failure'
|
|
4205
4249
|
mimeType: `${string}/${string}`
|
|
4250
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4206
4251
|
reason: string
|
|
4207
4252
|
} & {
|
|
4208
4253
|
dataTransfer: DataTransfer
|
|
@@ -4211,7 +4256,7 @@ declare const editorMachine: StateMachine<
|
|
|
4211
4256
|
type: 'serialization.success'
|
|
4212
4257
|
data: string
|
|
4213
4258
|
mimeType: `${string}/${string}`
|
|
4214
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
4259
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4215
4260
|
} & {
|
|
4216
4261
|
dataTransfer: DataTransfer
|
|
4217
4262
|
})
|
|
@@ -4398,7 +4443,10 @@ declare const editorMachine: StateMachine<
|
|
|
4398
4443
|
| {
|
|
4399
4444
|
type: 'decorator.add'
|
|
4400
4445
|
decorator: string
|
|
4401
|
-
|
|
4446
|
+
offsets?: {
|
|
4447
|
+
anchor: BlockOffset_2
|
|
4448
|
+
focus: BlockOffset_2
|
|
4449
|
+
}
|
|
4402
4450
|
}
|
|
4403
4451
|
| {
|
|
4404
4452
|
type: 'decorator.remove'
|
|
@@ -4545,6 +4593,7 @@ declare const editorMachine: StateMachine<
|
|
|
4545
4593
|
| ({
|
|
4546
4594
|
type: 'serialization.failure'
|
|
4547
4595
|
mimeType: `${string}/${string}`
|
|
4596
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4548
4597
|
reason: string
|
|
4549
4598
|
} & {
|
|
4550
4599
|
dataTransfer: DataTransfer
|
|
@@ -4553,7 +4602,7 @@ declare const editorMachine: StateMachine<
|
|
|
4553
4602
|
type: 'serialization.success'
|
|
4554
4603
|
data: string
|
|
4555
4604
|
mimeType: `${string}/${string}`
|
|
4556
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
4605
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4557
4606
|
} & {
|
|
4558
4607
|
dataTransfer: DataTransfer
|
|
4559
4608
|
})
|
|
@@ -4686,7 +4735,10 @@ declare const editorMachine: StateMachine<
|
|
|
4686
4735
|
| {
|
|
4687
4736
|
type: 'decorator.add'
|
|
4688
4737
|
decorator: string
|
|
4689
|
-
|
|
4738
|
+
offsets?: {
|
|
4739
|
+
anchor: BlockOffset_2
|
|
4740
|
+
focus: BlockOffset_2
|
|
4741
|
+
}
|
|
4690
4742
|
}
|
|
4691
4743
|
| {
|
|
4692
4744
|
type: 'decorator.remove'
|
|
@@ -4833,6 +4885,7 @@ declare const editorMachine: StateMachine<
|
|
|
4833
4885
|
| ({
|
|
4834
4886
|
type: 'serialization.failure'
|
|
4835
4887
|
mimeType: `${string}/${string}`
|
|
4888
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4836
4889
|
reason: string
|
|
4837
4890
|
} & {
|
|
4838
4891
|
dataTransfer: DataTransfer
|
|
@@ -4841,7 +4894,7 @@ declare const editorMachine: StateMachine<
|
|
|
4841
4894
|
type: 'serialization.success'
|
|
4842
4895
|
data: string
|
|
4843
4896
|
mimeType: `${string}/${string}`
|
|
4844
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
4897
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4845
4898
|
} & {
|
|
4846
4899
|
dataTransfer: DataTransfer
|
|
4847
4900
|
})
|
|
@@ -5028,7 +5081,10 @@ declare const editorMachine: StateMachine<
|
|
|
5028
5081
|
| {
|
|
5029
5082
|
type: 'decorator.add'
|
|
5030
5083
|
decorator: string
|
|
5031
|
-
|
|
5084
|
+
offsets?: {
|
|
5085
|
+
anchor: BlockOffset_2
|
|
5086
|
+
focus: BlockOffset_2
|
|
5087
|
+
}
|
|
5032
5088
|
}
|
|
5033
5089
|
| {
|
|
5034
5090
|
type: 'decorator.remove'
|
|
@@ -5175,6 +5231,7 @@ declare const editorMachine: StateMachine<
|
|
|
5175
5231
|
| ({
|
|
5176
5232
|
type: 'serialization.failure'
|
|
5177
5233
|
mimeType: `${string}/${string}`
|
|
5234
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5178
5235
|
reason: string
|
|
5179
5236
|
} & {
|
|
5180
5237
|
dataTransfer: DataTransfer
|
|
@@ -5183,7 +5240,7 @@ declare const editorMachine: StateMachine<
|
|
|
5183
5240
|
type: 'serialization.success'
|
|
5184
5241
|
data: string
|
|
5185
5242
|
mimeType: `${string}/${string}`
|
|
5186
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
5243
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5187
5244
|
} & {
|
|
5188
5245
|
dataTransfer: DataTransfer
|
|
5189
5246
|
})
|
|
@@ -5317,7 +5374,10 @@ declare const editorMachine: StateMachine<
|
|
|
5317
5374
|
| {
|
|
5318
5375
|
type: 'decorator.add'
|
|
5319
5376
|
decorator: string
|
|
5320
|
-
|
|
5377
|
+
offsets?: {
|
|
5378
|
+
anchor: BlockOffset_2
|
|
5379
|
+
focus: BlockOffset_2
|
|
5380
|
+
}
|
|
5321
5381
|
}
|
|
5322
5382
|
| {
|
|
5323
5383
|
type: 'decorator.remove'
|
|
@@ -5464,6 +5524,7 @@ declare const editorMachine: StateMachine<
|
|
|
5464
5524
|
| ({
|
|
5465
5525
|
type: 'serialization.failure'
|
|
5466
5526
|
mimeType: `${string}/${string}`
|
|
5527
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5467
5528
|
reason: string
|
|
5468
5529
|
} & {
|
|
5469
5530
|
dataTransfer: DataTransfer
|
|
@@ -5472,7 +5533,7 @@ declare const editorMachine: StateMachine<
|
|
|
5472
5533
|
type: 'serialization.success'
|
|
5473
5534
|
data: string
|
|
5474
5535
|
mimeType: `${string}/${string}`
|
|
5475
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
5536
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5476
5537
|
} & {
|
|
5477
5538
|
dataTransfer: DataTransfer
|
|
5478
5539
|
})
|
|
@@ -5677,7 +5738,10 @@ declare const editorMachine: StateMachine<
|
|
|
5677
5738
|
| {
|
|
5678
5739
|
type: 'decorator.add'
|
|
5679
5740
|
decorator: string
|
|
5680
|
-
|
|
5741
|
+
offsets?: {
|
|
5742
|
+
anchor: BlockOffset_2
|
|
5743
|
+
focus: BlockOffset_2
|
|
5744
|
+
}
|
|
5681
5745
|
}
|
|
5682
5746
|
| {
|
|
5683
5747
|
type: 'decorator.remove'
|
|
@@ -5824,6 +5888,7 @@ declare const editorMachine: StateMachine<
|
|
|
5824
5888
|
| ({
|
|
5825
5889
|
type: 'serialization.failure'
|
|
5826
5890
|
mimeType: `${string}/${string}`
|
|
5891
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5827
5892
|
reason: string
|
|
5828
5893
|
} & {
|
|
5829
5894
|
dataTransfer: DataTransfer
|
|
@@ -5832,7 +5897,7 @@ declare const editorMachine: StateMachine<
|
|
|
5832
5897
|
type: 'serialization.success'
|
|
5833
5898
|
data: string
|
|
5834
5899
|
mimeType: `${string}/${string}`
|
|
5835
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
5900
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5836
5901
|
} & {
|
|
5837
5902
|
dataTransfer: DataTransfer
|
|
5838
5903
|
})
|
|
@@ -6019,7 +6084,10 @@ declare const editorMachine: StateMachine<
|
|
|
6019
6084
|
| {
|
|
6020
6085
|
type: 'decorator.add'
|
|
6021
6086
|
decorator: string
|
|
6022
|
-
|
|
6087
|
+
offsets?: {
|
|
6088
|
+
anchor: BlockOffset_2
|
|
6089
|
+
focus: BlockOffset_2
|
|
6090
|
+
}
|
|
6023
6091
|
}
|
|
6024
6092
|
| {
|
|
6025
6093
|
type: 'decorator.remove'
|
|
@@ -6166,6 +6234,7 @@ declare const editorMachine: StateMachine<
|
|
|
6166
6234
|
| ({
|
|
6167
6235
|
type: 'serialization.failure'
|
|
6168
6236
|
mimeType: `${string}/${string}`
|
|
6237
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6169
6238
|
reason: string
|
|
6170
6239
|
} & {
|
|
6171
6240
|
dataTransfer: DataTransfer
|
|
@@ -6174,7 +6243,7 @@ declare const editorMachine: StateMachine<
|
|
|
6174
6243
|
type: 'serialization.success'
|
|
6175
6244
|
data: string
|
|
6176
6245
|
mimeType: `${string}/${string}`
|
|
6177
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
6246
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6178
6247
|
} & {
|
|
6179
6248
|
dataTransfer: DataTransfer
|
|
6180
6249
|
})
|
|
@@ -6308,7 +6377,10 @@ declare const editorMachine: StateMachine<
|
|
|
6308
6377
|
| {
|
|
6309
6378
|
type: 'decorator.add'
|
|
6310
6379
|
decorator: string
|
|
6311
|
-
|
|
6380
|
+
offsets?: {
|
|
6381
|
+
anchor: BlockOffset_2
|
|
6382
|
+
focus: BlockOffset_2
|
|
6383
|
+
}
|
|
6312
6384
|
}
|
|
6313
6385
|
| {
|
|
6314
6386
|
type: 'decorator.remove'
|
|
@@ -6455,6 +6527,7 @@ declare const editorMachine: StateMachine<
|
|
|
6455
6527
|
| ({
|
|
6456
6528
|
type: 'serialization.failure'
|
|
6457
6529
|
mimeType: `${string}/${string}`
|
|
6530
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6458
6531
|
reason: string
|
|
6459
6532
|
} & {
|
|
6460
6533
|
dataTransfer: DataTransfer
|
|
@@ -6463,7 +6536,7 @@ declare const editorMachine: StateMachine<
|
|
|
6463
6536
|
type: 'serialization.success'
|
|
6464
6537
|
data: string
|
|
6465
6538
|
mimeType: `${string}/${string}`
|
|
6466
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
6539
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6467
6540
|
} & {
|
|
6468
6541
|
dataTransfer: DataTransfer
|
|
6469
6542
|
})
|
|
@@ -6650,7 +6723,10 @@ declare const editorMachine: StateMachine<
|
|
|
6650
6723
|
| {
|
|
6651
6724
|
type: 'decorator.add'
|
|
6652
6725
|
decorator: string
|
|
6653
|
-
|
|
6726
|
+
offsets?: {
|
|
6727
|
+
anchor: BlockOffset_2
|
|
6728
|
+
focus: BlockOffset_2
|
|
6729
|
+
}
|
|
6654
6730
|
}
|
|
6655
6731
|
| {
|
|
6656
6732
|
type: 'decorator.remove'
|
|
@@ -6797,6 +6873,7 @@ declare const editorMachine: StateMachine<
|
|
|
6797
6873
|
| ({
|
|
6798
6874
|
type: 'serialization.failure'
|
|
6799
6875
|
mimeType: `${string}/${string}`
|
|
6876
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6800
6877
|
reason: string
|
|
6801
6878
|
} & {
|
|
6802
6879
|
dataTransfer: DataTransfer
|
|
@@ -6805,7 +6882,7 @@ declare const editorMachine: StateMachine<
|
|
|
6805
6882
|
type: 'serialization.success'
|
|
6806
6883
|
data: string
|
|
6807
6884
|
mimeType: `${string}/${string}`
|
|
6808
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
6885
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6809
6886
|
} & {
|
|
6810
6887
|
dataTransfer: DataTransfer
|
|
6811
6888
|
})
|
|
@@ -6937,7 +7014,10 @@ declare const editorMachine: StateMachine<
|
|
|
6937
7014
|
| {
|
|
6938
7015
|
type: 'decorator.add'
|
|
6939
7016
|
decorator: string
|
|
6940
|
-
|
|
7017
|
+
offsets?: {
|
|
7018
|
+
anchor: BlockOffset_2
|
|
7019
|
+
focus: BlockOffset_2
|
|
7020
|
+
}
|
|
6941
7021
|
}
|
|
6942
7022
|
| {
|
|
6943
7023
|
type: 'decorator.remove'
|
|
@@ -7084,6 +7164,7 @@ declare const editorMachine: StateMachine<
|
|
|
7084
7164
|
| ({
|
|
7085
7165
|
type: 'serialization.failure'
|
|
7086
7166
|
mimeType: `${string}/${string}`
|
|
7167
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7087
7168
|
reason: string
|
|
7088
7169
|
} & {
|
|
7089
7170
|
dataTransfer: DataTransfer
|
|
@@ -7092,7 +7173,7 @@ declare const editorMachine: StateMachine<
|
|
|
7092
7173
|
type: 'serialization.success'
|
|
7093
7174
|
data: string
|
|
7094
7175
|
mimeType: `${string}/${string}`
|
|
7095
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
7176
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7096
7177
|
} & {
|
|
7097
7178
|
dataTransfer: DataTransfer
|
|
7098
7179
|
})
|
|
@@ -7279,7 +7360,10 @@ declare const editorMachine: StateMachine<
|
|
|
7279
7360
|
| {
|
|
7280
7361
|
type: 'decorator.add'
|
|
7281
7362
|
decorator: string
|
|
7282
|
-
|
|
7363
|
+
offsets?: {
|
|
7364
|
+
anchor: BlockOffset_2
|
|
7365
|
+
focus: BlockOffset_2
|
|
7366
|
+
}
|
|
7283
7367
|
}
|
|
7284
7368
|
| {
|
|
7285
7369
|
type: 'decorator.remove'
|
|
@@ -7426,6 +7510,7 @@ declare const editorMachine: StateMachine<
|
|
|
7426
7510
|
| ({
|
|
7427
7511
|
type: 'serialization.failure'
|
|
7428
7512
|
mimeType: `${string}/${string}`
|
|
7513
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7429
7514
|
reason: string
|
|
7430
7515
|
} & {
|
|
7431
7516
|
dataTransfer: DataTransfer
|
|
@@ -7434,7 +7519,7 @@ declare const editorMachine: StateMachine<
|
|
|
7434
7519
|
type: 'serialization.success'
|
|
7435
7520
|
data: string
|
|
7436
7521
|
mimeType: `${string}/${string}`
|
|
7437
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
7522
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7438
7523
|
} & {
|
|
7439
7524
|
dataTransfer: DataTransfer
|
|
7440
7525
|
})
|
|
@@ -7567,7 +7652,10 @@ declare const editorMachine: StateMachine<
|
|
|
7567
7652
|
| {
|
|
7568
7653
|
type: 'decorator.add'
|
|
7569
7654
|
decorator: string
|
|
7570
|
-
|
|
7655
|
+
offsets?: {
|
|
7656
|
+
anchor: BlockOffset_2
|
|
7657
|
+
focus: BlockOffset_2
|
|
7658
|
+
}
|
|
7571
7659
|
}
|
|
7572
7660
|
| {
|
|
7573
7661
|
type: 'decorator.remove'
|
|
@@ -7714,6 +7802,7 @@ declare const editorMachine: StateMachine<
|
|
|
7714
7802
|
| ({
|
|
7715
7803
|
type: 'serialization.failure'
|
|
7716
7804
|
mimeType: `${string}/${string}`
|
|
7805
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7717
7806
|
reason: string
|
|
7718
7807
|
} & {
|
|
7719
7808
|
dataTransfer: DataTransfer
|
|
@@ -7722,7 +7811,7 @@ declare const editorMachine: StateMachine<
|
|
|
7722
7811
|
type: 'serialization.success'
|
|
7723
7812
|
data: string
|
|
7724
7813
|
mimeType: `${string}/${string}`
|
|
7725
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
7814
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7726
7815
|
} & {
|
|
7727
7816
|
dataTransfer: DataTransfer
|
|
7728
7817
|
})
|
|
@@ -7909,7 +7998,10 @@ declare const editorMachine: StateMachine<
|
|
|
7909
7998
|
| {
|
|
7910
7999
|
type: 'decorator.add'
|
|
7911
8000
|
decorator: string
|
|
7912
|
-
|
|
8001
|
+
offsets?: {
|
|
8002
|
+
anchor: BlockOffset_2
|
|
8003
|
+
focus: BlockOffset_2
|
|
8004
|
+
}
|
|
7913
8005
|
}
|
|
7914
8006
|
| {
|
|
7915
8007
|
type: 'decorator.remove'
|
|
@@ -8056,6 +8148,7 @@ declare const editorMachine: StateMachine<
|
|
|
8056
8148
|
| ({
|
|
8057
8149
|
type: 'serialization.failure'
|
|
8058
8150
|
mimeType: `${string}/${string}`
|
|
8151
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8059
8152
|
reason: string
|
|
8060
8153
|
} & {
|
|
8061
8154
|
dataTransfer: DataTransfer
|
|
@@ -8064,7 +8157,7 @@ declare const editorMachine: StateMachine<
|
|
|
8064
8157
|
type: 'serialization.success'
|
|
8065
8158
|
data: string
|
|
8066
8159
|
mimeType: `${string}/${string}`
|
|
8067
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
8160
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8068
8161
|
} & {
|
|
8069
8162
|
dataTransfer: DataTransfer
|
|
8070
8163
|
})
|
|
@@ -8200,7 +8293,10 @@ declare const editorMachine: StateMachine<
|
|
|
8200
8293
|
| {
|
|
8201
8294
|
type: 'decorator.add'
|
|
8202
8295
|
decorator: string
|
|
8203
|
-
|
|
8296
|
+
offsets?: {
|
|
8297
|
+
anchor: BlockOffset_2
|
|
8298
|
+
focus: BlockOffset_2
|
|
8299
|
+
}
|
|
8204
8300
|
}
|
|
8205
8301
|
| {
|
|
8206
8302
|
type: 'decorator.remove'
|
|
@@ -8347,6 +8443,7 @@ declare const editorMachine: StateMachine<
|
|
|
8347
8443
|
| ({
|
|
8348
8444
|
type: 'serialization.failure'
|
|
8349
8445
|
mimeType: `${string}/${string}`
|
|
8446
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8350
8447
|
reason: string
|
|
8351
8448
|
} & {
|
|
8352
8449
|
dataTransfer: DataTransfer
|
|
@@ -8355,7 +8452,7 @@ declare const editorMachine: StateMachine<
|
|
|
8355
8452
|
type: 'serialization.success'
|
|
8356
8453
|
data: string
|
|
8357
8454
|
mimeType: `${string}/${string}`
|
|
8358
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
8455
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8359
8456
|
} & {
|
|
8360
8457
|
dataTransfer: DataTransfer
|
|
8361
8458
|
})
|
|
@@ -8542,7 +8639,10 @@ declare const editorMachine: StateMachine<
|
|
|
8542
8639
|
| {
|
|
8543
8640
|
type: 'decorator.add'
|
|
8544
8641
|
decorator: string
|
|
8545
|
-
|
|
8642
|
+
offsets?: {
|
|
8643
|
+
anchor: BlockOffset_2
|
|
8644
|
+
focus: BlockOffset_2
|
|
8645
|
+
}
|
|
8546
8646
|
}
|
|
8547
8647
|
| {
|
|
8548
8648
|
type: 'decorator.remove'
|
|
@@ -8689,6 +8789,7 @@ declare const editorMachine: StateMachine<
|
|
|
8689
8789
|
| ({
|
|
8690
8790
|
type: 'serialization.failure'
|
|
8691
8791
|
mimeType: `${string}/${string}`
|
|
8792
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8692
8793
|
reason: string
|
|
8693
8794
|
} & {
|
|
8694
8795
|
dataTransfer: DataTransfer
|
|
@@ -8697,7 +8798,7 @@ declare const editorMachine: StateMachine<
|
|
|
8697
8798
|
type: 'serialization.success'
|
|
8698
8799
|
data: string
|
|
8699
8800
|
mimeType: `${string}/${string}`
|
|
8700
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
8801
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8701
8802
|
} & {
|
|
8702
8803
|
dataTransfer: DataTransfer
|
|
8703
8804
|
})
|
|
@@ -8833,7 +8934,10 @@ declare const editorMachine: StateMachine<
|
|
|
8833
8934
|
| {
|
|
8834
8935
|
type: 'decorator.add'
|
|
8835
8936
|
decorator: string
|
|
8836
|
-
|
|
8937
|
+
offsets?: {
|
|
8938
|
+
anchor: BlockOffset_2
|
|
8939
|
+
focus: BlockOffset_2
|
|
8940
|
+
}
|
|
8837
8941
|
}
|
|
8838
8942
|
| {
|
|
8839
8943
|
type: 'decorator.remove'
|
|
@@ -8980,6 +9084,7 @@ declare const editorMachine: StateMachine<
|
|
|
8980
9084
|
| ({
|
|
8981
9085
|
type: 'serialization.failure'
|
|
8982
9086
|
mimeType: `${string}/${string}`
|
|
9087
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8983
9088
|
reason: string
|
|
8984
9089
|
} & {
|
|
8985
9090
|
dataTransfer: DataTransfer
|
|
@@ -8988,7 +9093,7 @@ declare const editorMachine: StateMachine<
|
|
|
8988
9093
|
type: 'serialization.success'
|
|
8989
9094
|
data: string
|
|
8990
9095
|
mimeType: `${string}/${string}`
|
|
8991
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
9096
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8992
9097
|
} & {
|
|
8993
9098
|
dataTransfer: DataTransfer
|
|
8994
9099
|
})
|
|
@@ -9198,7 +9303,10 @@ declare const editorMachine: StateMachine<
|
|
|
9198
9303
|
| {
|
|
9199
9304
|
type: 'decorator.add'
|
|
9200
9305
|
decorator: string
|
|
9201
|
-
|
|
9306
|
+
offsets?: {
|
|
9307
|
+
anchor: BlockOffset_2
|
|
9308
|
+
focus: BlockOffset_2
|
|
9309
|
+
}
|
|
9202
9310
|
}
|
|
9203
9311
|
| {
|
|
9204
9312
|
type: 'decorator.remove'
|
|
@@ -9345,6 +9453,7 @@ declare const editorMachine: StateMachine<
|
|
|
9345
9453
|
| ({
|
|
9346
9454
|
type: 'serialization.failure'
|
|
9347
9455
|
mimeType: `${string}/${string}`
|
|
9456
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
9348
9457
|
reason: string
|
|
9349
9458
|
} & {
|
|
9350
9459
|
dataTransfer: DataTransfer
|
|
@@ -9353,7 +9462,7 @@ declare const editorMachine: StateMachine<
|
|
|
9353
9462
|
type: 'serialization.success'
|
|
9354
9463
|
data: string
|
|
9355
9464
|
mimeType: `${string}/${string}`
|
|
9356
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
9465
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
9357
9466
|
} & {
|
|
9358
9467
|
dataTransfer: DataTransfer
|
|
9359
9468
|
})
|
|
@@ -9560,7 +9669,10 @@ declare const editorMachine: StateMachine<
|
|
|
9560
9669
|
| {
|
|
9561
9670
|
type: 'decorator.add'
|
|
9562
9671
|
decorator: string
|
|
9563
|
-
|
|
9672
|
+
offsets?: {
|
|
9673
|
+
anchor: BlockOffset_2
|
|
9674
|
+
focus: BlockOffset_2
|
|
9675
|
+
}
|
|
9564
9676
|
}
|
|
9565
9677
|
| {
|
|
9566
9678
|
type: 'decorator.remove'
|
|
@@ -9707,6 +9819,7 @@ declare const editorMachine: StateMachine<
|
|
|
9707
9819
|
| ({
|
|
9708
9820
|
type: 'serialization.failure'
|
|
9709
9821
|
mimeType: `${string}/${string}`
|
|
9822
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
9710
9823
|
reason: string
|
|
9711
9824
|
} & {
|
|
9712
9825
|
dataTransfer: DataTransfer
|
|
@@ -9715,7 +9828,7 @@ declare const editorMachine: StateMachine<
|
|
|
9715
9828
|
type: 'serialization.success'
|
|
9716
9829
|
data: string
|
|
9717
9830
|
mimeType: `${string}/${string}`
|
|
9718
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
9831
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
9719
9832
|
} & {
|
|
9720
9833
|
dataTransfer: DataTransfer
|
|
9721
9834
|
})
|
|
@@ -10070,7 +10183,10 @@ declare const editorMachine: StateMachine<
|
|
|
10070
10183
|
| {
|
|
10071
10184
|
type: 'decorator.add'
|
|
10072
10185
|
decorator: string
|
|
10073
|
-
|
|
10186
|
+
offsets?: {
|
|
10187
|
+
anchor: BlockOffset_2
|
|
10188
|
+
focus: BlockOffset_2
|
|
10189
|
+
}
|
|
10074
10190
|
}
|
|
10075
10191
|
| {
|
|
10076
10192
|
type: 'decorator.remove'
|
|
@@ -10217,6 +10333,7 @@ declare const editorMachine: StateMachine<
|
|
|
10217
10333
|
| ({
|
|
10218
10334
|
type: 'serialization.failure'
|
|
10219
10335
|
mimeType: `${string}/${string}`
|
|
10336
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10220
10337
|
reason: string
|
|
10221
10338
|
} & {
|
|
10222
10339
|
dataTransfer: DataTransfer
|
|
@@ -10225,7 +10342,7 @@ declare const editorMachine: StateMachine<
|
|
|
10225
10342
|
type: 'serialization.success'
|
|
10226
10343
|
data: string
|
|
10227
10344
|
mimeType: `${string}/${string}`
|
|
10228
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
10345
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10229
10346
|
} & {
|
|
10230
10347
|
dataTransfer: DataTransfer
|
|
10231
10348
|
})
|
|
@@ -10414,7 +10531,10 @@ declare const editorMachine: StateMachine<
|
|
|
10414
10531
|
| {
|
|
10415
10532
|
type: 'decorator.add'
|
|
10416
10533
|
decorator: string
|
|
10417
|
-
|
|
10534
|
+
offsets?: {
|
|
10535
|
+
anchor: BlockOffset_2
|
|
10536
|
+
focus: BlockOffset_2
|
|
10537
|
+
}
|
|
10418
10538
|
}
|
|
10419
10539
|
| {
|
|
10420
10540
|
type: 'decorator.remove'
|
|
@@ -10561,6 +10681,7 @@ declare const editorMachine: StateMachine<
|
|
|
10561
10681
|
| ({
|
|
10562
10682
|
type: 'serialization.failure'
|
|
10563
10683
|
mimeType: `${string}/${string}`
|
|
10684
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10564
10685
|
reason: string
|
|
10565
10686
|
} & {
|
|
10566
10687
|
dataTransfer: DataTransfer
|
|
@@ -10569,7 +10690,7 @@ declare const editorMachine: StateMachine<
|
|
|
10569
10690
|
type: 'serialization.success'
|
|
10570
10691
|
data: string
|
|
10571
10692
|
mimeType: `${string}/${string}`
|
|
10572
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
10693
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10573
10694
|
} & {
|
|
10574
10695
|
dataTransfer: DataTransfer
|
|
10575
10696
|
})
|
|
@@ -10708,7 +10829,10 @@ declare const editorMachine: StateMachine<
|
|
|
10708
10829
|
| {
|
|
10709
10830
|
type: 'decorator.add'
|
|
10710
10831
|
decorator: string
|
|
10711
|
-
|
|
10832
|
+
offsets?: {
|
|
10833
|
+
anchor: BlockOffset_2
|
|
10834
|
+
focus: BlockOffset_2
|
|
10835
|
+
}
|
|
10712
10836
|
}
|
|
10713
10837
|
| {
|
|
10714
10838
|
type: 'decorator.remove'
|
|
@@ -10855,6 +10979,7 @@ declare const editorMachine: StateMachine<
|
|
|
10855
10979
|
| ({
|
|
10856
10980
|
type: 'serialization.failure'
|
|
10857
10981
|
mimeType: `${string}/${string}`
|
|
10982
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10858
10983
|
reason: string
|
|
10859
10984
|
} & {
|
|
10860
10985
|
dataTransfer: DataTransfer
|
|
@@ -10863,7 +10988,7 @@ declare const editorMachine: StateMachine<
|
|
|
10863
10988
|
type: 'serialization.success'
|
|
10864
10989
|
data: string
|
|
10865
10990
|
mimeType: `${string}/${string}`
|
|
10866
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
10991
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10867
10992
|
} & {
|
|
10868
10993
|
dataTransfer: DataTransfer
|
|
10869
10994
|
})
|
|
@@ -11052,7 +11177,10 @@ declare const editorMachine: StateMachine<
|
|
|
11052
11177
|
| {
|
|
11053
11178
|
type: 'decorator.add'
|
|
11054
11179
|
decorator: string
|
|
11055
|
-
|
|
11180
|
+
offsets?: {
|
|
11181
|
+
anchor: BlockOffset_2
|
|
11182
|
+
focus: BlockOffset_2
|
|
11183
|
+
}
|
|
11056
11184
|
}
|
|
11057
11185
|
| {
|
|
11058
11186
|
type: 'decorator.remove'
|
|
@@ -11199,6 +11327,7 @@ declare const editorMachine: StateMachine<
|
|
|
11199
11327
|
| ({
|
|
11200
11328
|
type: 'serialization.failure'
|
|
11201
11329
|
mimeType: `${string}/${string}`
|
|
11330
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11202
11331
|
reason: string
|
|
11203
11332
|
} & {
|
|
11204
11333
|
dataTransfer: DataTransfer
|
|
@@ -11207,7 +11336,7 @@ declare const editorMachine: StateMachine<
|
|
|
11207
11336
|
type: 'serialization.success'
|
|
11208
11337
|
data: string
|
|
11209
11338
|
mimeType: `${string}/${string}`
|
|
11210
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
11339
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11211
11340
|
} & {
|
|
11212
11341
|
dataTransfer: DataTransfer
|
|
11213
11342
|
})
|
|
@@ -11339,7 +11468,10 @@ declare const editorMachine: StateMachine<
|
|
|
11339
11468
|
| {
|
|
11340
11469
|
type: 'decorator.add'
|
|
11341
11470
|
decorator: string
|
|
11342
|
-
|
|
11471
|
+
offsets?: {
|
|
11472
|
+
anchor: BlockOffset_2
|
|
11473
|
+
focus: BlockOffset_2
|
|
11474
|
+
}
|
|
11343
11475
|
}
|
|
11344
11476
|
| {
|
|
11345
11477
|
type: 'decorator.remove'
|
|
@@ -11486,6 +11618,7 @@ declare const editorMachine: StateMachine<
|
|
|
11486
11618
|
| ({
|
|
11487
11619
|
type: 'serialization.failure'
|
|
11488
11620
|
mimeType: `${string}/${string}`
|
|
11621
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11489
11622
|
reason: string
|
|
11490
11623
|
} & {
|
|
11491
11624
|
dataTransfer: DataTransfer
|
|
@@ -11494,7 +11627,7 @@ declare const editorMachine: StateMachine<
|
|
|
11494
11627
|
type: 'serialization.success'
|
|
11495
11628
|
data: string
|
|
11496
11629
|
mimeType: `${string}/${string}`
|
|
11497
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
11630
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11498
11631
|
} & {
|
|
11499
11632
|
dataTransfer: DataTransfer
|
|
11500
11633
|
})
|
|
@@ -11683,7 +11816,10 @@ declare const editorMachine: StateMachine<
|
|
|
11683
11816
|
| {
|
|
11684
11817
|
type: 'decorator.add'
|
|
11685
11818
|
decorator: string
|
|
11686
|
-
|
|
11819
|
+
offsets?: {
|
|
11820
|
+
anchor: BlockOffset_2
|
|
11821
|
+
focus: BlockOffset_2
|
|
11822
|
+
}
|
|
11687
11823
|
}
|
|
11688
11824
|
| {
|
|
11689
11825
|
type: 'decorator.remove'
|
|
@@ -11830,6 +11966,7 @@ declare const editorMachine: StateMachine<
|
|
|
11830
11966
|
| ({
|
|
11831
11967
|
type: 'serialization.failure'
|
|
11832
11968
|
mimeType: `${string}/${string}`
|
|
11969
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11833
11970
|
reason: string
|
|
11834
11971
|
} & {
|
|
11835
11972
|
dataTransfer: DataTransfer
|
|
@@ -11838,7 +11975,7 @@ declare const editorMachine: StateMachine<
|
|
|
11838
11975
|
type: 'serialization.success'
|
|
11839
11976
|
data: string
|
|
11840
11977
|
mimeType: `${string}/${string}`
|
|
11841
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
11978
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11842
11979
|
} & {
|
|
11843
11980
|
dataTransfer: DataTransfer
|
|
11844
11981
|
})
|
|
@@ -11970,7 +12107,10 @@ declare const editorMachine: StateMachine<
|
|
|
11970
12107
|
| {
|
|
11971
12108
|
type: 'decorator.add'
|
|
11972
12109
|
decorator: string
|
|
11973
|
-
|
|
12110
|
+
offsets?: {
|
|
12111
|
+
anchor: BlockOffset_2
|
|
12112
|
+
focus: BlockOffset_2
|
|
12113
|
+
}
|
|
11974
12114
|
}
|
|
11975
12115
|
| {
|
|
11976
12116
|
type: 'decorator.remove'
|
|
@@ -12117,6 +12257,7 @@ declare const editorMachine: StateMachine<
|
|
|
12117
12257
|
| ({
|
|
12118
12258
|
type: 'serialization.failure'
|
|
12119
12259
|
mimeType: `${string}/${string}`
|
|
12260
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12120
12261
|
reason: string
|
|
12121
12262
|
} & {
|
|
12122
12263
|
dataTransfer: DataTransfer
|
|
@@ -12125,7 +12266,7 @@ declare const editorMachine: StateMachine<
|
|
|
12125
12266
|
type: 'serialization.success'
|
|
12126
12267
|
data: string
|
|
12127
12268
|
mimeType: `${string}/${string}`
|
|
12128
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
12269
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12129
12270
|
} & {
|
|
12130
12271
|
dataTransfer: DataTransfer
|
|
12131
12272
|
})
|
|
@@ -12314,7 +12455,10 @@ declare const editorMachine: StateMachine<
|
|
|
12314
12455
|
| {
|
|
12315
12456
|
type: 'decorator.add'
|
|
12316
12457
|
decorator: string
|
|
12317
|
-
|
|
12458
|
+
offsets?: {
|
|
12459
|
+
anchor: BlockOffset_2
|
|
12460
|
+
focus: BlockOffset_2
|
|
12461
|
+
}
|
|
12318
12462
|
}
|
|
12319
12463
|
| {
|
|
12320
12464
|
type: 'decorator.remove'
|
|
@@ -12461,6 +12605,7 @@ declare const editorMachine: StateMachine<
|
|
|
12461
12605
|
| ({
|
|
12462
12606
|
type: 'serialization.failure'
|
|
12463
12607
|
mimeType: `${string}/${string}`
|
|
12608
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12464
12609
|
reason: string
|
|
12465
12610
|
} & {
|
|
12466
12611
|
dataTransfer: DataTransfer
|
|
@@ -12469,7 +12614,7 @@ declare const editorMachine: StateMachine<
|
|
|
12469
12614
|
type: 'serialization.success'
|
|
12470
12615
|
data: string
|
|
12471
12616
|
mimeType: `${string}/${string}`
|
|
12472
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
12617
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12473
12618
|
} & {
|
|
12474
12619
|
dataTransfer: DataTransfer
|
|
12475
12620
|
})
|
|
@@ -12555,7 +12700,10 @@ declare const editorMachine: StateMachine<
|
|
|
12555
12700
|
| {
|
|
12556
12701
|
type: 'decorator.add'
|
|
12557
12702
|
decorator: string
|
|
12558
|
-
|
|
12703
|
+
offsets?: {
|
|
12704
|
+
anchor: BlockOffset_2
|
|
12705
|
+
focus: BlockOffset_2
|
|
12706
|
+
}
|
|
12559
12707
|
}
|
|
12560
12708
|
| {
|
|
12561
12709
|
type: 'decorator.remove'
|
|
@@ -12611,7 +12759,10 @@ declare const editorMachine: StateMachine<
|
|
|
12611
12759
|
| {
|
|
12612
12760
|
type: 'decorator.add'
|
|
12613
12761
|
decorator: string
|
|
12614
|
-
|
|
12762
|
+
offsets?: {
|
|
12763
|
+
anchor: BlockOffset_2
|
|
12764
|
+
focus: BlockOffset_2
|
|
12765
|
+
}
|
|
12615
12766
|
}
|
|
12616
12767
|
| {
|
|
12617
12768
|
type: 'decorator.remove'
|
|
@@ -12758,6 +12909,7 @@ declare const editorMachine: StateMachine<
|
|
|
12758
12909
|
| ({
|
|
12759
12910
|
type: 'serialization.failure'
|
|
12760
12911
|
mimeType: `${string}/${string}`
|
|
12912
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12761
12913
|
reason: string
|
|
12762
12914
|
} & {
|
|
12763
12915
|
dataTransfer: DataTransfer
|
|
@@ -12766,7 +12918,7 @@ declare const editorMachine: StateMachine<
|
|
|
12766
12918
|
type: 'serialization.success'
|
|
12767
12919
|
data: string
|
|
12768
12920
|
mimeType: `${string}/${string}`
|
|
12769
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
12921
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12770
12922
|
} & {
|
|
12771
12923
|
dataTransfer: DataTransfer
|
|
12772
12924
|
})
|
|
@@ -12955,7 +13107,10 @@ declare const editorMachine: StateMachine<
|
|
|
12955
13107
|
| {
|
|
12956
13108
|
type: 'decorator.add'
|
|
12957
13109
|
decorator: string
|
|
12958
|
-
|
|
13110
|
+
offsets?: {
|
|
13111
|
+
anchor: BlockOffset_2
|
|
13112
|
+
focus: BlockOffset_2
|
|
13113
|
+
}
|
|
12959
13114
|
}
|
|
12960
13115
|
| {
|
|
12961
13116
|
type: 'decorator.remove'
|
|
@@ -13102,6 +13257,7 @@ declare const editorMachine: StateMachine<
|
|
|
13102
13257
|
| ({
|
|
13103
13258
|
type: 'serialization.failure'
|
|
13104
13259
|
mimeType: `${string}/${string}`
|
|
13260
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13105
13261
|
reason: string
|
|
13106
13262
|
} & {
|
|
13107
13263
|
dataTransfer: DataTransfer
|
|
@@ -13110,7 +13266,7 @@ declare const editorMachine: StateMachine<
|
|
|
13110
13266
|
type: 'serialization.success'
|
|
13111
13267
|
data: string
|
|
13112
13268
|
mimeType: `${string}/${string}`
|
|
13113
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
13269
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13114
13270
|
} & {
|
|
13115
13271
|
dataTransfer: DataTransfer
|
|
13116
13272
|
})
|
|
@@ -13256,7 +13412,10 @@ declare const editorMachine: StateMachine<
|
|
|
13256
13412
|
| {
|
|
13257
13413
|
type: 'decorator.add'
|
|
13258
13414
|
decorator: string
|
|
13259
|
-
|
|
13415
|
+
offsets?: {
|
|
13416
|
+
anchor: BlockOffset_2
|
|
13417
|
+
focus: BlockOffset_2
|
|
13418
|
+
}
|
|
13260
13419
|
}
|
|
13261
13420
|
| {
|
|
13262
13421
|
type: 'decorator.remove'
|
|
@@ -13403,6 +13562,7 @@ declare const editorMachine: StateMachine<
|
|
|
13403
13562
|
| ({
|
|
13404
13563
|
type: 'serialization.failure'
|
|
13405
13564
|
mimeType: `${string}/${string}`
|
|
13565
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13406
13566
|
reason: string
|
|
13407
13567
|
} & {
|
|
13408
13568
|
dataTransfer: DataTransfer
|
|
@@ -13411,7 +13571,7 @@ declare const editorMachine: StateMachine<
|
|
|
13411
13571
|
type: 'serialization.success'
|
|
13412
13572
|
data: string
|
|
13413
13573
|
mimeType: `${string}/${string}`
|
|
13414
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
13574
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13415
13575
|
} & {
|
|
13416
13576
|
dataTransfer: DataTransfer
|
|
13417
13577
|
})
|
|
@@ -13600,7 +13760,10 @@ declare const editorMachine: StateMachine<
|
|
|
13600
13760
|
| {
|
|
13601
13761
|
type: 'decorator.add'
|
|
13602
13762
|
decorator: string
|
|
13603
|
-
|
|
13763
|
+
offsets?: {
|
|
13764
|
+
anchor: BlockOffset_2
|
|
13765
|
+
focus: BlockOffset_2
|
|
13766
|
+
}
|
|
13604
13767
|
}
|
|
13605
13768
|
| {
|
|
13606
13769
|
type: 'decorator.remove'
|
|
@@ -13747,6 +13910,7 @@ declare const editorMachine: StateMachine<
|
|
|
13747
13910
|
| ({
|
|
13748
13911
|
type: 'serialization.failure'
|
|
13749
13912
|
mimeType: `${string}/${string}`
|
|
13913
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13750
13914
|
reason: string
|
|
13751
13915
|
} & {
|
|
13752
13916
|
dataTransfer: DataTransfer
|
|
@@ -13755,7 +13919,7 @@ declare const editorMachine: StateMachine<
|
|
|
13755
13919
|
type: 'serialization.success'
|
|
13756
13920
|
data: string
|
|
13757
13921
|
mimeType: `${string}/${string}`
|
|
13758
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
13922
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13759
13923
|
} & {
|
|
13760
13924
|
dataTransfer: DataTransfer
|
|
13761
13925
|
})
|
|
@@ -13887,7 +14051,10 @@ declare const editorMachine: StateMachine<
|
|
|
13887
14051
|
| {
|
|
13888
14052
|
type: 'decorator.add'
|
|
13889
14053
|
decorator: string
|
|
13890
|
-
|
|
14054
|
+
offsets?: {
|
|
14055
|
+
anchor: BlockOffset_2
|
|
14056
|
+
focus: BlockOffset_2
|
|
14057
|
+
}
|
|
13891
14058
|
}
|
|
13892
14059
|
| {
|
|
13893
14060
|
type: 'decorator.remove'
|
|
@@ -14034,6 +14201,7 @@ declare const editorMachine: StateMachine<
|
|
|
14034
14201
|
| ({
|
|
14035
14202
|
type: 'serialization.failure'
|
|
14036
14203
|
mimeType: `${string}/${string}`
|
|
14204
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14037
14205
|
reason: string
|
|
14038
14206
|
} & {
|
|
14039
14207
|
dataTransfer: DataTransfer
|
|
@@ -14042,7 +14210,7 @@ declare const editorMachine: StateMachine<
|
|
|
14042
14210
|
type: 'serialization.success'
|
|
14043
14211
|
data: string
|
|
14044
14212
|
mimeType: `${string}/${string}`
|
|
14045
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
14213
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14046
14214
|
} & {
|
|
14047
14215
|
dataTransfer: DataTransfer
|
|
14048
14216
|
})
|
|
@@ -14231,7 +14399,10 @@ declare const editorMachine: StateMachine<
|
|
|
14231
14399
|
| {
|
|
14232
14400
|
type: 'decorator.add'
|
|
14233
14401
|
decorator: string
|
|
14234
|
-
|
|
14402
|
+
offsets?: {
|
|
14403
|
+
anchor: BlockOffset_2
|
|
14404
|
+
focus: BlockOffset_2
|
|
14405
|
+
}
|
|
14235
14406
|
}
|
|
14236
14407
|
| {
|
|
14237
14408
|
type: 'decorator.remove'
|
|
@@ -14378,6 +14549,7 @@ declare const editorMachine: StateMachine<
|
|
|
14378
14549
|
| ({
|
|
14379
14550
|
type: 'serialization.failure'
|
|
14380
14551
|
mimeType: `${string}/${string}`
|
|
14552
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14381
14553
|
reason: string
|
|
14382
14554
|
} & {
|
|
14383
14555
|
dataTransfer: DataTransfer
|
|
@@ -14386,7 +14558,7 @@ declare const editorMachine: StateMachine<
|
|
|
14386
14558
|
type: 'serialization.success'
|
|
14387
14559
|
data: string
|
|
14388
14560
|
mimeType: `${string}/${string}`
|
|
14389
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
14561
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14390
14562
|
} & {
|
|
14391
14563
|
dataTransfer: DataTransfer
|
|
14392
14564
|
})
|
|
@@ -14521,7 +14693,10 @@ declare const editorMachine: StateMachine<
|
|
|
14521
14693
|
| {
|
|
14522
14694
|
type: 'decorator.add'
|
|
14523
14695
|
decorator: string
|
|
14524
|
-
|
|
14696
|
+
offsets?: {
|
|
14697
|
+
anchor: BlockOffset_2
|
|
14698
|
+
focus: BlockOffset_2
|
|
14699
|
+
}
|
|
14525
14700
|
}
|
|
14526
14701
|
| {
|
|
14527
14702
|
type: 'decorator.remove'
|
|
@@ -14668,6 +14843,7 @@ declare const editorMachine: StateMachine<
|
|
|
14668
14843
|
| ({
|
|
14669
14844
|
type: 'serialization.failure'
|
|
14670
14845
|
mimeType: `${string}/${string}`
|
|
14846
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14671
14847
|
reason: string
|
|
14672
14848
|
} & {
|
|
14673
14849
|
dataTransfer: DataTransfer
|
|
@@ -14676,7 +14852,7 @@ declare const editorMachine: StateMachine<
|
|
|
14676
14852
|
type: 'serialization.success'
|
|
14677
14853
|
data: string
|
|
14678
14854
|
mimeType: `${string}/${string}`
|
|
14679
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
14855
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14680
14856
|
} & {
|
|
14681
14857
|
dataTransfer: DataTransfer
|
|
14682
14858
|
})
|
|
@@ -14865,7 +15041,10 @@ declare const editorMachine: StateMachine<
|
|
|
14865
15041
|
| {
|
|
14866
15042
|
type: 'decorator.add'
|
|
14867
15043
|
decorator: string
|
|
14868
|
-
|
|
15044
|
+
offsets?: {
|
|
15045
|
+
anchor: BlockOffset_2
|
|
15046
|
+
focus: BlockOffset_2
|
|
15047
|
+
}
|
|
14869
15048
|
}
|
|
14870
15049
|
| {
|
|
14871
15050
|
type: 'decorator.remove'
|
|
@@ -15012,6 +15191,7 @@ declare const editorMachine: StateMachine<
|
|
|
15012
15191
|
| ({
|
|
15013
15192
|
type: 'serialization.failure'
|
|
15014
15193
|
mimeType: `${string}/${string}`
|
|
15194
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15015
15195
|
reason: string
|
|
15016
15196
|
} & {
|
|
15017
15197
|
dataTransfer: DataTransfer
|
|
@@ -15020,7 +15200,7 @@ declare const editorMachine: StateMachine<
|
|
|
15020
15200
|
type: 'serialization.success'
|
|
15021
15201
|
data: string
|
|
15022
15202
|
mimeType: `${string}/${string}`
|
|
15023
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
15203
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15024
15204
|
} & {
|
|
15025
15205
|
dataTransfer: DataTransfer
|
|
15026
15206
|
})
|
|
@@ -15206,7 +15386,10 @@ declare const editorMachine: StateMachine<
|
|
|
15206
15386
|
| {
|
|
15207
15387
|
type: 'decorator.add'
|
|
15208
15388
|
decorator: string
|
|
15209
|
-
|
|
15389
|
+
offsets?: {
|
|
15390
|
+
anchor: BlockOffset_2
|
|
15391
|
+
focus: BlockOffset_2
|
|
15392
|
+
}
|
|
15210
15393
|
}
|
|
15211
15394
|
| {
|
|
15212
15395
|
type: 'decorator.remove'
|
|
@@ -15353,6 +15536,7 @@ declare const editorMachine: StateMachine<
|
|
|
15353
15536
|
| ({
|
|
15354
15537
|
type: 'serialization.failure'
|
|
15355
15538
|
mimeType: `${string}/${string}`
|
|
15539
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15356
15540
|
reason: string
|
|
15357
15541
|
} & {
|
|
15358
15542
|
dataTransfer: DataTransfer
|
|
@@ -15361,7 +15545,7 @@ declare const editorMachine: StateMachine<
|
|
|
15361
15545
|
type: 'serialization.success'
|
|
15362
15546
|
data: string
|
|
15363
15547
|
mimeType: `${string}/${string}`
|
|
15364
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
15548
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15365
15549
|
} & {
|
|
15366
15550
|
dataTransfer: DataTransfer
|
|
15367
15551
|
})
|
|
@@ -15550,7 +15734,10 @@ declare const editorMachine: StateMachine<
|
|
|
15550
15734
|
| {
|
|
15551
15735
|
type: 'decorator.add'
|
|
15552
15736
|
decorator: string
|
|
15553
|
-
|
|
15737
|
+
offsets?: {
|
|
15738
|
+
anchor: BlockOffset_2
|
|
15739
|
+
focus: BlockOffset_2
|
|
15740
|
+
}
|
|
15554
15741
|
}
|
|
15555
15742
|
| {
|
|
15556
15743
|
type: 'decorator.remove'
|
|
@@ -15697,6 +15884,7 @@ declare const editorMachine: StateMachine<
|
|
|
15697
15884
|
| ({
|
|
15698
15885
|
type: 'serialization.failure'
|
|
15699
15886
|
mimeType: `${string}/${string}`
|
|
15887
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15700
15888
|
reason: string
|
|
15701
15889
|
} & {
|
|
15702
15890
|
dataTransfer: DataTransfer
|
|
@@ -15705,7 +15893,7 @@ declare const editorMachine: StateMachine<
|
|
|
15705
15893
|
type: 'serialization.success'
|
|
15706
15894
|
data: string
|
|
15707
15895
|
mimeType: `${string}/${string}`
|
|
15708
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
15896
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15709
15897
|
} & {
|
|
15710
15898
|
dataTransfer: DataTransfer
|
|
15711
15899
|
})
|
|
@@ -15846,7 +16034,10 @@ declare const editorMachine: StateMachine<
|
|
|
15846
16034
|
| {
|
|
15847
16035
|
type: 'decorator.add'
|
|
15848
16036
|
decorator: string
|
|
15849
|
-
|
|
16037
|
+
offsets?: {
|
|
16038
|
+
anchor: BlockOffset_2
|
|
16039
|
+
focus: BlockOffset_2
|
|
16040
|
+
}
|
|
15850
16041
|
}
|
|
15851
16042
|
| {
|
|
15852
16043
|
type: 'decorator.remove'
|
|
@@ -15993,6 +16184,7 @@ declare const editorMachine: StateMachine<
|
|
|
15993
16184
|
| ({
|
|
15994
16185
|
type: 'serialization.failure'
|
|
15995
16186
|
mimeType: `${string}/${string}`
|
|
16187
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15996
16188
|
reason: string
|
|
15997
16189
|
} & {
|
|
15998
16190
|
dataTransfer: DataTransfer
|
|
@@ -16001,7 +16193,7 @@ declare const editorMachine: StateMachine<
|
|
|
16001
16193
|
type: 'serialization.success'
|
|
16002
16194
|
data: string
|
|
16003
16195
|
mimeType: `${string}/${string}`
|
|
16004
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
16196
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16005
16197
|
} & {
|
|
16006
16198
|
dataTransfer: DataTransfer
|
|
16007
16199
|
})
|
|
@@ -16190,7 +16382,10 @@ declare const editorMachine: StateMachine<
|
|
|
16190
16382
|
| {
|
|
16191
16383
|
type: 'decorator.add'
|
|
16192
16384
|
decorator: string
|
|
16193
|
-
|
|
16385
|
+
offsets?: {
|
|
16386
|
+
anchor: BlockOffset_2
|
|
16387
|
+
focus: BlockOffset_2
|
|
16388
|
+
}
|
|
16194
16389
|
}
|
|
16195
16390
|
| {
|
|
16196
16391
|
type: 'decorator.remove'
|
|
@@ -16337,6 +16532,7 @@ declare const editorMachine: StateMachine<
|
|
|
16337
16532
|
| ({
|
|
16338
16533
|
type: 'serialization.failure'
|
|
16339
16534
|
mimeType: `${string}/${string}`
|
|
16535
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16340
16536
|
reason: string
|
|
16341
16537
|
} & {
|
|
16342
16538
|
dataTransfer: DataTransfer
|
|
@@ -16345,7 +16541,7 @@ declare const editorMachine: StateMachine<
|
|
|
16345
16541
|
type: 'serialization.success'
|
|
16346
16542
|
data: string
|
|
16347
16543
|
mimeType: `${string}/${string}`
|
|
16348
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
16544
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16349
16545
|
} & {
|
|
16350
16546
|
dataTransfer: DataTransfer
|
|
16351
16547
|
})
|
|
@@ -16487,7 +16683,10 @@ declare const editorMachine: StateMachine<
|
|
|
16487
16683
|
| {
|
|
16488
16684
|
type: 'decorator.add'
|
|
16489
16685
|
decorator: string
|
|
16490
|
-
|
|
16686
|
+
offsets?: {
|
|
16687
|
+
anchor: BlockOffset_2
|
|
16688
|
+
focus: BlockOffset_2
|
|
16689
|
+
}
|
|
16491
16690
|
}
|
|
16492
16691
|
| {
|
|
16493
16692
|
type: 'decorator.remove'
|
|
@@ -16634,6 +16833,7 @@ declare const editorMachine: StateMachine<
|
|
|
16634
16833
|
| ({
|
|
16635
16834
|
type: 'serialization.failure'
|
|
16636
16835
|
mimeType: `${string}/${string}`
|
|
16836
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16637
16837
|
reason: string
|
|
16638
16838
|
} & {
|
|
16639
16839
|
dataTransfer: DataTransfer
|
|
@@ -16642,7 +16842,7 @@ declare const editorMachine: StateMachine<
|
|
|
16642
16842
|
type: 'serialization.success'
|
|
16643
16843
|
data: string
|
|
16644
16844
|
mimeType: `${string}/${string}`
|
|
16645
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
16845
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16646
16846
|
} & {
|
|
16647
16847
|
dataTransfer: DataTransfer
|
|
16648
16848
|
})
|
|
@@ -16831,7 +17031,10 @@ declare const editorMachine: StateMachine<
|
|
|
16831
17031
|
| {
|
|
16832
17032
|
type: 'decorator.add'
|
|
16833
17033
|
decorator: string
|
|
16834
|
-
|
|
17034
|
+
offsets?: {
|
|
17035
|
+
anchor: BlockOffset_2
|
|
17036
|
+
focus: BlockOffset_2
|
|
17037
|
+
}
|
|
16835
17038
|
}
|
|
16836
17039
|
| {
|
|
16837
17040
|
type: 'decorator.remove'
|
|
@@ -16978,6 +17181,7 @@ declare const editorMachine: StateMachine<
|
|
|
16978
17181
|
| ({
|
|
16979
17182
|
type: 'serialization.failure'
|
|
16980
17183
|
mimeType: `${string}/${string}`
|
|
17184
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16981
17185
|
reason: string
|
|
16982
17186
|
} & {
|
|
16983
17187
|
dataTransfer: DataTransfer
|
|
@@ -16986,7 +17190,7 @@ declare const editorMachine: StateMachine<
|
|
|
16986
17190
|
type: 'serialization.success'
|
|
16987
17191
|
data: string
|
|
16988
17192
|
mimeType: `${string}/${string}`
|
|
16989
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
17193
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16990
17194
|
} & {
|
|
16991
17195
|
dataTransfer: DataTransfer
|
|
16992
17196
|
})
|
|
@@ -17119,7 +17323,10 @@ declare const editorMachine: StateMachine<
|
|
|
17119
17323
|
| {
|
|
17120
17324
|
type: 'decorator.add'
|
|
17121
17325
|
decorator: string
|
|
17122
|
-
|
|
17326
|
+
offsets?: {
|
|
17327
|
+
anchor: BlockOffset_2
|
|
17328
|
+
focus: BlockOffset_2
|
|
17329
|
+
}
|
|
17123
17330
|
}
|
|
17124
17331
|
| {
|
|
17125
17332
|
type: 'decorator.remove'
|
|
@@ -17266,6 +17473,7 @@ declare const editorMachine: StateMachine<
|
|
|
17266
17473
|
| ({
|
|
17267
17474
|
type: 'serialization.failure'
|
|
17268
17475
|
mimeType: `${string}/${string}`
|
|
17476
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17269
17477
|
reason: string
|
|
17270
17478
|
} & {
|
|
17271
17479
|
dataTransfer: DataTransfer
|
|
@@ -17274,7 +17482,7 @@ declare const editorMachine: StateMachine<
|
|
|
17274
17482
|
type: 'serialization.success'
|
|
17275
17483
|
data: string
|
|
17276
17484
|
mimeType: `${string}/${string}`
|
|
17277
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
17485
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17278
17486
|
} & {
|
|
17279
17487
|
dataTransfer: DataTransfer
|
|
17280
17488
|
})
|
|
@@ -17463,7 +17671,10 @@ declare const editorMachine: StateMachine<
|
|
|
17463
17671
|
| {
|
|
17464
17672
|
type: 'decorator.add'
|
|
17465
17673
|
decorator: string
|
|
17466
|
-
|
|
17674
|
+
offsets?: {
|
|
17675
|
+
anchor: BlockOffset_2
|
|
17676
|
+
focus: BlockOffset_2
|
|
17677
|
+
}
|
|
17467
17678
|
}
|
|
17468
17679
|
| {
|
|
17469
17680
|
type: 'decorator.remove'
|
|
@@ -17610,6 +17821,7 @@ declare const editorMachine: StateMachine<
|
|
|
17610
17821
|
| ({
|
|
17611
17822
|
type: 'serialization.failure'
|
|
17612
17823
|
mimeType: `${string}/${string}`
|
|
17824
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17613
17825
|
reason: string
|
|
17614
17826
|
} & {
|
|
17615
17827
|
dataTransfer: DataTransfer
|
|
@@ -17618,7 +17830,7 @@ declare const editorMachine: StateMachine<
|
|
|
17618
17830
|
type: 'serialization.success'
|
|
17619
17831
|
data: string
|
|
17620
17832
|
mimeType: `${string}/${string}`
|
|
17621
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
17833
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17622
17834
|
} & {
|
|
17623
17835
|
dataTransfer: DataTransfer
|
|
17624
17836
|
})
|
|
@@ -17753,7 +17965,10 @@ declare const editorMachine: StateMachine<
|
|
|
17753
17965
|
| {
|
|
17754
17966
|
type: 'decorator.add'
|
|
17755
17967
|
decorator: string
|
|
17756
|
-
|
|
17968
|
+
offsets?: {
|
|
17969
|
+
anchor: BlockOffset_2
|
|
17970
|
+
focus: BlockOffset_2
|
|
17971
|
+
}
|
|
17757
17972
|
}
|
|
17758
17973
|
| {
|
|
17759
17974
|
type: 'decorator.remove'
|
|
@@ -17900,6 +18115,7 @@ declare const editorMachine: StateMachine<
|
|
|
17900
18115
|
| ({
|
|
17901
18116
|
type: 'serialization.failure'
|
|
17902
18117
|
mimeType: `${string}/${string}`
|
|
18118
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17903
18119
|
reason: string
|
|
17904
18120
|
} & {
|
|
17905
18121
|
dataTransfer: DataTransfer
|
|
@@ -17908,7 +18124,7 @@ declare const editorMachine: StateMachine<
|
|
|
17908
18124
|
type: 'serialization.success'
|
|
17909
18125
|
data: string
|
|
17910
18126
|
mimeType: `${string}/${string}`
|
|
17911
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
18127
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17912
18128
|
} & {
|
|
17913
18129
|
dataTransfer: DataTransfer
|
|
17914
18130
|
})
|
|
@@ -18097,7 +18313,10 @@ declare const editorMachine: StateMachine<
|
|
|
18097
18313
|
| {
|
|
18098
18314
|
type: 'decorator.add'
|
|
18099
18315
|
decorator: string
|
|
18100
|
-
|
|
18316
|
+
offsets?: {
|
|
18317
|
+
anchor: BlockOffset_2
|
|
18318
|
+
focus: BlockOffset_2
|
|
18319
|
+
}
|
|
18101
18320
|
}
|
|
18102
18321
|
| {
|
|
18103
18322
|
type: 'decorator.remove'
|
|
@@ -18244,6 +18463,7 @@ declare const editorMachine: StateMachine<
|
|
|
18244
18463
|
| ({
|
|
18245
18464
|
type: 'serialization.failure'
|
|
18246
18465
|
mimeType: `${string}/${string}`
|
|
18466
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
18247
18467
|
reason: string
|
|
18248
18468
|
} & {
|
|
18249
18469
|
dataTransfer: DataTransfer
|
|
@@ -18252,7 +18472,7 @@ declare const editorMachine: StateMachine<
|
|
|
18252
18472
|
type: 'serialization.success'
|
|
18253
18473
|
data: string
|
|
18254
18474
|
mimeType: `${string}/${string}`
|
|
18255
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
18475
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
18256
18476
|
} & {
|
|
18257
18477
|
dataTransfer: DataTransfer
|
|
18258
18478
|
})
|
|
@@ -18393,7 +18613,10 @@ declare const editorMachine: StateMachine<
|
|
|
18393
18613
|
| {
|
|
18394
18614
|
type: 'decorator.add'
|
|
18395
18615
|
decorator: string
|
|
18396
|
-
|
|
18616
|
+
offsets?: {
|
|
18617
|
+
anchor: BlockOffset_2
|
|
18618
|
+
focus: BlockOffset_2
|
|
18619
|
+
}
|
|
18397
18620
|
}
|
|
18398
18621
|
| {
|
|
18399
18622
|
type: 'decorator.remove'
|
|
@@ -18540,6 +18763,7 @@ declare const editorMachine: StateMachine<
|
|
|
18540
18763
|
| ({
|
|
18541
18764
|
type: 'serialization.failure'
|
|
18542
18765
|
mimeType: `${string}/${string}`
|
|
18766
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
18543
18767
|
reason: string
|
|
18544
18768
|
} & {
|
|
18545
18769
|
dataTransfer: DataTransfer
|
|
@@ -18548,7 +18772,7 @@ declare const editorMachine: StateMachine<
|
|
|
18548
18772
|
type: 'serialization.success'
|
|
18549
18773
|
data: string
|
|
18550
18774
|
mimeType: `${string}/${string}`
|
|
18551
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
18775
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
18552
18776
|
} & {
|
|
18553
18777
|
dataTransfer: DataTransfer
|
|
18554
18778
|
})
|
|
@@ -18737,7 +18961,10 @@ declare const editorMachine: StateMachine<
|
|
|
18737
18961
|
| {
|
|
18738
18962
|
type: 'decorator.add'
|
|
18739
18963
|
decorator: string
|
|
18740
|
-
|
|
18964
|
+
offsets?: {
|
|
18965
|
+
anchor: BlockOffset_2
|
|
18966
|
+
focus: BlockOffset_2
|
|
18967
|
+
}
|
|
18741
18968
|
}
|
|
18742
18969
|
| {
|
|
18743
18970
|
type: 'decorator.remove'
|
|
@@ -18884,6 +19111,7 @@ declare const editorMachine: StateMachine<
|
|
|
18884
19111
|
| ({
|
|
18885
19112
|
type: 'serialization.failure'
|
|
18886
19113
|
mimeType: `${string}/${string}`
|
|
19114
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
18887
19115
|
reason: string
|
|
18888
19116
|
} & {
|
|
18889
19117
|
dataTransfer: DataTransfer
|
|
@@ -18892,7 +19120,7 @@ declare const editorMachine: StateMachine<
|
|
|
18892
19120
|
type: 'serialization.success'
|
|
18893
19121
|
data: string
|
|
18894
19122
|
mimeType: `${string}/${string}`
|
|
18895
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
19123
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
18896
19124
|
} & {
|
|
18897
19125
|
dataTransfer: DataTransfer
|
|
18898
19126
|
})
|
|
@@ -19300,7 +19528,7 @@ export declare type NativeBehaviorEvent =
|
|
|
19300
19528
|
}
|
|
19301
19529
|
| {
|
|
19302
19530
|
type: 'serialize'
|
|
19303
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
19531
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
19304
19532
|
dataTransfer: DataTransfer
|
|
19305
19533
|
}
|
|
19306
19534
|
|
|
@@ -20161,7 +20389,10 @@ export declare type SyntheticBehaviorEvent =
|
|
|
20161
20389
|
| {
|
|
20162
20390
|
type: 'decorator.add'
|
|
20163
20391
|
decorator: string
|
|
20164
|
-
|
|
20392
|
+
offsets?: {
|
|
20393
|
+
anchor: BlockOffset
|
|
20394
|
+
focus: BlockOffset
|
|
20395
|
+
}
|
|
20165
20396
|
}
|
|
20166
20397
|
| {
|
|
20167
20398
|
type: 'decorator.remove'
|