@portabletext/editor 1.45.3 → 1.45.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_chunks-cjs/behavior.core.cjs.map +1 -1
- package/lib/_chunks-cjs/editor-provider.cjs +57 -57
- package/lib/_chunks-cjs/editor-provider.cjs.map +1 -1
- package/lib/_chunks-es/behavior.core.js.map +1 -1
- package/lib/_chunks-es/editor-provider.js +57 -57
- package/lib/_chunks-es/editor-provider.js.map +1 -1
- package/lib/behaviors/index.d.cts +26 -36
- package/lib/behaviors/index.d.ts +26 -36
- package/lib/index.d.cts +26 -36
- package/lib/index.d.ts +26 -36
- package/lib/plugins/index.d.cts +26 -36
- package/lib/plugins/index.d.ts +26 -36
- package/lib/selectors/index.d.cts +26 -36
- package/lib/selectors/index.d.ts +26 -36
- package/lib/utils/index.d.cts +26 -36
- package/lib/utils/index.d.ts +26 -36
- package/package.json +1 -1
- package/src/behaviors/behavior.perform-event.ts +14 -16
- package/src/behaviors/behavior.types.action.ts +1 -6
- package/src/behaviors/behavior.types.guard.ts +1 -6
- package/src/editor/components/Synchronizer.tsx +6 -3
- package/src/editor/create-editor.ts +1 -1
- package/src/editor/editor-machine.ts +6 -4
package/lib/index.d.cts
CHANGED
|
@@ -322,11 +322,6 @@ declare type BehaviorAction =
|
|
|
322
322
|
*/
|
|
323
323
|
declare type BehaviorActionSet<TBehaviorEvent, TGuardResponse> = (
|
|
324
324
|
payload: {
|
|
325
|
-
/**
|
|
326
|
-
* @deprecated
|
|
327
|
-
* Use `snapshot` instead
|
|
328
|
-
*/
|
|
329
|
-
context: EditorContext
|
|
330
325
|
snapshot: EditorSnapshot
|
|
331
326
|
event: TBehaviorEvent
|
|
332
327
|
},
|
|
@@ -352,11 +347,6 @@ declare type BehaviorEventTypeNamespace =
|
|
|
352
347
|
* @beta
|
|
353
348
|
*/
|
|
354
349
|
declare type BehaviorGuard<TBehaviorEvent, TGuardResponse> = (payload: {
|
|
355
|
-
/**
|
|
356
|
-
* @deprecated
|
|
357
|
-
* Use `snapshot` instead
|
|
358
|
-
*/
|
|
359
|
-
context: EditorContext
|
|
360
350
|
snapshot: EditorSnapshot
|
|
361
351
|
event: TBehaviorEvent
|
|
362
352
|
}) => TGuardResponse | false
|
|
@@ -894,7 +884,7 @@ declare const editorMachine: StateMachine<
|
|
|
894
884
|
initialReadOnly: boolean
|
|
895
885
|
maxBlocks: number | undefined
|
|
896
886
|
selection: EditorSelection
|
|
897
|
-
|
|
887
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
898
888
|
internalDrag?: {
|
|
899
889
|
ghost?: HTMLElement
|
|
900
890
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -1101,7 +1091,7 @@ declare const editorMachine: StateMachine<
|
|
|
1101
1091
|
maxBlocks?: number
|
|
1102
1092
|
readOnly?: boolean
|
|
1103
1093
|
schema: EditorSchema
|
|
1104
|
-
|
|
1094
|
+
initialValue?: Array<PortableTextBlock>
|
|
1105
1095
|
},
|
|
1106
1096
|
NonReducibleUnknown,
|
|
1107
1097
|
| PatchEvent
|
|
@@ -1186,7 +1176,7 @@ declare const editorMachine: StateMachine<
|
|
|
1186
1176
|
maxBlocks?: number
|
|
1187
1177
|
readOnly?: boolean
|
|
1188
1178
|
schema: EditorSchema
|
|
1189
|
-
|
|
1179
|
+
initialValue?: Array<PortableTextBlock>
|
|
1190
1180
|
}
|
|
1191
1181
|
self: ActorRef<
|
|
1192
1182
|
MachineSnapshot<
|
|
@@ -1199,7 +1189,7 @@ declare const editorMachine: StateMachine<
|
|
|
1199
1189
|
initialReadOnly: boolean
|
|
1200
1190
|
maxBlocks: number | undefined
|
|
1201
1191
|
selection: EditorSelection
|
|
1202
|
-
|
|
1192
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
1203
1193
|
internalDrag?: {
|
|
1204
1194
|
ghost?: HTMLElement
|
|
1205
1195
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -1463,7 +1453,7 @@ declare const editorMachine: StateMachine<
|
|
|
1463
1453
|
selection: null
|
|
1464
1454
|
initialReadOnly: boolean
|
|
1465
1455
|
maxBlocks: number | undefined
|
|
1466
|
-
|
|
1456
|
+
incomingValue: PortableTextBlock[] | undefined
|
|
1467
1457
|
}
|
|
1468
1458
|
readonly on: {
|
|
1469
1459
|
readonly 'notify.blurred': {
|
|
@@ -1477,7 +1467,7 @@ declare const editorMachine: StateMachine<
|
|
|
1477
1467
|
initialReadOnly: boolean
|
|
1478
1468
|
maxBlocks: number | undefined
|
|
1479
1469
|
selection: EditorSelection
|
|
1480
|
-
|
|
1470
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
1481
1471
|
internalDrag?: {
|
|
1482
1472
|
ghost?: HTMLElement
|
|
1483
1473
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -1672,7 +1662,7 @@ declare const editorMachine: StateMachine<
|
|
|
1672
1662
|
initialReadOnly: boolean
|
|
1673
1663
|
maxBlocks: number | undefined
|
|
1674
1664
|
selection: EditorSelection
|
|
1675
|
-
|
|
1665
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
1676
1666
|
internalDrag?: {
|
|
1677
1667
|
ghost?: HTMLElement
|
|
1678
1668
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -1866,7 +1856,7 @@ declare const editorMachine: StateMachine<
|
|
|
1866
1856
|
initialReadOnly: boolean
|
|
1867
1857
|
maxBlocks: number | undefined
|
|
1868
1858
|
selection: EditorSelection
|
|
1869
|
-
|
|
1859
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
1870
1860
|
internalDrag?: {
|
|
1871
1861
|
ghost?: HTMLElement
|
|
1872
1862
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2063,7 +2053,7 @@ declare const editorMachine: StateMachine<
|
|
|
2063
2053
|
initialReadOnly: boolean
|
|
2064
2054
|
maxBlocks: number | undefined
|
|
2065
2055
|
selection: EditorSelection
|
|
2066
|
-
|
|
2056
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2067
2057
|
internalDrag?: {
|
|
2068
2058
|
ghost?: HTMLElement
|
|
2069
2059
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2259,7 +2249,7 @@ declare const editorMachine: StateMachine<
|
|
|
2259
2249
|
initialReadOnly: boolean
|
|
2260
2250
|
maxBlocks: number | undefined
|
|
2261
2251
|
selection: EditorSelection
|
|
2262
|
-
|
|
2252
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2263
2253
|
internalDrag?: {
|
|
2264
2254
|
ghost?: HTMLElement
|
|
2265
2255
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2455,7 +2445,7 @@ declare const editorMachine: StateMachine<
|
|
|
2455
2445
|
initialReadOnly: boolean
|
|
2456
2446
|
maxBlocks: number | undefined
|
|
2457
2447
|
selection: EditorSelection
|
|
2458
|
-
|
|
2448
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2459
2449
|
internalDrag?: {
|
|
2460
2450
|
ghost?: HTMLElement
|
|
2461
2451
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2602,7 +2592,7 @@ declare const editorMachine: StateMachine<
|
|
|
2602
2592
|
initialReadOnly: boolean
|
|
2603
2593
|
maxBlocks: number | undefined
|
|
2604
2594
|
selection: EditorSelection
|
|
2605
|
-
|
|
2595
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2606
2596
|
internalDrag?: {
|
|
2607
2597
|
ghost?: HTMLElement
|
|
2608
2598
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2798,7 +2788,7 @@ declare const editorMachine: StateMachine<
|
|
|
2798
2788
|
initialReadOnly: boolean
|
|
2799
2789
|
maxBlocks: number | undefined
|
|
2800
2790
|
selection: EditorSelection
|
|
2801
|
-
|
|
2791
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2802
2792
|
internalDrag?: {
|
|
2803
2793
|
ghost?: HTMLElement
|
|
2804
2794
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2993,7 +2983,7 @@ declare const editorMachine: StateMachine<
|
|
|
2993
2983
|
initialReadOnly: boolean
|
|
2994
2984
|
maxBlocks: number | undefined
|
|
2995
2985
|
selection: EditorSelection
|
|
2996
|
-
|
|
2986
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2997
2987
|
internalDrag?: {
|
|
2998
2988
|
ghost?: HTMLElement
|
|
2999
2989
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -3187,7 +3177,7 @@ declare const editorMachine: StateMachine<
|
|
|
3187
3177
|
initialReadOnly: boolean
|
|
3188
3178
|
maxBlocks: number | undefined
|
|
3189
3179
|
selection: EditorSelection
|
|
3190
|
-
|
|
3180
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
3191
3181
|
internalDrag?: {
|
|
3192
3182
|
ghost?: HTMLElement
|
|
3193
3183
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -3388,7 +3378,7 @@ declare const editorMachine: StateMachine<
|
|
|
3388
3378
|
initialReadOnly: boolean
|
|
3389
3379
|
maxBlocks: number | undefined
|
|
3390
3380
|
selection: EditorSelection
|
|
3391
|
-
|
|
3381
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
3392
3382
|
internalDrag?: {
|
|
3393
3383
|
ghost?: HTMLElement
|
|
3394
3384
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -3583,7 +3573,7 @@ declare const editorMachine: StateMachine<
|
|
|
3583
3573
|
initialReadOnly: boolean
|
|
3584
3574
|
maxBlocks: number | undefined
|
|
3585
3575
|
selection: EditorSelection
|
|
3586
|
-
|
|
3576
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
3587
3577
|
internalDrag?: {
|
|
3588
3578
|
ghost?: HTMLElement
|
|
3589
3579
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -3735,7 +3725,7 @@ declare const editorMachine: StateMachine<
|
|
|
3735
3725
|
initialReadOnly: boolean
|
|
3736
3726
|
maxBlocks: number | undefined
|
|
3737
3727
|
selection: EditorSelection
|
|
3738
|
-
|
|
3728
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
3739
3729
|
internalDrag?: {
|
|
3740
3730
|
ghost?: HTMLElement
|
|
3741
3731
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -3884,7 +3874,7 @@ declare const editorMachine: StateMachine<
|
|
|
3884
3874
|
initialReadOnly: boolean
|
|
3885
3875
|
maxBlocks: number | undefined
|
|
3886
3876
|
selection: EditorSelection
|
|
3887
|
-
|
|
3877
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
3888
3878
|
internalDrag?: {
|
|
3889
3879
|
ghost?: HTMLElement
|
|
3890
3880
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4045,7 +4035,7 @@ declare const editorMachine: StateMachine<
|
|
|
4045
4035
|
initialReadOnly: boolean
|
|
4046
4036
|
maxBlocks: number | undefined
|
|
4047
4037
|
selection: EditorSelection
|
|
4048
|
-
|
|
4038
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4049
4039
|
internalDrag?: {
|
|
4050
4040
|
ghost?: HTMLElement
|
|
4051
4041
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4083,7 +4073,7 @@ declare const editorMachine: StateMachine<
|
|
|
4083
4073
|
initialReadOnly: boolean
|
|
4084
4074
|
maxBlocks: number | undefined
|
|
4085
4075
|
selection: EditorSelection
|
|
4086
|
-
|
|
4076
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4087
4077
|
internalDrag?: {
|
|
4088
4078
|
ghost?: HTMLElement
|
|
4089
4079
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4115,7 +4105,7 @@ declare const editorMachine: StateMachine<
|
|
|
4115
4105
|
initialReadOnly: boolean
|
|
4116
4106
|
maxBlocks: number | undefined
|
|
4117
4107
|
selection: EditorSelection
|
|
4118
|
-
|
|
4108
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4119
4109
|
internalDrag?: {
|
|
4120
4110
|
ghost?: HTMLElement
|
|
4121
4111
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4148,7 +4138,7 @@ declare const editorMachine: StateMachine<
|
|
|
4148
4138
|
initialReadOnly: boolean
|
|
4149
4139
|
maxBlocks: number | undefined
|
|
4150
4140
|
selection: EditorSelection
|
|
4151
|
-
|
|
4141
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4152
4142
|
internalDrag?: {
|
|
4153
4143
|
ghost?: HTMLElement
|
|
4154
4144
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4184,7 +4174,7 @@ declare const editorMachine: StateMachine<
|
|
|
4184
4174
|
initialReadOnly: boolean
|
|
4185
4175
|
maxBlocks: number | undefined
|
|
4186
4176
|
selection: EditorSelection
|
|
4187
|
-
|
|
4177
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4188
4178
|
internalDrag?: {
|
|
4189
4179
|
ghost?: HTMLElement
|
|
4190
4180
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4341,7 +4331,7 @@ declare const editorMachine: StateMachine<
|
|
|
4341
4331
|
initialReadOnly: boolean
|
|
4342
4332
|
maxBlocks: number | undefined
|
|
4343
4333
|
selection: EditorSelection
|
|
4344
|
-
|
|
4334
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4345
4335
|
internalDrag?: {
|
|
4346
4336
|
ghost?: HTMLElement
|
|
4347
4337
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4598,7 +4588,7 @@ declare const editorMachine: StateMachine<
|
|
|
4598
4588
|
initialReadOnly: boolean
|
|
4599
4589
|
maxBlocks: number | undefined
|
|
4600
4590
|
selection: EditorSelection
|
|
4601
|
-
|
|
4591
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4602
4592
|
internalDrag?: {
|
|
4603
4593
|
ghost?: HTMLElement
|
|
4604
4594
|
origin: Pick<EventPosition, 'selection'>
|
package/lib/index.d.ts
CHANGED
|
@@ -322,11 +322,6 @@ declare type BehaviorAction =
|
|
|
322
322
|
*/
|
|
323
323
|
declare type BehaviorActionSet<TBehaviorEvent, TGuardResponse> = (
|
|
324
324
|
payload: {
|
|
325
|
-
/**
|
|
326
|
-
* @deprecated
|
|
327
|
-
* Use `snapshot` instead
|
|
328
|
-
*/
|
|
329
|
-
context: EditorContext
|
|
330
325
|
snapshot: EditorSnapshot
|
|
331
326
|
event: TBehaviorEvent
|
|
332
327
|
},
|
|
@@ -352,11 +347,6 @@ declare type BehaviorEventTypeNamespace =
|
|
|
352
347
|
* @beta
|
|
353
348
|
*/
|
|
354
349
|
declare type BehaviorGuard<TBehaviorEvent, TGuardResponse> = (payload: {
|
|
355
|
-
/**
|
|
356
|
-
* @deprecated
|
|
357
|
-
* Use `snapshot` instead
|
|
358
|
-
*/
|
|
359
|
-
context: EditorContext
|
|
360
350
|
snapshot: EditorSnapshot
|
|
361
351
|
event: TBehaviorEvent
|
|
362
352
|
}) => TGuardResponse | false
|
|
@@ -894,7 +884,7 @@ declare const editorMachine: StateMachine<
|
|
|
894
884
|
initialReadOnly: boolean
|
|
895
885
|
maxBlocks: number | undefined
|
|
896
886
|
selection: EditorSelection
|
|
897
|
-
|
|
887
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
898
888
|
internalDrag?: {
|
|
899
889
|
ghost?: HTMLElement
|
|
900
890
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -1101,7 +1091,7 @@ declare const editorMachine: StateMachine<
|
|
|
1101
1091
|
maxBlocks?: number
|
|
1102
1092
|
readOnly?: boolean
|
|
1103
1093
|
schema: EditorSchema
|
|
1104
|
-
|
|
1094
|
+
initialValue?: Array<PortableTextBlock>
|
|
1105
1095
|
},
|
|
1106
1096
|
NonReducibleUnknown,
|
|
1107
1097
|
| PatchEvent
|
|
@@ -1186,7 +1176,7 @@ declare const editorMachine: StateMachine<
|
|
|
1186
1176
|
maxBlocks?: number
|
|
1187
1177
|
readOnly?: boolean
|
|
1188
1178
|
schema: EditorSchema
|
|
1189
|
-
|
|
1179
|
+
initialValue?: Array<PortableTextBlock>
|
|
1190
1180
|
}
|
|
1191
1181
|
self: ActorRef<
|
|
1192
1182
|
MachineSnapshot<
|
|
@@ -1199,7 +1189,7 @@ declare const editorMachine: StateMachine<
|
|
|
1199
1189
|
initialReadOnly: boolean
|
|
1200
1190
|
maxBlocks: number | undefined
|
|
1201
1191
|
selection: EditorSelection
|
|
1202
|
-
|
|
1192
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
1203
1193
|
internalDrag?: {
|
|
1204
1194
|
ghost?: HTMLElement
|
|
1205
1195
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -1463,7 +1453,7 @@ declare const editorMachine: StateMachine<
|
|
|
1463
1453
|
selection: null
|
|
1464
1454
|
initialReadOnly: boolean
|
|
1465
1455
|
maxBlocks: number | undefined
|
|
1466
|
-
|
|
1456
|
+
incomingValue: PortableTextBlock[] | undefined
|
|
1467
1457
|
}
|
|
1468
1458
|
readonly on: {
|
|
1469
1459
|
readonly 'notify.blurred': {
|
|
@@ -1477,7 +1467,7 @@ declare const editorMachine: StateMachine<
|
|
|
1477
1467
|
initialReadOnly: boolean
|
|
1478
1468
|
maxBlocks: number | undefined
|
|
1479
1469
|
selection: EditorSelection
|
|
1480
|
-
|
|
1470
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
1481
1471
|
internalDrag?: {
|
|
1482
1472
|
ghost?: HTMLElement
|
|
1483
1473
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -1672,7 +1662,7 @@ declare const editorMachine: StateMachine<
|
|
|
1672
1662
|
initialReadOnly: boolean
|
|
1673
1663
|
maxBlocks: number | undefined
|
|
1674
1664
|
selection: EditorSelection
|
|
1675
|
-
|
|
1665
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
1676
1666
|
internalDrag?: {
|
|
1677
1667
|
ghost?: HTMLElement
|
|
1678
1668
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -1866,7 +1856,7 @@ declare const editorMachine: StateMachine<
|
|
|
1866
1856
|
initialReadOnly: boolean
|
|
1867
1857
|
maxBlocks: number | undefined
|
|
1868
1858
|
selection: EditorSelection
|
|
1869
|
-
|
|
1859
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
1870
1860
|
internalDrag?: {
|
|
1871
1861
|
ghost?: HTMLElement
|
|
1872
1862
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2063,7 +2053,7 @@ declare const editorMachine: StateMachine<
|
|
|
2063
2053
|
initialReadOnly: boolean
|
|
2064
2054
|
maxBlocks: number | undefined
|
|
2065
2055
|
selection: EditorSelection
|
|
2066
|
-
|
|
2056
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2067
2057
|
internalDrag?: {
|
|
2068
2058
|
ghost?: HTMLElement
|
|
2069
2059
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2259,7 +2249,7 @@ declare const editorMachine: StateMachine<
|
|
|
2259
2249
|
initialReadOnly: boolean
|
|
2260
2250
|
maxBlocks: number | undefined
|
|
2261
2251
|
selection: EditorSelection
|
|
2262
|
-
|
|
2252
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2263
2253
|
internalDrag?: {
|
|
2264
2254
|
ghost?: HTMLElement
|
|
2265
2255
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2455,7 +2445,7 @@ declare const editorMachine: StateMachine<
|
|
|
2455
2445
|
initialReadOnly: boolean
|
|
2456
2446
|
maxBlocks: number | undefined
|
|
2457
2447
|
selection: EditorSelection
|
|
2458
|
-
|
|
2448
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2459
2449
|
internalDrag?: {
|
|
2460
2450
|
ghost?: HTMLElement
|
|
2461
2451
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2602,7 +2592,7 @@ declare const editorMachine: StateMachine<
|
|
|
2602
2592
|
initialReadOnly: boolean
|
|
2603
2593
|
maxBlocks: number | undefined
|
|
2604
2594
|
selection: EditorSelection
|
|
2605
|
-
|
|
2595
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2606
2596
|
internalDrag?: {
|
|
2607
2597
|
ghost?: HTMLElement
|
|
2608
2598
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2798,7 +2788,7 @@ declare const editorMachine: StateMachine<
|
|
|
2798
2788
|
initialReadOnly: boolean
|
|
2799
2789
|
maxBlocks: number | undefined
|
|
2800
2790
|
selection: EditorSelection
|
|
2801
|
-
|
|
2791
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2802
2792
|
internalDrag?: {
|
|
2803
2793
|
ghost?: HTMLElement
|
|
2804
2794
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -2993,7 +2983,7 @@ declare const editorMachine: StateMachine<
|
|
|
2993
2983
|
initialReadOnly: boolean
|
|
2994
2984
|
maxBlocks: number | undefined
|
|
2995
2985
|
selection: EditorSelection
|
|
2996
|
-
|
|
2986
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
2997
2987
|
internalDrag?: {
|
|
2998
2988
|
ghost?: HTMLElement
|
|
2999
2989
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -3187,7 +3177,7 @@ declare const editorMachine: StateMachine<
|
|
|
3187
3177
|
initialReadOnly: boolean
|
|
3188
3178
|
maxBlocks: number | undefined
|
|
3189
3179
|
selection: EditorSelection
|
|
3190
|
-
|
|
3180
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
3191
3181
|
internalDrag?: {
|
|
3192
3182
|
ghost?: HTMLElement
|
|
3193
3183
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -3388,7 +3378,7 @@ declare const editorMachine: StateMachine<
|
|
|
3388
3378
|
initialReadOnly: boolean
|
|
3389
3379
|
maxBlocks: number | undefined
|
|
3390
3380
|
selection: EditorSelection
|
|
3391
|
-
|
|
3381
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
3392
3382
|
internalDrag?: {
|
|
3393
3383
|
ghost?: HTMLElement
|
|
3394
3384
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -3583,7 +3573,7 @@ declare const editorMachine: StateMachine<
|
|
|
3583
3573
|
initialReadOnly: boolean
|
|
3584
3574
|
maxBlocks: number | undefined
|
|
3585
3575
|
selection: EditorSelection
|
|
3586
|
-
|
|
3576
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
3587
3577
|
internalDrag?: {
|
|
3588
3578
|
ghost?: HTMLElement
|
|
3589
3579
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -3735,7 +3725,7 @@ declare const editorMachine: StateMachine<
|
|
|
3735
3725
|
initialReadOnly: boolean
|
|
3736
3726
|
maxBlocks: number | undefined
|
|
3737
3727
|
selection: EditorSelection
|
|
3738
|
-
|
|
3728
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
3739
3729
|
internalDrag?: {
|
|
3740
3730
|
ghost?: HTMLElement
|
|
3741
3731
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -3884,7 +3874,7 @@ declare const editorMachine: StateMachine<
|
|
|
3884
3874
|
initialReadOnly: boolean
|
|
3885
3875
|
maxBlocks: number | undefined
|
|
3886
3876
|
selection: EditorSelection
|
|
3887
|
-
|
|
3877
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
3888
3878
|
internalDrag?: {
|
|
3889
3879
|
ghost?: HTMLElement
|
|
3890
3880
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4045,7 +4035,7 @@ declare const editorMachine: StateMachine<
|
|
|
4045
4035
|
initialReadOnly: boolean
|
|
4046
4036
|
maxBlocks: number | undefined
|
|
4047
4037
|
selection: EditorSelection
|
|
4048
|
-
|
|
4038
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4049
4039
|
internalDrag?: {
|
|
4050
4040
|
ghost?: HTMLElement
|
|
4051
4041
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4083,7 +4073,7 @@ declare const editorMachine: StateMachine<
|
|
|
4083
4073
|
initialReadOnly: boolean
|
|
4084
4074
|
maxBlocks: number | undefined
|
|
4085
4075
|
selection: EditorSelection
|
|
4086
|
-
|
|
4076
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4087
4077
|
internalDrag?: {
|
|
4088
4078
|
ghost?: HTMLElement
|
|
4089
4079
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4115,7 +4105,7 @@ declare const editorMachine: StateMachine<
|
|
|
4115
4105
|
initialReadOnly: boolean
|
|
4116
4106
|
maxBlocks: number | undefined
|
|
4117
4107
|
selection: EditorSelection
|
|
4118
|
-
|
|
4108
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4119
4109
|
internalDrag?: {
|
|
4120
4110
|
ghost?: HTMLElement
|
|
4121
4111
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4148,7 +4138,7 @@ declare const editorMachine: StateMachine<
|
|
|
4148
4138
|
initialReadOnly: boolean
|
|
4149
4139
|
maxBlocks: number | undefined
|
|
4150
4140
|
selection: EditorSelection
|
|
4151
|
-
|
|
4141
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4152
4142
|
internalDrag?: {
|
|
4153
4143
|
ghost?: HTMLElement
|
|
4154
4144
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4184,7 +4174,7 @@ declare const editorMachine: StateMachine<
|
|
|
4184
4174
|
initialReadOnly: boolean
|
|
4185
4175
|
maxBlocks: number | undefined
|
|
4186
4176
|
selection: EditorSelection
|
|
4187
|
-
|
|
4177
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4188
4178
|
internalDrag?: {
|
|
4189
4179
|
ghost?: HTMLElement
|
|
4190
4180
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4341,7 +4331,7 @@ declare const editorMachine: StateMachine<
|
|
|
4341
4331
|
initialReadOnly: boolean
|
|
4342
4332
|
maxBlocks: number | undefined
|
|
4343
4333
|
selection: EditorSelection
|
|
4344
|
-
|
|
4334
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4345
4335
|
internalDrag?: {
|
|
4346
4336
|
ghost?: HTMLElement
|
|
4347
4337
|
origin: Pick<EventPosition, 'selection'>
|
|
@@ -4598,7 +4588,7 @@ declare const editorMachine: StateMachine<
|
|
|
4598
4588
|
initialReadOnly: boolean
|
|
4599
4589
|
maxBlocks: number | undefined
|
|
4600
4590
|
selection: EditorSelection
|
|
4601
|
-
|
|
4591
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
4602
4592
|
internalDrag?: {
|
|
4603
4593
|
ghost?: HTMLElement
|
|
4604
4594
|
origin: Pick<EventPosition, 'selection'>
|