@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/plugins/index.d.cts
CHANGED
|
@@ -154,18 +154,19 @@ declare type Converter<TMIMEType extends MIMEType = MIMEType> = {
|
|
|
154
154
|
declare type ConverterEvent<TMIMEType extends MIMEType = MIMEType> =
|
|
155
155
|
| {
|
|
156
156
|
type: 'serialize'
|
|
157
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
157
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
158
158
|
}
|
|
159
159
|
| {
|
|
160
160
|
type: 'serialization.failure'
|
|
161
161
|
mimeType: TMIMEType
|
|
162
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
162
163
|
reason: string
|
|
163
164
|
}
|
|
164
165
|
| {
|
|
165
166
|
type: 'serialization.success'
|
|
166
167
|
data: string
|
|
167
168
|
mimeType: TMIMEType
|
|
168
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
169
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
169
170
|
}
|
|
170
171
|
| {
|
|
171
172
|
type: 'deserialize'
|
|
@@ -447,7 +448,10 @@ declare const editorMachine: StateMachine<
|
|
|
447
448
|
| {
|
|
448
449
|
type: 'decorator.add'
|
|
449
450
|
decorator: string
|
|
450
|
-
|
|
451
|
+
offsets?: {
|
|
452
|
+
anchor: BlockOffset_2
|
|
453
|
+
focus: BlockOffset_2
|
|
454
|
+
}
|
|
451
455
|
}
|
|
452
456
|
| {
|
|
453
457
|
type: 'decorator.remove'
|
|
@@ -594,6 +598,7 @@ declare const editorMachine: StateMachine<
|
|
|
594
598
|
| ({
|
|
595
599
|
type: 'serialization.failure'
|
|
596
600
|
mimeType: `${string}/${string}`
|
|
601
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
597
602
|
reason: string
|
|
598
603
|
} & {
|
|
599
604
|
dataTransfer: DataTransfer
|
|
@@ -602,7 +607,7 @@ declare const editorMachine: StateMachine<
|
|
|
602
607
|
type: 'serialization.success'
|
|
603
608
|
data: string
|
|
604
609
|
mimeType: `${string}/${string}`
|
|
605
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
610
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
606
611
|
} & {
|
|
607
612
|
dataTransfer: DataTransfer
|
|
608
613
|
})
|
|
@@ -866,7 +871,10 @@ declare const editorMachine: StateMachine<
|
|
|
866
871
|
| {
|
|
867
872
|
type: 'decorator.add'
|
|
868
873
|
decorator: string
|
|
869
|
-
|
|
874
|
+
offsets?: {
|
|
875
|
+
anchor: BlockOffset_2
|
|
876
|
+
focus: BlockOffset_2
|
|
877
|
+
}
|
|
870
878
|
}
|
|
871
879
|
| {
|
|
872
880
|
type: 'decorator.remove'
|
|
@@ -1013,6 +1021,7 @@ declare const editorMachine: StateMachine<
|
|
|
1013
1021
|
| ({
|
|
1014
1022
|
type: 'serialization.failure'
|
|
1015
1023
|
mimeType: `${string}/${string}`
|
|
1024
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1016
1025
|
reason: string
|
|
1017
1026
|
} & {
|
|
1018
1027
|
dataTransfer: DataTransfer
|
|
@@ -1021,7 +1030,7 @@ declare const editorMachine: StateMachine<
|
|
|
1021
1030
|
type: 'serialization.success'
|
|
1022
1031
|
data: string
|
|
1023
1032
|
mimeType: `${string}/${string}`
|
|
1024
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
1033
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1025
1034
|
} & {
|
|
1026
1035
|
dataTransfer: DataTransfer
|
|
1027
1036
|
})
|
|
@@ -1185,7 +1194,10 @@ declare const editorMachine: StateMachine<
|
|
|
1185
1194
|
| {
|
|
1186
1195
|
type: 'decorator.add'
|
|
1187
1196
|
decorator: string
|
|
1188
|
-
|
|
1197
|
+
offsets?: {
|
|
1198
|
+
anchor: BlockOffset_2
|
|
1199
|
+
focus: BlockOffset_2
|
|
1200
|
+
}
|
|
1189
1201
|
}
|
|
1190
1202
|
| {
|
|
1191
1203
|
type: 'decorator.remove'
|
|
@@ -1332,6 +1344,7 @@ declare const editorMachine: StateMachine<
|
|
|
1332
1344
|
| ({
|
|
1333
1345
|
type: 'serialization.failure'
|
|
1334
1346
|
mimeType: `${string}/${string}`
|
|
1347
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1335
1348
|
reason: string
|
|
1336
1349
|
} & {
|
|
1337
1350
|
dataTransfer: DataTransfer
|
|
@@ -1340,7 +1353,7 @@ declare const editorMachine: StateMachine<
|
|
|
1340
1353
|
type: 'serialization.success'
|
|
1341
1354
|
data: string
|
|
1342
1355
|
mimeType: `${string}/${string}`
|
|
1343
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
1356
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1344
1357
|
} & {
|
|
1345
1358
|
dataTransfer: DataTransfer
|
|
1346
1359
|
})
|
|
@@ -1529,7 +1542,10 @@ declare const editorMachine: StateMachine<
|
|
|
1529
1542
|
| {
|
|
1530
1543
|
type: 'decorator.add'
|
|
1531
1544
|
decorator: string
|
|
1532
|
-
|
|
1545
|
+
offsets?: {
|
|
1546
|
+
anchor: BlockOffset_2
|
|
1547
|
+
focus: BlockOffset_2
|
|
1548
|
+
}
|
|
1533
1549
|
}
|
|
1534
1550
|
| {
|
|
1535
1551
|
type: 'decorator.remove'
|
|
@@ -1676,6 +1692,7 @@ declare const editorMachine: StateMachine<
|
|
|
1676
1692
|
| ({
|
|
1677
1693
|
type: 'serialization.failure'
|
|
1678
1694
|
mimeType: `${string}/${string}`
|
|
1695
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1679
1696
|
reason: string
|
|
1680
1697
|
} & {
|
|
1681
1698
|
dataTransfer: DataTransfer
|
|
@@ -1684,7 +1701,7 @@ declare const editorMachine: StateMachine<
|
|
|
1684
1701
|
type: 'serialization.success'
|
|
1685
1702
|
data: string
|
|
1686
1703
|
mimeType: `${string}/${string}`
|
|
1687
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
1704
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
1688
1705
|
} & {
|
|
1689
1706
|
dataTransfer: DataTransfer
|
|
1690
1707
|
})
|
|
@@ -1897,7 +1914,10 @@ declare const editorMachine: StateMachine<
|
|
|
1897
1914
|
| {
|
|
1898
1915
|
type: 'decorator.add'
|
|
1899
1916
|
decorator: string
|
|
1900
|
-
|
|
1917
|
+
offsets?: {
|
|
1918
|
+
anchor: BlockOffset_2
|
|
1919
|
+
focus: BlockOffset_2
|
|
1920
|
+
}
|
|
1901
1921
|
}
|
|
1902
1922
|
| {
|
|
1903
1923
|
type: 'decorator.remove'
|
|
@@ -2044,6 +2064,7 @@ declare const editorMachine: StateMachine<
|
|
|
2044
2064
|
| ({
|
|
2045
2065
|
type: 'serialization.failure'
|
|
2046
2066
|
mimeType: `${string}/${string}`
|
|
2067
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2047
2068
|
reason: string
|
|
2048
2069
|
} & {
|
|
2049
2070
|
dataTransfer: DataTransfer
|
|
@@ -2052,7 +2073,7 @@ declare const editorMachine: StateMachine<
|
|
|
2052
2073
|
type: 'serialization.success'
|
|
2053
2074
|
data: string
|
|
2054
2075
|
mimeType: `${string}/${string}`
|
|
2055
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
2076
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2056
2077
|
} & {
|
|
2057
2078
|
dataTransfer: DataTransfer
|
|
2058
2079
|
})
|
|
@@ -2239,7 +2260,10 @@ declare const editorMachine: StateMachine<
|
|
|
2239
2260
|
| {
|
|
2240
2261
|
type: 'decorator.add'
|
|
2241
2262
|
decorator: string
|
|
2242
|
-
|
|
2263
|
+
offsets?: {
|
|
2264
|
+
anchor: BlockOffset_2
|
|
2265
|
+
focus: BlockOffset_2
|
|
2266
|
+
}
|
|
2243
2267
|
}
|
|
2244
2268
|
| {
|
|
2245
2269
|
type: 'decorator.remove'
|
|
@@ -2386,6 +2410,7 @@ declare const editorMachine: StateMachine<
|
|
|
2386
2410
|
| ({
|
|
2387
2411
|
type: 'serialization.failure'
|
|
2388
2412
|
mimeType: `${string}/${string}`
|
|
2413
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2389
2414
|
reason: string
|
|
2390
2415
|
} & {
|
|
2391
2416
|
dataTransfer: DataTransfer
|
|
@@ -2394,7 +2419,7 @@ declare const editorMachine: StateMachine<
|
|
|
2394
2419
|
type: 'serialization.success'
|
|
2395
2420
|
data: string
|
|
2396
2421
|
mimeType: `${string}/${string}`
|
|
2397
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
2422
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2398
2423
|
} & {
|
|
2399
2424
|
dataTransfer: DataTransfer
|
|
2400
2425
|
})
|
|
@@ -2526,7 +2551,10 @@ declare const editorMachine: StateMachine<
|
|
|
2526
2551
|
| {
|
|
2527
2552
|
type: 'decorator.add'
|
|
2528
2553
|
decorator: string
|
|
2529
|
-
|
|
2554
|
+
offsets?: {
|
|
2555
|
+
anchor: BlockOffset_2
|
|
2556
|
+
focus: BlockOffset_2
|
|
2557
|
+
}
|
|
2530
2558
|
}
|
|
2531
2559
|
| {
|
|
2532
2560
|
type: 'decorator.remove'
|
|
@@ -2673,6 +2701,7 @@ declare const editorMachine: StateMachine<
|
|
|
2673
2701
|
| ({
|
|
2674
2702
|
type: 'serialization.failure'
|
|
2675
2703
|
mimeType: `${string}/${string}`
|
|
2704
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2676
2705
|
reason: string
|
|
2677
2706
|
} & {
|
|
2678
2707
|
dataTransfer: DataTransfer
|
|
@@ -2681,7 +2710,7 @@ declare const editorMachine: StateMachine<
|
|
|
2681
2710
|
type: 'serialization.success'
|
|
2682
2711
|
data: string
|
|
2683
2712
|
mimeType: `${string}/${string}`
|
|
2684
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
2713
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
2685
2714
|
} & {
|
|
2686
2715
|
dataTransfer: DataTransfer
|
|
2687
2716
|
})
|
|
@@ -2868,7 +2897,10 @@ declare const editorMachine: StateMachine<
|
|
|
2868
2897
|
| {
|
|
2869
2898
|
type: 'decorator.add'
|
|
2870
2899
|
decorator: string
|
|
2871
|
-
|
|
2900
|
+
offsets?: {
|
|
2901
|
+
anchor: BlockOffset_2
|
|
2902
|
+
focus: BlockOffset_2
|
|
2903
|
+
}
|
|
2872
2904
|
}
|
|
2873
2905
|
| {
|
|
2874
2906
|
type: 'decorator.remove'
|
|
@@ -3015,6 +3047,7 @@ declare const editorMachine: StateMachine<
|
|
|
3015
3047
|
| ({
|
|
3016
3048
|
type: 'serialization.failure'
|
|
3017
3049
|
mimeType: `${string}/${string}`
|
|
3050
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3018
3051
|
reason: string
|
|
3019
3052
|
} & {
|
|
3020
3053
|
dataTransfer: DataTransfer
|
|
@@ -3023,7 +3056,7 @@ declare const editorMachine: StateMachine<
|
|
|
3023
3056
|
type: 'serialization.success'
|
|
3024
3057
|
data: string
|
|
3025
3058
|
mimeType: `${string}/${string}`
|
|
3026
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
3059
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3027
3060
|
} & {
|
|
3028
3061
|
dataTransfer: DataTransfer
|
|
3029
3062
|
})
|
|
@@ -3158,7 +3191,10 @@ declare const editorMachine: StateMachine<
|
|
|
3158
3191
|
| {
|
|
3159
3192
|
type: 'decorator.add'
|
|
3160
3193
|
decorator: string
|
|
3161
|
-
|
|
3194
|
+
offsets?: {
|
|
3195
|
+
anchor: BlockOffset_2
|
|
3196
|
+
focus: BlockOffset_2
|
|
3197
|
+
}
|
|
3162
3198
|
}
|
|
3163
3199
|
| {
|
|
3164
3200
|
type: 'decorator.remove'
|
|
@@ -3305,6 +3341,7 @@ declare const editorMachine: StateMachine<
|
|
|
3305
3341
|
| ({
|
|
3306
3342
|
type: 'serialization.failure'
|
|
3307
3343
|
mimeType: `${string}/${string}`
|
|
3344
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3308
3345
|
reason: string
|
|
3309
3346
|
} & {
|
|
3310
3347
|
dataTransfer: DataTransfer
|
|
@@ -3313,7 +3350,7 @@ declare const editorMachine: StateMachine<
|
|
|
3313
3350
|
type: 'serialization.success'
|
|
3314
3351
|
data: string
|
|
3315
3352
|
mimeType: `${string}/${string}`
|
|
3316
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
3353
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3317
3354
|
} & {
|
|
3318
3355
|
dataTransfer: DataTransfer
|
|
3319
3356
|
})
|
|
@@ -3500,7 +3537,10 @@ declare const editorMachine: StateMachine<
|
|
|
3500
3537
|
| {
|
|
3501
3538
|
type: 'decorator.add'
|
|
3502
3539
|
decorator: string
|
|
3503
|
-
|
|
3540
|
+
offsets?: {
|
|
3541
|
+
anchor: BlockOffset_2
|
|
3542
|
+
focus: BlockOffset_2
|
|
3543
|
+
}
|
|
3504
3544
|
}
|
|
3505
3545
|
| {
|
|
3506
3546
|
type: 'decorator.remove'
|
|
@@ -3647,6 +3687,7 @@ declare const editorMachine: StateMachine<
|
|
|
3647
3687
|
| ({
|
|
3648
3688
|
type: 'serialization.failure'
|
|
3649
3689
|
mimeType: `${string}/${string}`
|
|
3690
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3650
3691
|
reason: string
|
|
3651
3692
|
} & {
|
|
3652
3693
|
dataTransfer: DataTransfer
|
|
@@ -3655,7 +3696,7 @@ declare const editorMachine: StateMachine<
|
|
|
3655
3696
|
type: 'serialization.success'
|
|
3656
3697
|
data: string
|
|
3657
3698
|
mimeType: `${string}/${string}`
|
|
3658
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
3699
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3659
3700
|
} & {
|
|
3660
3701
|
dataTransfer: DataTransfer
|
|
3661
3702
|
})
|
|
@@ -3789,7 +3830,10 @@ declare const editorMachine: StateMachine<
|
|
|
3789
3830
|
| {
|
|
3790
3831
|
type: 'decorator.add'
|
|
3791
3832
|
decorator: string
|
|
3792
|
-
|
|
3833
|
+
offsets?: {
|
|
3834
|
+
anchor: BlockOffset_2
|
|
3835
|
+
focus: BlockOffset_2
|
|
3836
|
+
}
|
|
3793
3837
|
}
|
|
3794
3838
|
| {
|
|
3795
3839
|
type: 'decorator.remove'
|
|
@@ -3936,6 +3980,7 @@ declare const editorMachine: StateMachine<
|
|
|
3936
3980
|
| ({
|
|
3937
3981
|
type: 'serialization.failure'
|
|
3938
3982
|
mimeType: `${string}/${string}`
|
|
3983
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3939
3984
|
reason: string
|
|
3940
3985
|
} & {
|
|
3941
3986
|
dataTransfer: DataTransfer
|
|
@@ -3944,7 +3989,7 @@ declare const editorMachine: StateMachine<
|
|
|
3944
3989
|
type: 'serialization.success'
|
|
3945
3990
|
data: string
|
|
3946
3991
|
mimeType: `${string}/${string}`
|
|
3947
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
3992
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
3948
3993
|
} & {
|
|
3949
3994
|
dataTransfer: DataTransfer
|
|
3950
3995
|
})
|
|
@@ -4131,7 +4176,10 @@ declare const editorMachine: StateMachine<
|
|
|
4131
4176
|
| {
|
|
4132
4177
|
type: 'decorator.add'
|
|
4133
4178
|
decorator: string
|
|
4134
|
-
|
|
4179
|
+
offsets?: {
|
|
4180
|
+
anchor: BlockOffset_2
|
|
4181
|
+
focus: BlockOffset_2
|
|
4182
|
+
}
|
|
4135
4183
|
}
|
|
4136
4184
|
| {
|
|
4137
4185
|
type: 'decorator.remove'
|
|
@@ -4278,6 +4326,7 @@ declare const editorMachine: StateMachine<
|
|
|
4278
4326
|
| ({
|
|
4279
4327
|
type: 'serialization.failure'
|
|
4280
4328
|
mimeType: `${string}/${string}`
|
|
4329
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4281
4330
|
reason: string
|
|
4282
4331
|
} & {
|
|
4283
4332
|
dataTransfer: DataTransfer
|
|
@@ -4286,7 +4335,7 @@ declare const editorMachine: StateMachine<
|
|
|
4286
4335
|
type: 'serialization.success'
|
|
4287
4336
|
data: string
|
|
4288
4337
|
mimeType: `${string}/${string}`
|
|
4289
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
4338
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4290
4339
|
} & {
|
|
4291
4340
|
dataTransfer: DataTransfer
|
|
4292
4341
|
})
|
|
@@ -4419,7 +4468,10 @@ declare const editorMachine: StateMachine<
|
|
|
4419
4468
|
| {
|
|
4420
4469
|
type: 'decorator.add'
|
|
4421
4470
|
decorator: string
|
|
4422
|
-
|
|
4471
|
+
offsets?: {
|
|
4472
|
+
anchor: BlockOffset_2
|
|
4473
|
+
focus: BlockOffset_2
|
|
4474
|
+
}
|
|
4423
4475
|
}
|
|
4424
4476
|
| {
|
|
4425
4477
|
type: 'decorator.remove'
|
|
@@ -4566,6 +4618,7 @@ declare const editorMachine: StateMachine<
|
|
|
4566
4618
|
| ({
|
|
4567
4619
|
type: 'serialization.failure'
|
|
4568
4620
|
mimeType: `${string}/${string}`
|
|
4621
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4569
4622
|
reason: string
|
|
4570
4623
|
} & {
|
|
4571
4624
|
dataTransfer: DataTransfer
|
|
@@ -4574,7 +4627,7 @@ declare const editorMachine: StateMachine<
|
|
|
4574
4627
|
type: 'serialization.success'
|
|
4575
4628
|
data: string
|
|
4576
4629
|
mimeType: `${string}/${string}`
|
|
4577
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
4630
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4578
4631
|
} & {
|
|
4579
4632
|
dataTransfer: DataTransfer
|
|
4580
4633
|
})
|
|
@@ -4761,7 +4814,10 @@ declare const editorMachine: StateMachine<
|
|
|
4761
4814
|
| {
|
|
4762
4815
|
type: 'decorator.add'
|
|
4763
4816
|
decorator: string
|
|
4764
|
-
|
|
4817
|
+
offsets?: {
|
|
4818
|
+
anchor: BlockOffset_2
|
|
4819
|
+
focus: BlockOffset_2
|
|
4820
|
+
}
|
|
4765
4821
|
}
|
|
4766
4822
|
| {
|
|
4767
4823
|
type: 'decorator.remove'
|
|
@@ -4908,6 +4964,7 @@ declare const editorMachine: StateMachine<
|
|
|
4908
4964
|
| ({
|
|
4909
4965
|
type: 'serialization.failure'
|
|
4910
4966
|
mimeType: `${string}/${string}`
|
|
4967
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4911
4968
|
reason: string
|
|
4912
4969
|
} & {
|
|
4913
4970
|
dataTransfer: DataTransfer
|
|
@@ -4916,7 +4973,7 @@ declare const editorMachine: StateMachine<
|
|
|
4916
4973
|
type: 'serialization.success'
|
|
4917
4974
|
data: string
|
|
4918
4975
|
mimeType: `${string}/${string}`
|
|
4919
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
4976
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
4920
4977
|
} & {
|
|
4921
4978
|
dataTransfer: DataTransfer
|
|
4922
4979
|
})
|
|
@@ -5050,7 +5107,10 @@ declare const editorMachine: StateMachine<
|
|
|
5050
5107
|
| {
|
|
5051
5108
|
type: 'decorator.add'
|
|
5052
5109
|
decorator: string
|
|
5053
|
-
|
|
5110
|
+
offsets?: {
|
|
5111
|
+
anchor: BlockOffset_2
|
|
5112
|
+
focus: BlockOffset_2
|
|
5113
|
+
}
|
|
5054
5114
|
}
|
|
5055
5115
|
| {
|
|
5056
5116
|
type: 'decorator.remove'
|
|
@@ -5197,6 +5257,7 @@ declare const editorMachine: StateMachine<
|
|
|
5197
5257
|
| ({
|
|
5198
5258
|
type: 'serialization.failure'
|
|
5199
5259
|
mimeType: `${string}/${string}`
|
|
5260
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5200
5261
|
reason: string
|
|
5201
5262
|
} & {
|
|
5202
5263
|
dataTransfer: DataTransfer
|
|
@@ -5205,7 +5266,7 @@ declare const editorMachine: StateMachine<
|
|
|
5205
5266
|
type: 'serialization.success'
|
|
5206
5267
|
data: string
|
|
5207
5268
|
mimeType: `${string}/${string}`
|
|
5208
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
5269
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5209
5270
|
} & {
|
|
5210
5271
|
dataTransfer: DataTransfer
|
|
5211
5272
|
})
|
|
@@ -5410,7 +5471,10 @@ declare const editorMachine: StateMachine<
|
|
|
5410
5471
|
| {
|
|
5411
5472
|
type: 'decorator.add'
|
|
5412
5473
|
decorator: string
|
|
5413
|
-
|
|
5474
|
+
offsets?: {
|
|
5475
|
+
anchor: BlockOffset_2
|
|
5476
|
+
focus: BlockOffset_2
|
|
5477
|
+
}
|
|
5414
5478
|
}
|
|
5415
5479
|
| {
|
|
5416
5480
|
type: 'decorator.remove'
|
|
@@ -5557,6 +5621,7 @@ declare const editorMachine: StateMachine<
|
|
|
5557
5621
|
| ({
|
|
5558
5622
|
type: 'serialization.failure'
|
|
5559
5623
|
mimeType: `${string}/${string}`
|
|
5624
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5560
5625
|
reason: string
|
|
5561
5626
|
} & {
|
|
5562
5627
|
dataTransfer: DataTransfer
|
|
@@ -5565,7 +5630,7 @@ declare const editorMachine: StateMachine<
|
|
|
5565
5630
|
type: 'serialization.success'
|
|
5566
5631
|
data: string
|
|
5567
5632
|
mimeType: `${string}/${string}`
|
|
5568
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
5633
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5569
5634
|
} & {
|
|
5570
5635
|
dataTransfer: DataTransfer
|
|
5571
5636
|
})
|
|
@@ -5752,7 +5817,10 @@ declare const editorMachine: StateMachine<
|
|
|
5752
5817
|
| {
|
|
5753
5818
|
type: 'decorator.add'
|
|
5754
5819
|
decorator: string
|
|
5755
|
-
|
|
5820
|
+
offsets?: {
|
|
5821
|
+
anchor: BlockOffset_2
|
|
5822
|
+
focus: BlockOffset_2
|
|
5823
|
+
}
|
|
5756
5824
|
}
|
|
5757
5825
|
| {
|
|
5758
5826
|
type: 'decorator.remove'
|
|
@@ -5899,6 +5967,7 @@ declare const editorMachine: StateMachine<
|
|
|
5899
5967
|
| ({
|
|
5900
5968
|
type: 'serialization.failure'
|
|
5901
5969
|
mimeType: `${string}/${string}`
|
|
5970
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5902
5971
|
reason: string
|
|
5903
5972
|
} & {
|
|
5904
5973
|
dataTransfer: DataTransfer
|
|
@@ -5907,7 +5976,7 @@ declare const editorMachine: StateMachine<
|
|
|
5907
5976
|
type: 'serialization.success'
|
|
5908
5977
|
data: string
|
|
5909
5978
|
mimeType: `${string}/${string}`
|
|
5910
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
5979
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
5911
5980
|
} & {
|
|
5912
5981
|
dataTransfer: DataTransfer
|
|
5913
5982
|
})
|
|
@@ -6041,7 +6110,10 @@ declare const editorMachine: StateMachine<
|
|
|
6041
6110
|
| {
|
|
6042
6111
|
type: 'decorator.add'
|
|
6043
6112
|
decorator: string
|
|
6044
|
-
|
|
6113
|
+
offsets?: {
|
|
6114
|
+
anchor: BlockOffset_2
|
|
6115
|
+
focus: BlockOffset_2
|
|
6116
|
+
}
|
|
6045
6117
|
}
|
|
6046
6118
|
| {
|
|
6047
6119
|
type: 'decorator.remove'
|
|
@@ -6188,6 +6260,7 @@ declare const editorMachine: StateMachine<
|
|
|
6188
6260
|
| ({
|
|
6189
6261
|
type: 'serialization.failure'
|
|
6190
6262
|
mimeType: `${string}/${string}`
|
|
6263
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6191
6264
|
reason: string
|
|
6192
6265
|
} & {
|
|
6193
6266
|
dataTransfer: DataTransfer
|
|
@@ -6196,7 +6269,7 @@ declare const editorMachine: StateMachine<
|
|
|
6196
6269
|
type: 'serialization.success'
|
|
6197
6270
|
data: string
|
|
6198
6271
|
mimeType: `${string}/${string}`
|
|
6199
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
6272
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6200
6273
|
} & {
|
|
6201
6274
|
dataTransfer: DataTransfer
|
|
6202
6275
|
})
|
|
@@ -6383,7 +6456,10 @@ declare const editorMachine: StateMachine<
|
|
|
6383
6456
|
| {
|
|
6384
6457
|
type: 'decorator.add'
|
|
6385
6458
|
decorator: string
|
|
6386
|
-
|
|
6459
|
+
offsets?: {
|
|
6460
|
+
anchor: BlockOffset_2
|
|
6461
|
+
focus: BlockOffset_2
|
|
6462
|
+
}
|
|
6387
6463
|
}
|
|
6388
6464
|
| {
|
|
6389
6465
|
type: 'decorator.remove'
|
|
@@ -6530,6 +6606,7 @@ declare const editorMachine: StateMachine<
|
|
|
6530
6606
|
| ({
|
|
6531
6607
|
type: 'serialization.failure'
|
|
6532
6608
|
mimeType: `${string}/${string}`
|
|
6609
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6533
6610
|
reason: string
|
|
6534
6611
|
} & {
|
|
6535
6612
|
dataTransfer: DataTransfer
|
|
@@ -6538,7 +6615,7 @@ declare const editorMachine: StateMachine<
|
|
|
6538
6615
|
type: 'serialization.success'
|
|
6539
6616
|
data: string
|
|
6540
6617
|
mimeType: `${string}/${string}`
|
|
6541
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
6618
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6542
6619
|
} & {
|
|
6543
6620
|
dataTransfer: DataTransfer
|
|
6544
6621
|
})
|
|
@@ -6670,7 +6747,10 @@ declare const editorMachine: StateMachine<
|
|
|
6670
6747
|
| {
|
|
6671
6748
|
type: 'decorator.add'
|
|
6672
6749
|
decorator: string
|
|
6673
|
-
|
|
6750
|
+
offsets?: {
|
|
6751
|
+
anchor: BlockOffset_2
|
|
6752
|
+
focus: BlockOffset_2
|
|
6753
|
+
}
|
|
6674
6754
|
}
|
|
6675
6755
|
| {
|
|
6676
6756
|
type: 'decorator.remove'
|
|
@@ -6817,6 +6897,7 @@ declare const editorMachine: StateMachine<
|
|
|
6817
6897
|
| ({
|
|
6818
6898
|
type: 'serialization.failure'
|
|
6819
6899
|
mimeType: `${string}/${string}`
|
|
6900
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6820
6901
|
reason: string
|
|
6821
6902
|
} & {
|
|
6822
6903
|
dataTransfer: DataTransfer
|
|
@@ -6825,7 +6906,7 @@ declare const editorMachine: StateMachine<
|
|
|
6825
6906
|
type: 'serialization.success'
|
|
6826
6907
|
data: string
|
|
6827
6908
|
mimeType: `${string}/${string}`
|
|
6828
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
6909
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
6829
6910
|
} & {
|
|
6830
6911
|
dataTransfer: DataTransfer
|
|
6831
6912
|
})
|
|
@@ -7012,7 +7093,10 @@ declare const editorMachine: StateMachine<
|
|
|
7012
7093
|
| {
|
|
7013
7094
|
type: 'decorator.add'
|
|
7014
7095
|
decorator: string
|
|
7015
|
-
|
|
7096
|
+
offsets?: {
|
|
7097
|
+
anchor: BlockOffset_2
|
|
7098
|
+
focus: BlockOffset_2
|
|
7099
|
+
}
|
|
7016
7100
|
}
|
|
7017
7101
|
| {
|
|
7018
7102
|
type: 'decorator.remove'
|
|
@@ -7159,6 +7243,7 @@ declare const editorMachine: StateMachine<
|
|
|
7159
7243
|
| ({
|
|
7160
7244
|
type: 'serialization.failure'
|
|
7161
7245
|
mimeType: `${string}/${string}`
|
|
7246
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7162
7247
|
reason: string
|
|
7163
7248
|
} & {
|
|
7164
7249
|
dataTransfer: DataTransfer
|
|
@@ -7167,7 +7252,7 @@ declare const editorMachine: StateMachine<
|
|
|
7167
7252
|
type: 'serialization.success'
|
|
7168
7253
|
data: string
|
|
7169
7254
|
mimeType: `${string}/${string}`
|
|
7170
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
7255
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7171
7256
|
} & {
|
|
7172
7257
|
dataTransfer: DataTransfer
|
|
7173
7258
|
})
|
|
@@ -7300,7 +7385,10 @@ declare const editorMachine: StateMachine<
|
|
|
7300
7385
|
| {
|
|
7301
7386
|
type: 'decorator.add'
|
|
7302
7387
|
decorator: string
|
|
7303
|
-
|
|
7388
|
+
offsets?: {
|
|
7389
|
+
anchor: BlockOffset_2
|
|
7390
|
+
focus: BlockOffset_2
|
|
7391
|
+
}
|
|
7304
7392
|
}
|
|
7305
7393
|
| {
|
|
7306
7394
|
type: 'decorator.remove'
|
|
@@ -7447,6 +7535,7 @@ declare const editorMachine: StateMachine<
|
|
|
7447
7535
|
| ({
|
|
7448
7536
|
type: 'serialization.failure'
|
|
7449
7537
|
mimeType: `${string}/${string}`
|
|
7538
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7450
7539
|
reason: string
|
|
7451
7540
|
} & {
|
|
7452
7541
|
dataTransfer: DataTransfer
|
|
@@ -7455,7 +7544,7 @@ declare const editorMachine: StateMachine<
|
|
|
7455
7544
|
type: 'serialization.success'
|
|
7456
7545
|
data: string
|
|
7457
7546
|
mimeType: `${string}/${string}`
|
|
7458
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
7547
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7459
7548
|
} & {
|
|
7460
7549
|
dataTransfer: DataTransfer
|
|
7461
7550
|
})
|
|
@@ -7642,7 +7731,10 @@ declare const editorMachine: StateMachine<
|
|
|
7642
7731
|
| {
|
|
7643
7732
|
type: 'decorator.add'
|
|
7644
7733
|
decorator: string
|
|
7645
|
-
|
|
7734
|
+
offsets?: {
|
|
7735
|
+
anchor: BlockOffset_2
|
|
7736
|
+
focus: BlockOffset_2
|
|
7737
|
+
}
|
|
7646
7738
|
}
|
|
7647
7739
|
| {
|
|
7648
7740
|
type: 'decorator.remove'
|
|
@@ -7789,6 +7881,7 @@ declare const editorMachine: StateMachine<
|
|
|
7789
7881
|
| ({
|
|
7790
7882
|
type: 'serialization.failure'
|
|
7791
7883
|
mimeType: `${string}/${string}`
|
|
7884
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7792
7885
|
reason: string
|
|
7793
7886
|
} & {
|
|
7794
7887
|
dataTransfer: DataTransfer
|
|
@@ -7797,7 +7890,7 @@ declare const editorMachine: StateMachine<
|
|
|
7797
7890
|
type: 'serialization.success'
|
|
7798
7891
|
data: string
|
|
7799
7892
|
mimeType: `${string}/${string}`
|
|
7800
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
7893
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
7801
7894
|
} & {
|
|
7802
7895
|
dataTransfer: DataTransfer
|
|
7803
7896
|
})
|
|
@@ -7933,7 +8026,10 @@ declare const editorMachine: StateMachine<
|
|
|
7933
8026
|
| {
|
|
7934
8027
|
type: 'decorator.add'
|
|
7935
8028
|
decorator: string
|
|
7936
|
-
|
|
8029
|
+
offsets?: {
|
|
8030
|
+
anchor: BlockOffset_2
|
|
8031
|
+
focus: BlockOffset_2
|
|
8032
|
+
}
|
|
7937
8033
|
}
|
|
7938
8034
|
| {
|
|
7939
8035
|
type: 'decorator.remove'
|
|
@@ -8080,6 +8176,7 @@ declare const editorMachine: StateMachine<
|
|
|
8080
8176
|
| ({
|
|
8081
8177
|
type: 'serialization.failure'
|
|
8082
8178
|
mimeType: `${string}/${string}`
|
|
8179
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8083
8180
|
reason: string
|
|
8084
8181
|
} & {
|
|
8085
8182
|
dataTransfer: DataTransfer
|
|
@@ -8088,7 +8185,7 @@ declare const editorMachine: StateMachine<
|
|
|
8088
8185
|
type: 'serialization.success'
|
|
8089
8186
|
data: string
|
|
8090
8187
|
mimeType: `${string}/${string}`
|
|
8091
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
8188
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8092
8189
|
} & {
|
|
8093
8190
|
dataTransfer: DataTransfer
|
|
8094
8191
|
})
|
|
@@ -8275,7 +8372,10 @@ declare const editorMachine: StateMachine<
|
|
|
8275
8372
|
| {
|
|
8276
8373
|
type: 'decorator.add'
|
|
8277
8374
|
decorator: string
|
|
8278
|
-
|
|
8375
|
+
offsets?: {
|
|
8376
|
+
anchor: BlockOffset_2
|
|
8377
|
+
focus: BlockOffset_2
|
|
8378
|
+
}
|
|
8279
8379
|
}
|
|
8280
8380
|
| {
|
|
8281
8381
|
type: 'decorator.remove'
|
|
@@ -8422,6 +8522,7 @@ declare const editorMachine: StateMachine<
|
|
|
8422
8522
|
| ({
|
|
8423
8523
|
type: 'serialization.failure'
|
|
8424
8524
|
mimeType: `${string}/${string}`
|
|
8525
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8425
8526
|
reason: string
|
|
8426
8527
|
} & {
|
|
8427
8528
|
dataTransfer: DataTransfer
|
|
@@ -8430,7 +8531,7 @@ declare const editorMachine: StateMachine<
|
|
|
8430
8531
|
type: 'serialization.success'
|
|
8431
8532
|
data: string
|
|
8432
8533
|
mimeType: `${string}/${string}`
|
|
8433
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
8534
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8434
8535
|
} & {
|
|
8435
8536
|
dataTransfer: DataTransfer
|
|
8436
8537
|
})
|
|
@@ -8566,7 +8667,10 @@ declare const editorMachine: StateMachine<
|
|
|
8566
8667
|
| {
|
|
8567
8668
|
type: 'decorator.add'
|
|
8568
8669
|
decorator: string
|
|
8569
|
-
|
|
8670
|
+
offsets?: {
|
|
8671
|
+
anchor: BlockOffset_2
|
|
8672
|
+
focus: BlockOffset_2
|
|
8673
|
+
}
|
|
8570
8674
|
}
|
|
8571
8675
|
| {
|
|
8572
8676
|
type: 'decorator.remove'
|
|
@@ -8713,6 +8817,7 @@ declare const editorMachine: StateMachine<
|
|
|
8713
8817
|
| ({
|
|
8714
8818
|
type: 'serialization.failure'
|
|
8715
8819
|
mimeType: `${string}/${string}`
|
|
8820
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8716
8821
|
reason: string
|
|
8717
8822
|
} & {
|
|
8718
8823
|
dataTransfer: DataTransfer
|
|
@@ -8721,7 +8826,7 @@ declare const editorMachine: StateMachine<
|
|
|
8721
8826
|
type: 'serialization.success'
|
|
8722
8827
|
data: string
|
|
8723
8828
|
mimeType: `${string}/${string}`
|
|
8724
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
8829
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
8725
8830
|
} & {
|
|
8726
8831
|
dataTransfer: DataTransfer
|
|
8727
8832
|
})
|
|
@@ -8931,7 +9036,10 @@ declare const editorMachine: StateMachine<
|
|
|
8931
9036
|
| {
|
|
8932
9037
|
type: 'decorator.add'
|
|
8933
9038
|
decorator: string
|
|
8934
|
-
|
|
9039
|
+
offsets?: {
|
|
9040
|
+
anchor: BlockOffset_2
|
|
9041
|
+
focus: BlockOffset_2
|
|
9042
|
+
}
|
|
8935
9043
|
}
|
|
8936
9044
|
| {
|
|
8937
9045
|
type: 'decorator.remove'
|
|
@@ -9078,6 +9186,7 @@ declare const editorMachine: StateMachine<
|
|
|
9078
9186
|
| ({
|
|
9079
9187
|
type: 'serialization.failure'
|
|
9080
9188
|
mimeType: `${string}/${string}`
|
|
9189
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
9081
9190
|
reason: string
|
|
9082
9191
|
} & {
|
|
9083
9192
|
dataTransfer: DataTransfer
|
|
@@ -9086,7 +9195,7 @@ declare const editorMachine: StateMachine<
|
|
|
9086
9195
|
type: 'serialization.success'
|
|
9087
9196
|
data: string
|
|
9088
9197
|
mimeType: `${string}/${string}`
|
|
9089
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
9198
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
9090
9199
|
} & {
|
|
9091
9200
|
dataTransfer: DataTransfer
|
|
9092
9201
|
})
|
|
@@ -9293,7 +9402,10 @@ declare const editorMachine: StateMachine<
|
|
|
9293
9402
|
| {
|
|
9294
9403
|
type: 'decorator.add'
|
|
9295
9404
|
decorator: string
|
|
9296
|
-
|
|
9405
|
+
offsets?: {
|
|
9406
|
+
anchor: BlockOffset_2
|
|
9407
|
+
focus: BlockOffset_2
|
|
9408
|
+
}
|
|
9297
9409
|
}
|
|
9298
9410
|
| {
|
|
9299
9411
|
type: 'decorator.remove'
|
|
@@ -9440,6 +9552,7 @@ declare const editorMachine: StateMachine<
|
|
|
9440
9552
|
| ({
|
|
9441
9553
|
type: 'serialization.failure'
|
|
9442
9554
|
mimeType: `${string}/${string}`
|
|
9555
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
9443
9556
|
reason: string
|
|
9444
9557
|
} & {
|
|
9445
9558
|
dataTransfer: DataTransfer
|
|
@@ -9448,7 +9561,7 @@ declare const editorMachine: StateMachine<
|
|
|
9448
9561
|
type: 'serialization.success'
|
|
9449
9562
|
data: string
|
|
9450
9563
|
mimeType: `${string}/${string}`
|
|
9451
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
9564
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
9452
9565
|
} & {
|
|
9453
9566
|
dataTransfer: DataTransfer
|
|
9454
9567
|
})
|
|
@@ -9803,7 +9916,10 @@ declare const editorMachine: StateMachine<
|
|
|
9803
9916
|
| {
|
|
9804
9917
|
type: 'decorator.add'
|
|
9805
9918
|
decorator: string
|
|
9806
|
-
|
|
9919
|
+
offsets?: {
|
|
9920
|
+
anchor: BlockOffset_2
|
|
9921
|
+
focus: BlockOffset_2
|
|
9922
|
+
}
|
|
9807
9923
|
}
|
|
9808
9924
|
| {
|
|
9809
9925
|
type: 'decorator.remove'
|
|
@@ -9950,6 +10066,7 @@ declare const editorMachine: StateMachine<
|
|
|
9950
10066
|
| ({
|
|
9951
10067
|
type: 'serialization.failure'
|
|
9952
10068
|
mimeType: `${string}/${string}`
|
|
10069
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
9953
10070
|
reason: string
|
|
9954
10071
|
} & {
|
|
9955
10072
|
dataTransfer: DataTransfer
|
|
@@ -9958,7 +10075,7 @@ declare const editorMachine: StateMachine<
|
|
|
9958
10075
|
type: 'serialization.success'
|
|
9959
10076
|
data: string
|
|
9960
10077
|
mimeType: `${string}/${string}`
|
|
9961
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
10078
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
9962
10079
|
} & {
|
|
9963
10080
|
dataTransfer: DataTransfer
|
|
9964
10081
|
})
|
|
@@ -10147,7 +10264,10 @@ declare const editorMachine: StateMachine<
|
|
|
10147
10264
|
| {
|
|
10148
10265
|
type: 'decorator.add'
|
|
10149
10266
|
decorator: string
|
|
10150
|
-
|
|
10267
|
+
offsets?: {
|
|
10268
|
+
anchor: BlockOffset_2
|
|
10269
|
+
focus: BlockOffset_2
|
|
10270
|
+
}
|
|
10151
10271
|
}
|
|
10152
10272
|
| {
|
|
10153
10273
|
type: 'decorator.remove'
|
|
@@ -10294,6 +10414,7 @@ declare const editorMachine: StateMachine<
|
|
|
10294
10414
|
| ({
|
|
10295
10415
|
type: 'serialization.failure'
|
|
10296
10416
|
mimeType: `${string}/${string}`
|
|
10417
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10297
10418
|
reason: string
|
|
10298
10419
|
} & {
|
|
10299
10420
|
dataTransfer: DataTransfer
|
|
@@ -10302,7 +10423,7 @@ declare const editorMachine: StateMachine<
|
|
|
10302
10423
|
type: 'serialization.success'
|
|
10303
10424
|
data: string
|
|
10304
10425
|
mimeType: `${string}/${string}`
|
|
10305
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
10426
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10306
10427
|
} & {
|
|
10307
10428
|
dataTransfer: DataTransfer
|
|
10308
10429
|
})
|
|
@@ -10441,7 +10562,10 @@ declare const editorMachine: StateMachine<
|
|
|
10441
10562
|
| {
|
|
10442
10563
|
type: 'decorator.add'
|
|
10443
10564
|
decorator: string
|
|
10444
|
-
|
|
10565
|
+
offsets?: {
|
|
10566
|
+
anchor: BlockOffset_2
|
|
10567
|
+
focus: BlockOffset_2
|
|
10568
|
+
}
|
|
10445
10569
|
}
|
|
10446
10570
|
| {
|
|
10447
10571
|
type: 'decorator.remove'
|
|
@@ -10588,6 +10712,7 @@ declare const editorMachine: StateMachine<
|
|
|
10588
10712
|
| ({
|
|
10589
10713
|
type: 'serialization.failure'
|
|
10590
10714
|
mimeType: `${string}/${string}`
|
|
10715
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10591
10716
|
reason: string
|
|
10592
10717
|
} & {
|
|
10593
10718
|
dataTransfer: DataTransfer
|
|
@@ -10596,7 +10721,7 @@ declare const editorMachine: StateMachine<
|
|
|
10596
10721
|
type: 'serialization.success'
|
|
10597
10722
|
data: string
|
|
10598
10723
|
mimeType: `${string}/${string}`
|
|
10599
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
10724
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10600
10725
|
} & {
|
|
10601
10726
|
dataTransfer: DataTransfer
|
|
10602
10727
|
})
|
|
@@ -10785,7 +10910,10 @@ declare const editorMachine: StateMachine<
|
|
|
10785
10910
|
| {
|
|
10786
10911
|
type: 'decorator.add'
|
|
10787
10912
|
decorator: string
|
|
10788
|
-
|
|
10913
|
+
offsets?: {
|
|
10914
|
+
anchor: BlockOffset_2
|
|
10915
|
+
focus: BlockOffset_2
|
|
10916
|
+
}
|
|
10789
10917
|
}
|
|
10790
10918
|
| {
|
|
10791
10919
|
type: 'decorator.remove'
|
|
@@ -10932,6 +11060,7 @@ declare const editorMachine: StateMachine<
|
|
|
10932
11060
|
| ({
|
|
10933
11061
|
type: 'serialization.failure'
|
|
10934
11062
|
mimeType: `${string}/${string}`
|
|
11063
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10935
11064
|
reason: string
|
|
10936
11065
|
} & {
|
|
10937
11066
|
dataTransfer: DataTransfer
|
|
@@ -10940,7 +11069,7 @@ declare const editorMachine: StateMachine<
|
|
|
10940
11069
|
type: 'serialization.success'
|
|
10941
11070
|
data: string
|
|
10942
11071
|
mimeType: `${string}/${string}`
|
|
10943
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
11072
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
10944
11073
|
} & {
|
|
10945
11074
|
dataTransfer: DataTransfer
|
|
10946
11075
|
})
|
|
@@ -11072,7 +11201,10 @@ declare const editorMachine: StateMachine<
|
|
|
11072
11201
|
| {
|
|
11073
11202
|
type: 'decorator.add'
|
|
11074
11203
|
decorator: string
|
|
11075
|
-
|
|
11204
|
+
offsets?: {
|
|
11205
|
+
anchor: BlockOffset_2
|
|
11206
|
+
focus: BlockOffset_2
|
|
11207
|
+
}
|
|
11076
11208
|
}
|
|
11077
11209
|
| {
|
|
11078
11210
|
type: 'decorator.remove'
|
|
@@ -11219,6 +11351,7 @@ declare const editorMachine: StateMachine<
|
|
|
11219
11351
|
| ({
|
|
11220
11352
|
type: 'serialization.failure'
|
|
11221
11353
|
mimeType: `${string}/${string}`
|
|
11354
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11222
11355
|
reason: string
|
|
11223
11356
|
} & {
|
|
11224
11357
|
dataTransfer: DataTransfer
|
|
@@ -11227,7 +11360,7 @@ declare const editorMachine: StateMachine<
|
|
|
11227
11360
|
type: 'serialization.success'
|
|
11228
11361
|
data: string
|
|
11229
11362
|
mimeType: `${string}/${string}`
|
|
11230
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
11363
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11231
11364
|
} & {
|
|
11232
11365
|
dataTransfer: DataTransfer
|
|
11233
11366
|
})
|
|
@@ -11416,7 +11549,10 @@ declare const editorMachine: StateMachine<
|
|
|
11416
11549
|
| {
|
|
11417
11550
|
type: 'decorator.add'
|
|
11418
11551
|
decorator: string
|
|
11419
|
-
|
|
11552
|
+
offsets?: {
|
|
11553
|
+
anchor: BlockOffset_2
|
|
11554
|
+
focus: BlockOffset_2
|
|
11555
|
+
}
|
|
11420
11556
|
}
|
|
11421
11557
|
| {
|
|
11422
11558
|
type: 'decorator.remove'
|
|
@@ -11563,6 +11699,7 @@ declare const editorMachine: StateMachine<
|
|
|
11563
11699
|
| ({
|
|
11564
11700
|
type: 'serialization.failure'
|
|
11565
11701
|
mimeType: `${string}/${string}`
|
|
11702
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11566
11703
|
reason: string
|
|
11567
11704
|
} & {
|
|
11568
11705
|
dataTransfer: DataTransfer
|
|
@@ -11571,7 +11708,7 @@ declare const editorMachine: StateMachine<
|
|
|
11571
11708
|
type: 'serialization.success'
|
|
11572
11709
|
data: string
|
|
11573
11710
|
mimeType: `${string}/${string}`
|
|
11574
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
11711
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11575
11712
|
} & {
|
|
11576
11713
|
dataTransfer: DataTransfer
|
|
11577
11714
|
})
|
|
@@ -11703,7 +11840,10 @@ declare const editorMachine: StateMachine<
|
|
|
11703
11840
|
| {
|
|
11704
11841
|
type: 'decorator.add'
|
|
11705
11842
|
decorator: string
|
|
11706
|
-
|
|
11843
|
+
offsets?: {
|
|
11844
|
+
anchor: BlockOffset_2
|
|
11845
|
+
focus: BlockOffset_2
|
|
11846
|
+
}
|
|
11707
11847
|
}
|
|
11708
11848
|
| {
|
|
11709
11849
|
type: 'decorator.remove'
|
|
@@ -11850,6 +11990,7 @@ declare const editorMachine: StateMachine<
|
|
|
11850
11990
|
| ({
|
|
11851
11991
|
type: 'serialization.failure'
|
|
11852
11992
|
mimeType: `${string}/${string}`
|
|
11993
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11853
11994
|
reason: string
|
|
11854
11995
|
} & {
|
|
11855
11996
|
dataTransfer: DataTransfer
|
|
@@ -11858,7 +11999,7 @@ declare const editorMachine: StateMachine<
|
|
|
11858
11999
|
type: 'serialization.success'
|
|
11859
12000
|
data: string
|
|
11860
12001
|
mimeType: `${string}/${string}`
|
|
11861
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
12002
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
11862
12003
|
} & {
|
|
11863
12004
|
dataTransfer: DataTransfer
|
|
11864
12005
|
})
|
|
@@ -12047,7 +12188,10 @@ declare const editorMachine: StateMachine<
|
|
|
12047
12188
|
| {
|
|
12048
12189
|
type: 'decorator.add'
|
|
12049
12190
|
decorator: string
|
|
12050
|
-
|
|
12191
|
+
offsets?: {
|
|
12192
|
+
anchor: BlockOffset_2
|
|
12193
|
+
focus: BlockOffset_2
|
|
12194
|
+
}
|
|
12051
12195
|
}
|
|
12052
12196
|
| {
|
|
12053
12197
|
type: 'decorator.remove'
|
|
@@ -12194,6 +12338,7 @@ declare const editorMachine: StateMachine<
|
|
|
12194
12338
|
| ({
|
|
12195
12339
|
type: 'serialization.failure'
|
|
12196
12340
|
mimeType: `${string}/${string}`
|
|
12341
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12197
12342
|
reason: string
|
|
12198
12343
|
} & {
|
|
12199
12344
|
dataTransfer: DataTransfer
|
|
@@ -12202,7 +12347,7 @@ declare const editorMachine: StateMachine<
|
|
|
12202
12347
|
type: 'serialization.success'
|
|
12203
12348
|
data: string
|
|
12204
12349
|
mimeType: `${string}/${string}`
|
|
12205
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
12350
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12206
12351
|
} & {
|
|
12207
12352
|
dataTransfer: DataTransfer
|
|
12208
12353
|
})
|
|
@@ -12288,7 +12433,10 @@ declare const editorMachine: StateMachine<
|
|
|
12288
12433
|
| {
|
|
12289
12434
|
type: 'decorator.add'
|
|
12290
12435
|
decorator: string
|
|
12291
|
-
|
|
12436
|
+
offsets?: {
|
|
12437
|
+
anchor: BlockOffset_2
|
|
12438
|
+
focus: BlockOffset_2
|
|
12439
|
+
}
|
|
12292
12440
|
}
|
|
12293
12441
|
| {
|
|
12294
12442
|
type: 'decorator.remove'
|
|
@@ -12344,7 +12492,10 @@ declare const editorMachine: StateMachine<
|
|
|
12344
12492
|
| {
|
|
12345
12493
|
type: 'decorator.add'
|
|
12346
12494
|
decorator: string
|
|
12347
|
-
|
|
12495
|
+
offsets?: {
|
|
12496
|
+
anchor: BlockOffset_2
|
|
12497
|
+
focus: BlockOffset_2
|
|
12498
|
+
}
|
|
12348
12499
|
}
|
|
12349
12500
|
| {
|
|
12350
12501
|
type: 'decorator.remove'
|
|
@@ -12491,6 +12642,7 @@ declare const editorMachine: StateMachine<
|
|
|
12491
12642
|
| ({
|
|
12492
12643
|
type: 'serialization.failure'
|
|
12493
12644
|
mimeType: `${string}/${string}`
|
|
12645
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12494
12646
|
reason: string
|
|
12495
12647
|
} & {
|
|
12496
12648
|
dataTransfer: DataTransfer
|
|
@@ -12499,7 +12651,7 @@ declare const editorMachine: StateMachine<
|
|
|
12499
12651
|
type: 'serialization.success'
|
|
12500
12652
|
data: string
|
|
12501
12653
|
mimeType: `${string}/${string}`
|
|
12502
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
12654
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12503
12655
|
} & {
|
|
12504
12656
|
dataTransfer: DataTransfer
|
|
12505
12657
|
})
|
|
@@ -12688,7 +12840,10 @@ declare const editorMachine: StateMachine<
|
|
|
12688
12840
|
| {
|
|
12689
12841
|
type: 'decorator.add'
|
|
12690
12842
|
decorator: string
|
|
12691
|
-
|
|
12843
|
+
offsets?: {
|
|
12844
|
+
anchor: BlockOffset_2
|
|
12845
|
+
focus: BlockOffset_2
|
|
12846
|
+
}
|
|
12692
12847
|
}
|
|
12693
12848
|
| {
|
|
12694
12849
|
type: 'decorator.remove'
|
|
@@ -12835,6 +12990,7 @@ declare const editorMachine: StateMachine<
|
|
|
12835
12990
|
| ({
|
|
12836
12991
|
type: 'serialization.failure'
|
|
12837
12992
|
mimeType: `${string}/${string}`
|
|
12993
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12838
12994
|
reason: string
|
|
12839
12995
|
} & {
|
|
12840
12996
|
dataTransfer: DataTransfer
|
|
@@ -12843,7 +12999,7 @@ declare const editorMachine: StateMachine<
|
|
|
12843
12999
|
type: 'serialization.success'
|
|
12844
13000
|
data: string
|
|
12845
13001
|
mimeType: `${string}/${string}`
|
|
12846
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
13002
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
12847
13003
|
} & {
|
|
12848
13004
|
dataTransfer: DataTransfer
|
|
12849
13005
|
})
|
|
@@ -12989,7 +13145,10 @@ declare const editorMachine: StateMachine<
|
|
|
12989
13145
|
| {
|
|
12990
13146
|
type: 'decorator.add'
|
|
12991
13147
|
decorator: string
|
|
12992
|
-
|
|
13148
|
+
offsets?: {
|
|
13149
|
+
anchor: BlockOffset_2
|
|
13150
|
+
focus: BlockOffset_2
|
|
13151
|
+
}
|
|
12993
13152
|
}
|
|
12994
13153
|
| {
|
|
12995
13154
|
type: 'decorator.remove'
|
|
@@ -13136,6 +13295,7 @@ declare const editorMachine: StateMachine<
|
|
|
13136
13295
|
| ({
|
|
13137
13296
|
type: 'serialization.failure'
|
|
13138
13297
|
mimeType: `${string}/${string}`
|
|
13298
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13139
13299
|
reason: string
|
|
13140
13300
|
} & {
|
|
13141
13301
|
dataTransfer: DataTransfer
|
|
@@ -13144,7 +13304,7 @@ declare const editorMachine: StateMachine<
|
|
|
13144
13304
|
type: 'serialization.success'
|
|
13145
13305
|
data: string
|
|
13146
13306
|
mimeType: `${string}/${string}`
|
|
13147
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
13307
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13148
13308
|
} & {
|
|
13149
13309
|
dataTransfer: DataTransfer
|
|
13150
13310
|
})
|
|
@@ -13333,7 +13493,10 @@ declare const editorMachine: StateMachine<
|
|
|
13333
13493
|
| {
|
|
13334
13494
|
type: 'decorator.add'
|
|
13335
13495
|
decorator: string
|
|
13336
|
-
|
|
13496
|
+
offsets?: {
|
|
13497
|
+
anchor: BlockOffset_2
|
|
13498
|
+
focus: BlockOffset_2
|
|
13499
|
+
}
|
|
13337
13500
|
}
|
|
13338
13501
|
| {
|
|
13339
13502
|
type: 'decorator.remove'
|
|
@@ -13480,6 +13643,7 @@ declare const editorMachine: StateMachine<
|
|
|
13480
13643
|
| ({
|
|
13481
13644
|
type: 'serialization.failure'
|
|
13482
13645
|
mimeType: `${string}/${string}`
|
|
13646
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13483
13647
|
reason: string
|
|
13484
13648
|
} & {
|
|
13485
13649
|
dataTransfer: DataTransfer
|
|
@@ -13488,7 +13652,7 @@ declare const editorMachine: StateMachine<
|
|
|
13488
13652
|
type: 'serialization.success'
|
|
13489
13653
|
data: string
|
|
13490
13654
|
mimeType: `${string}/${string}`
|
|
13491
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
13655
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13492
13656
|
} & {
|
|
13493
13657
|
dataTransfer: DataTransfer
|
|
13494
13658
|
})
|
|
@@ -13620,7 +13784,10 @@ declare const editorMachine: StateMachine<
|
|
|
13620
13784
|
| {
|
|
13621
13785
|
type: 'decorator.add'
|
|
13622
13786
|
decorator: string
|
|
13623
|
-
|
|
13787
|
+
offsets?: {
|
|
13788
|
+
anchor: BlockOffset_2
|
|
13789
|
+
focus: BlockOffset_2
|
|
13790
|
+
}
|
|
13624
13791
|
}
|
|
13625
13792
|
| {
|
|
13626
13793
|
type: 'decorator.remove'
|
|
@@ -13767,6 +13934,7 @@ declare const editorMachine: StateMachine<
|
|
|
13767
13934
|
| ({
|
|
13768
13935
|
type: 'serialization.failure'
|
|
13769
13936
|
mimeType: `${string}/${string}`
|
|
13937
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13770
13938
|
reason: string
|
|
13771
13939
|
} & {
|
|
13772
13940
|
dataTransfer: DataTransfer
|
|
@@ -13775,7 +13943,7 @@ declare const editorMachine: StateMachine<
|
|
|
13775
13943
|
type: 'serialization.success'
|
|
13776
13944
|
data: string
|
|
13777
13945
|
mimeType: `${string}/${string}`
|
|
13778
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
13946
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
13779
13947
|
} & {
|
|
13780
13948
|
dataTransfer: DataTransfer
|
|
13781
13949
|
})
|
|
@@ -13964,7 +14132,10 @@ declare const editorMachine: StateMachine<
|
|
|
13964
14132
|
| {
|
|
13965
14133
|
type: 'decorator.add'
|
|
13966
14134
|
decorator: string
|
|
13967
|
-
|
|
14135
|
+
offsets?: {
|
|
14136
|
+
anchor: BlockOffset_2
|
|
14137
|
+
focus: BlockOffset_2
|
|
14138
|
+
}
|
|
13968
14139
|
}
|
|
13969
14140
|
| {
|
|
13970
14141
|
type: 'decorator.remove'
|
|
@@ -14111,6 +14282,7 @@ declare const editorMachine: StateMachine<
|
|
|
14111
14282
|
| ({
|
|
14112
14283
|
type: 'serialization.failure'
|
|
14113
14284
|
mimeType: `${string}/${string}`
|
|
14285
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14114
14286
|
reason: string
|
|
14115
14287
|
} & {
|
|
14116
14288
|
dataTransfer: DataTransfer
|
|
@@ -14119,7 +14291,7 @@ declare const editorMachine: StateMachine<
|
|
|
14119
14291
|
type: 'serialization.success'
|
|
14120
14292
|
data: string
|
|
14121
14293
|
mimeType: `${string}/${string}`
|
|
14122
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
14294
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14123
14295
|
} & {
|
|
14124
14296
|
dataTransfer: DataTransfer
|
|
14125
14297
|
})
|
|
@@ -14254,7 +14426,10 @@ declare const editorMachine: StateMachine<
|
|
|
14254
14426
|
| {
|
|
14255
14427
|
type: 'decorator.add'
|
|
14256
14428
|
decorator: string
|
|
14257
|
-
|
|
14429
|
+
offsets?: {
|
|
14430
|
+
anchor: BlockOffset_2
|
|
14431
|
+
focus: BlockOffset_2
|
|
14432
|
+
}
|
|
14258
14433
|
}
|
|
14259
14434
|
| {
|
|
14260
14435
|
type: 'decorator.remove'
|
|
@@ -14401,6 +14576,7 @@ declare const editorMachine: StateMachine<
|
|
|
14401
14576
|
| ({
|
|
14402
14577
|
type: 'serialization.failure'
|
|
14403
14578
|
mimeType: `${string}/${string}`
|
|
14579
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14404
14580
|
reason: string
|
|
14405
14581
|
} & {
|
|
14406
14582
|
dataTransfer: DataTransfer
|
|
@@ -14409,7 +14585,7 @@ declare const editorMachine: StateMachine<
|
|
|
14409
14585
|
type: 'serialization.success'
|
|
14410
14586
|
data: string
|
|
14411
14587
|
mimeType: `${string}/${string}`
|
|
14412
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
14588
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14413
14589
|
} & {
|
|
14414
14590
|
dataTransfer: DataTransfer
|
|
14415
14591
|
})
|
|
@@ -14598,7 +14774,10 @@ declare const editorMachine: StateMachine<
|
|
|
14598
14774
|
| {
|
|
14599
14775
|
type: 'decorator.add'
|
|
14600
14776
|
decorator: string
|
|
14601
|
-
|
|
14777
|
+
offsets?: {
|
|
14778
|
+
anchor: BlockOffset_2
|
|
14779
|
+
focus: BlockOffset_2
|
|
14780
|
+
}
|
|
14602
14781
|
}
|
|
14603
14782
|
| {
|
|
14604
14783
|
type: 'decorator.remove'
|
|
@@ -14745,6 +14924,7 @@ declare const editorMachine: StateMachine<
|
|
|
14745
14924
|
| ({
|
|
14746
14925
|
type: 'serialization.failure'
|
|
14747
14926
|
mimeType: `${string}/${string}`
|
|
14927
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14748
14928
|
reason: string
|
|
14749
14929
|
} & {
|
|
14750
14930
|
dataTransfer: DataTransfer
|
|
@@ -14753,7 +14933,7 @@ declare const editorMachine: StateMachine<
|
|
|
14753
14933
|
type: 'serialization.success'
|
|
14754
14934
|
data: string
|
|
14755
14935
|
mimeType: `${string}/${string}`
|
|
14756
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
14936
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
14757
14937
|
} & {
|
|
14758
14938
|
dataTransfer: DataTransfer
|
|
14759
14939
|
})
|
|
@@ -14939,7 +15119,10 @@ declare const editorMachine: StateMachine<
|
|
|
14939
15119
|
| {
|
|
14940
15120
|
type: 'decorator.add'
|
|
14941
15121
|
decorator: string
|
|
14942
|
-
|
|
15122
|
+
offsets?: {
|
|
15123
|
+
anchor: BlockOffset_2
|
|
15124
|
+
focus: BlockOffset_2
|
|
15125
|
+
}
|
|
14943
15126
|
}
|
|
14944
15127
|
| {
|
|
14945
15128
|
type: 'decorator.remove'
|
|
@@ -15086,6 +15269,7 @@ declare const editorMachine: StateMachine<
|
|
|
15086
15269
|
| ({
|
|
15087
15270
|
type: 'serialization.failure'
|
|
15088
15271
|
mimeType: `${string}/${string}`
|
|
15272
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15089
15273
|
reason: string
|
|
15090
15274
|
} & {
|
|
15091
15275
|
dataTransfer: DataTransfer
|
|
@@ -15094,7 +15278,7 @@ declare const editorMachine: StateMachine<
|
|
|
15094
15278
|
type: 'serialization.success'
|
|
15095
15279
|
data: string
|
|
15096
15280
|
mimeType: `${string}/${string}`
|
|
15097
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
15281
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15098
15282
|
} & {
|
|
15099
15283
|
dataTransfer: DataTransfer
|
|
15100
15284
|
})
|
|
@@ -15283,7 +15467,10 @@ declare const editorMachine: StateMachine<
|
|
|
15283
15467
|
| {
|
|
15284
15468
|
type: 'decorator.add'
|
|
15285
15469
|
decorator: string
|
|
15286
|
-
|
|
15470
|
+
offsets?: {
|
|
15471
|
+
anchor: BlockOffset_2
|
|
15472
|
+
focus: BlockOffset_2
|
|
15473
|
+
}
|
|
15287
15474
|
}
|
|
15288
15475
|
| {
|
|
15289
15476
|
type: 'decorator.remove'
|
|
@@ -15430,6 +15617,7 @@ declare const editorMachine: StateMachine<
|
|
|
15430
15617
|
| ({
|
|
15431
15618
|
type: 'serialization.failure'
|
|
15432
15619
|
mimeType: `${string}/${string}`
|
|
15620
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15433
15621
|
reason: string
|
|
15434
15622
|
} & {
|
|
15435
15623
|
dataTransfer: DataTransfer
|
|
@@ -15438,7 +15626,7 @@ declare const editorMachine: StateMachine<
|
|
|
15438
15626
|
type: 'serialization.success'
|
|
15439
15627
|
data: string
|
|
15440
15628
|
mimeType: `${string}/${string}`
|
|
15441
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
15629
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15442
15630
|
} & {
|
|
15443
15631
|
dataTransfer: DataTransfer
|
|
15444
15632
|
})
|
|
@@ -15579,7 +15767,10 @@ declare const editorMachine: StateMachine<
|
|
|
15579
15767
|
| {
|
|
15580
15768
|
type: 'decorator.add'
|
|
15581
15769
|
decorator: string
|
|
15582
|
-
|
|
15770
|
+
offsets?: {
|
|
15771
|
+
anchor: BlockOffset_2
|
|
15772
|
+
focus: BlockOffset_2
|
|
15773
|
+
}
|
|
15583
15774
|
}
|
|
15584
15775
|
| {
|
|
15585
15776
|
type: 'decorator.remove'
|
|
@@ -15726,6 +15917,7 @@ declare const editorMachine: StateMachine<
|
|
|
15726
15917
|
| ({
|
|
15727
15918
|
type: 'serialization.failure'
|
|
15728
15919
|
mimeType: `${string}/${string}`
|
|
15920
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15729
15921
|
reason: string
|
|
15730
15922
|
} & {
|
|
15731
15923
|
dataTransfer: DataTransfer
|
|
@@ -15734,7 +15926,7 @@ declare const editorMachine: StateMachine<
|
|
|
15734
15926
|
type: 'serialization.success'
|
|
15735
15927
|
data: string
|
|
15736
15928
|
mimeType: `${string}/${string}`
|
|
15737
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
15929
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
15738
15930
|
} & {
|
|
15739
15931
|
dataTransfer: DataTransfer
|
|
15740
15932
|
})
|
|
@@ -15923,7 +16115,10 @@ declare const editorMachine: StateMachine<
|
|
|
15923
16115
|
| {
|
|
15924
16116
|
type: 'decorator.add'
|
|
15925
16117
|
decorator: string
|
|
15926
|
-
|
|
16118
|
+
offsets?: {
|
|
16119
|
+
anchor: BlockOffset_2
|
|
16120
|
+
focus: BlockOffset_2
|
|
16121
|
+
}
|
|
15927
16122
|
}
|
|
15928
16123
|
| {
|
|
15929
16124
|
type: 'decorator.remove'
|
|
@@ -16070,6 +16265,7 @@ declare const editorMachine: StateMachine<
|
|
|
16070
16265
|
| ({
|
|
16071
16266
|
type: 'serialization.failure'
|
|
16072
16267
|
mimeType: `${string}/${string}`
|
|
16268
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16073
16269
|
reason: string
|
|
16074
16270
|
} & {
|
|
16075
16271
|
dataTransfer: DataTransfer
|
|
@@ -16078,7 +16274,7 @@ declare const editorMachine: StateMachine<
|
|
|
16078
16274
|
type: 'serialization.success'
|
|
16079
16275
|
data: string
|
|
16080
16276
|
mimeType: `${string}/${string}`
|
|
16081
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
16277
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16082
16278
|
} & {
|
|
16083
16279
|
dataTransfer: DataTransfer
|
|
16084
16280
|
})
|
|
@@ -16220,7 +16416,10 @@ declare const editorMachine: StateMachine<
|
|
|
16220
16416
|
| {
|
|
16221
16417
|
type: 'decorator.add'
|
|
16222
16418
|
decorator: string
|
|
16223
|
-
|
|
16419
|
+
offsets?: {
|
|
16420
|
+
anchor: BlockOffset_2
|
|
16421
|
+
focus: BlockOffset_2
|
|
16422
|
+
}
|
|
16224
16423
|
}
|
|
16225
16424
|
| {
|
|
16226
16425
|
type: 'decorator.remove'
|
|
@@ -16367,6 +16566,7 @@ declare const editorMachine: StateMachine<
|
|
|
16367
16566
|
| ({
|
|
16368
16567
|
type: 'serialization.failure'
|
|
16369
16568
|
mimeType: `${string}/${string}`
|
|
16569
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16370
16570
|
reason: string
|
|
16371
16571
|
} & {
|
|
16372
16572
|
dataTransfer: DataTransfer
|
|
@@ -16375,7 +16575,7 @@ declare const editorMachine: StateMachine<
|
|
|
16375
16575
|
type: 'serialization.success'
|
|
16376
16576
|
data: string
|
|
16377
16577
|
mimeType: `${string}/${string}`
|
|
16378
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
16578
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16379
16579
|
} & {
|
|
16380
16580
|
dataTransfer: DataTransfer
|
|
16381
16581
|
})
|
|
@@ -16564,7 +16764,10 @@ declare const editorMachine: StateMachine<
|
|
|
16564
16764
|
| {
|
|
16565
16765
|
type: 'decorator.add'
|
|
16566
16766
|
decorator: string
|
|
16567
|
-
|
|
16767
|
+
offsets?: {
|
|
16768
|
+
anchor: BlockOffset_2
|
|
16769
|
+
focus: BlockOffset_2
|
|
16770
|
+
}
|
|
16568
16771
|
}
|
|
16569
16772
|
| {
|
|
16570
16773
|
type: 'decorator.remove'
|
|
@@ -16711,6 +16914,7 @@ declare const editorMachine: StateMachine<
|
|
|
16711
16914
|
| ({
|
|
16712
16915
|
type: 'serialization.failure'
|
|
16713
16916
|
mimeType: `${string}/${string}`
|
|
16917
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16714
16918
|
reason: string
|
|
16715
16919
|
} & {
|
|
16716
16920
|
dataTransfer: DataTransfer
|
|
@@ -16719,7 +16923,7 @@ declare const editorMachine: StateMachine<
|
|
|
16719
16923
|
type: 'serialization.success'
|
|
16720
16924
|
data: string
|
|
16721
16925
|
mimeType: `${string}/${string}`
|
|
16722
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
16926
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
16723
16927
|
} & {
|
|
16724
16928
|
dataTransfer: DataTransfer
|
|
16725
16929
|
})
|
|
@@ -16852,7 +17056,10 @@ declare const editorMachine: StateMachine<
|
|
|
16852
17056
|
| {
|
|
16853
17057
|
type: 'decorator.add'
|
|
16854
17058
|
decorator: string
|
|
16855
|
-
|
|
17059
|
+
offsets?: {
|
|
17060
|
+
anchor: BlockOffset_2
|
|
17061
|
+
focus: BlockOffset_2
|
|
17062
|
+
}
|
|
16856
17063
|
}
|
|
16857
17064
|
| {
|
|
16858
17065
|
type: 'decorator.remove'
|
|
@@ -16999,6 +17206,7 @@ declare const editorMachine: StateMachine<
|
|
|
16999
17206
|
| ({
|
|
17000
17207
|
type: 'serialization.failure'
|
|
17001
17208
|
mimeType: `${string}/${string}`
|
|
17209
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17002
17210
|
reason: string
|
|
17003
17211
|
} & {
|
|
17004
17212
|
dataTransfer: DataTransfer
|
|
@@ -17007,7 +17215,7 @@ declare const editorMachine: StateMachine<
|
|
|
17007
17215
|
type: 'serialization.success'
|
|
17008
17216
|
data: string
|
|
17009
17217
|
mimeType: `${string}/${string}`
|
|
17010
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
17218
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17011
17219
|
} & {
|
|
17012
17220
|
dataTransfer: DataTransfer
|
|
17013
17221
|
})
|
|
@@ -17196,7 +17404,10 @@ declare const editorMachine: StateMachine<
|
|
|
17196
17404
|
| {
|
|
17197
17405
|
type: 'decorator.add'
|
|
17198
17406
|
decorator: string
|
|
17199
|
-
|
|
17407
|
+
offsets?: {
|
|
17408
|
+
anchor: BlockOffset_2
|
|
17409
|
+
focus: BlockOffset_2
|
|
17410
|
+
}
|
|
17200
17411
|
}
|
|
17201
17412
|
| {
|
|
17202
17413
|
type: 'decorator.remove'
|
|
@@ -17343,6 +17554,7 @@ declare const editorMachine: StateMachine<
|
|
|
17343
17554
|
| ({
|
|
17344
17555
|
type: 'serialization.failure'
|
|
17345
17556
|
mimeType: `${string}/${string}`
|
|
17557
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17346
17558
|
reason: string
|
|
17347
17559
|
} & {
|
|
17348
17560
|
dataTransfer: DataTransfer
|
|
@@ -17351,7 +17563,7 @@ declare const editorMachine: StateMachine<
|
|
|
17351
17563
|
type: 'serialization.success'
|
|
17352
17564
|
data: string
|
|
17353
17565
|
mimeType: `${string}/${string}`
|
|
17354
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
17566
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17355
17567
|
} & {
|
|
17356
17568
|
dataTransfer: DataTransfer
|
|
17357
17569
|
})
|
|
@@ -17486,7 +17698,10 @@ declare const editorMachine: StateMachine<
|
|
|
17486
17698
|
| {
|
|
17487
17699
|
type: 'decorator.add'
|
|
17488
17700
|
decorator: string
|
|
17489
|
-
|
|
17701
|
+
offsets?: {
|
|
17702
|
+
anchor: BlockOffset_2
|
|
17703
|
+
focus: BlockOffset_2
|
|
17704
|
+
}
|
|
17490
17705
|
}
|
|
17491
17706
|
| {
|
|
17492
17707
|
type: 'decorator.remove'
|
|
@@ -17633,6 +17848,7 @@ declare const editorMachine: StateMachine<
|
|
|
17633
17848
|
| ({
|
|
17634
17849
|
type: 'serialization.failure'
|
|
17635
17850
|
mimeType: `${string}/${string}`
|
|
17851
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17636
17852
|
reason: string
|
|
17637
17853
|
} & {
|
|
17638
17854
|
dataTransfer: DataTransfer
|
|
@@ -17641,7 +17857,7 @@ declare const editorMachine: StateMachine<
|
|
|
17641
17857
|
type: 'serialization.success'
|
|
17642
17858
|
data: string
|
|
17643
17859
|
mimeType: `${string}/${string}`
|
|
17644
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
17860
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17645
17861
|
} & {
|
|
17646
17862
|
dataTransfer: DataTransfer
|
|
17647
17863
|
})
|
|
@@ -17830,7 +18046,10 @@ declare const editorMachine: StateMachine<
|
|
|
17830
18046
|
| {
|
|
17831
18047
|
type: 'decorator.add'
|
|
17832
18048
|
decorator: string
|
|
17833
|
-
|
|
18049
|
+
offsets?: {
|
|
18050
|
+
anchor: BlockOffset_2
|
|
18051
|
+
focus: BlockOffset_2
|
|
18052
|
+
}
|
|
17834
18053
|
}
|
|
17835
18054
|
| {
|
|
17836
18055
|
type: 'decorator.remove'
|
|
@@ -17977,6 +18196,7 @@ declare const editorMachine: StateMachine<
|
|
|
17977
18196
|
| ({
|
|
17978
18197
|
type: 'serialization.failure'
|
|
17979
18198
|
mimeType: `${string}/${string}`
|
|
18199
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17980
18200
|
reason: string
|
|
17981
18201
|
} & {
|
|
17982
18202
|
dataTransfer: DataTransfer
|
|
@@ -17985,7 +18205,7 @@ declare const editorMachine: StateMachine<
|
|
|
17985
18205
|
type: 'serialization.success'
|
|
17986
18206
|
data: string
|
|
17987
18207
|
mimeType: `${string}/${string}`
|
|
17988
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
18208
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
17989
18209
|
} & {
|
|
17990
18210
|
dataTransfer: DataTransfer
|
|
17991
18211
|
})
|
|
@@ -18126,7 +18346,10 @@ declare const editorMachine: StateMachine<
|
|
|
18126
18346
|
| {
|
|
18127
18347
|
type: 'decorator.add'
|
|
18128
18348
|
decorator: string
|
|
18129
|
-
|
|
18349
|
+
offsets?: {
|
|
18350
|
+
anchor: BlockOffset_2
|
|
18351
|
+
focus: BlockOffset_2
|
|
18352
|
+
}
|
|
18130
18353
|
}
|
|
18131
18354
|
| {
|
|
18132
18355
|
type: 'decorator.remove'
|
|
@@ -18273,6 +18496,7 @@ declare const editorMachine: StateMachine<
|
|
|
18273
18496
|
| ({
|
|
18274
18497
|
type: 'serialization.failure'
|
|
18275
18498
|
mimeType: `${string}/${string}`
|
|
18499
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
18276
18500
|
reason: string
|
|
18277
18501
|
} & {
|
|
18278
18502
|
dataTransfer: DataTransfer
|
|
@@ -18281,7 +18505,7 @@ declare const editorMachine: StateMachine<
|
|
|
18281
18505
|
type: 'serialization.success'
|
|
18282
18506
|
data: string
|
|
18283
18507
|
mimeType: `${string}/${string}`
|
|
18284
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
18508
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
18285
18509
|
} & {
|
|
18286
18510
|
dataTransfer: DataTransfer
|
|
18287
18511
|
})
|
|
@@ -18470,7 +18694,10 @@ declare const editorMachine: StateMachine<
|
|
|
18470
18694
|
| {
|
|
18471
18695
|
type: 'decorator.add'
|
|
18472
18696
|
decorator: string
|
|
18473
|
-
|
|
18697
|
+
offsets?: {
|
|
18698
|
+
anchor: BlockOffset_2
|
|
18699
|
+
focus: BlockOffset_2
|
|
18700
|
+
}
|
|
18474
18701
|
}
|
|
18475
18702
|
| {
|
|
18476
18703
|
type: 'decorator.remove'
|
|
@@ -18617,6 +18844,7 @@ declare const editorMachine: StateMachine<
|
|
|
18617
18844
|
| ({
|
|
18618
18845
|
type: 'serialization.failure'
|
|
18619
18846
|
mimeType: `${string}/${string}`
|
|
18847
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
18620
18848
|
reason: string
|
|
18621
18849
|
} & {
|
|
18622
18850
|
dataTransfer: DataTransfer
|
|
@@ -18625,7 +18853,7 @@ declare const editorMachine: StateMachine<
|
|
|
18625
18853
|
type: 'serialization.success'
|
|
18626
18854
|
data: string
|
|
18627
18855
|
mimeType: `${string}/${string}`
|
|
18628
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
18856
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
18629
18857
|
} & {
|
|
18630
18858
|
dataTransfer: DataTransfer
|
|
18631
18859
|
})
|
|
@@ -19070,7 +19298,7 @@ declare type NativeBehaviorEvent =
|
|
|
19070
19298
|
}
|
|
19071
19299
|
| {
|
|
19072
19300
|
type: 'serialize'
|
|
19073
|
-
originEvent: 'copy' | 'cut' | 'unknown'
|
|
19301
|
+
originEvent: 'copy' | 'cut' | 'drag' | 'unknown'
|
|
19074
19302
|
dataTransfer: DataTransfer
|
|
19075
19303
|
}
|
|
19076
19304
|
|
|
@@ -19226,7 +19454,10 @@ declare type SyntheticBehaviorEvent =
|
|
|
19226
19454
|
| {
|
|
19227
19455
|
type: 'decorator.add'
|
|
19228
19456
|
decorator: string
|
|
19229
|
-
|
|
19457
|
+
offsets?: {
|
|
19458
|
+
anchor: BlockOffset
|
|
19459
|
+
focus: BlockOffset
|
|
19460
|
+
}
|
|
19230
19461
|
}
|
|
19231
19462
|
| {
|
|
19232
19463
|
type: 'decorator.remove'
|