@portabletext/editor 1.49.7 → 1.49.8

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.
@@ -662,7 +662,13 @@ declare type EditorEmittedEvent =
662
662
  /**
663
663
  * @public
664
664
  */
665
- declare type EditorEvent = ExternalEditorEvent | ExternalBehaviorEvent
665
+ declare type EditorEvent =
666
+ | ExternalEditorEvent
667
+ | ExternalBehaviorEvent
668
+ | {
669
+ type: 'update value'
670
+ value: Array<PortableTextBlock> | undefined
671
+ }
666
672
 
667
673
  /**
668
674
  * @internal
@@ -679,7 +685,7 @@ declare const editorMachine: StateMachine<
679
685
  initialReadOnly: boolean
680
686
  maxBlocks: number | undefined
681
687
  selection: EditorSelection
682
- incomingValue: Array<PortableTextBlock> | undefined
688
+ initialValue: Array<PortableTextBlock> | undefined
683
689
  internalDrag?: {
684
690
  ghost?: HTMLElement
685
691
  origin: Pick<EventPosition, 'selection'>
@@ -701,10 +707,6 @@ declare const editorMachine: StateMachine<
701
707
  type: 'update key generator'
702
708
  keyGenerator: () => string
703
709
  }
704
- | {
705
- type: 'update value'
706
- value: Array<PortableTextBlock> | undefined
707
- }
708
710
  | {
709
711
  type: 'update maxBlocks'
710
712
  maxBlocks: number | undefined
@@ -1023,7 +1025,7 @@ declare const editorMachine: StateMachine<
1023
1025
  initialReadOnly: boolean
1024
1026
  maxBlocks: number | undefined
1025
1027
  selection: EditorSelection
1026
- incomingValue: Array<PortableTextBlock> | undefined
1028
+ initialValue: Array<PortableTextBlock> | undefined
1027
1029
  internalDrag?: {
1028
1030
  ghost?: HTMLElement
1029
1031
  origin: Pick<EventPosition, 'selection'>
@@ -1045,10 +1047,6 @@ declare const editorMachine: StateMachine<
1045
1047
  type: 'update key generator'
1046
1048
  keyGenerator: () => string
1047
1049
  }
1048
- | {
1049
- type: 'update value'
1050
- value: Array<PortableTextBlock> | undefined
1051
- }
1052
1050
  | {
1053
1051
  type: 'update maxBlocks'
1054
1052
  maxBlocks: number | undefined
@@ -1178,10 +1176,6 @@ declare const editorMachine: StateMachine<
1178
1176
  type: 'update key generator'
1179
1177
  keyGenerator: () => string
1180
1178
  }
1181
- | {
1182
- type: 'update value'
1183
- value: Array<PortableTextBlock> | undefined
1184
- }
1185
1179
  | {
1186
1180
  type: 'update maxBlocks'
1187
1181
  maxBlocks: number | undefined
@@ -1302,7 +1296,7 @@ declare const editorMachine: StateMachine<
1302
1296
  selection: null
1303
1297
  initialReadOnly: boolean
1304
1298
  maxBlocks: number | undefined
1305
- incomingValue: PortableTextBlock[] | undefined
1299
+ initialValue: PortableTextBlock[] | undefined
1306
1300
  }
1307
1301
  readonly on: {
1308
1302
  readonly 'notify.blurred': {
@@ -1318,7 +1312,7 @@ declare const editorMachine: StateMachine<
1318
1312
  initialReadOnly: boolean
1319
1313
  maxBlocks: number | undefined
1320
1314
  selection: EditorSelection
1321
- incomingValue: Array<PortableTextBlock> | undefined
1315
+ initialValue: Array<PortableTextBlock> | undefined
1322
1316
  internalDrag?: {
1323
1317
  ghost?: HTMLElement
1324
1318
  origin: Pick<EventPosition, 'selection'>
@@ -1344,10 +1338,6 @@ declare const editorMachine: StateMachine<
1344
1338
  type: 'update key generator'
1345
1339
  keyGenerator: () => string
1346
1340
  }
1347
- | {
1348
- type: 'update value'
1349
- value: Array<PortableTextBlock> | undefined
1350
- }
1351
1341
  | {
1352
1342
  type: 'update maxBlocks'
1353
1343
  maxBlocks: number | undefined
@@ -1522,7 +1512,7 @@ declare const editorMachine: StateMachine<
1522
1512
  initialReadOnly: boolean
1523
1513
  maxBlocks: number | undefined
1524
1514
  selection: EditorSelection
1525
- incomingValue: Array<PortableTextBlock> | undefined
1515
+ initialValue: Array<PortableTextBlock> | undefined
1526
1516
  internalDrag?: {
1527
1517
  ghost?: HTMLElement
1528
1518
  origin: Pick<EventPosition, 'selection'>
@@ -1547,10 +1537,6 @@ declare const editorMachine: StateMachine<
1547
1537
  type: 'update key generator'
1548
1538
  keyGenerator: () => string
1549
1539
  }
1550
- | {
1551
- type: 'update value'
1552
- value: Array<PortableTextBlock> | undefined
1553
- }
1554
1540
  | {
1555
1541
  type: 'update maxBlocks'
1556
1542
  maxBlocks: number | undefined
@@ -1725,7 +1711,7 @@ declare const editorMachine: StateMachine<
1725
1711
  initialReadOnly: boolean
1726
1712
  maxBlocks: number | undefined
1727
1713
  selection: EditorSelection
1728
- incomingValue: Array<PortableTextBlock> | undefined
1714
+ initialValue: Array<PortableTextBlock> | undefined
1729
1715
  internalDrag?: {
1730
1716
  ghost?: HTMLElement
1731
1717
  origin: Pick<EventPosition, 'selection'>
@@ -1753,10 +1739,6 @@ declare const editorMachine: StateMachine<
1753
1739
  type: 'update key generator'
1754
1740
  keyGenerator: () => string
1755
1741
  }
1756
- | {
1757
- type: 'update value'
1758
- value: Array<PortableTextBlock> | undefined
1759
- }
1760
1742
  | {
1761
1743
  type: 'update maxBlocks'
1762
1744
  maxBlocks: number | undefined
@@ -1931,7 +1913,7 @@ declare const editorMachine: StateMachine<
1931
1913
  initialReadOnly: boolean
1932
1914
  maxBlocks: number | undefined
1933
1915
  selection: EditorSelection
1934
- incomingValue: Array<PortableTextBlock> | undefined
1916
+ initialValue: Array<PortableTextBlock> | undefined
1935
1917
  internalDrag?: {
1936
1918
  ghost?: HTMLElement
1937
1919
  origin: Pick<EventPosition, 'selection'>
@@ -1958,10 +1940,6 @@ declare const editorMachine: StateMachine<
1958
1940
  type: 'update key generator'
1959
1941
  keyGenerator: () => string
1960
1942
  }
1961
- | {
1962
- type: 'update value'
1963
- value: Array<PortableTextBlock> | undefined
1964
- }
1965
1943
  | {
1966
1944
  type: 'update maxBlocks'
1967
1945
  maxBlocks: number | undefined
@@ -2136,7 +2114,7 @@ declare const editorMachine: StateMachine<
2136
2114
  initialReadOnly: boolean
2137
2115
  maxBlocks: number | undefined
2138
2116
  selection: EditorSelection
2139
- incomingValue: Array<PortableTextBlock> | undefined
2117
+ initialValue: Array<PortableTextBlock> | undefined
2140
2118
  internalDrag?: {
2141
2119
  ghost?: HTMLElement
2142
2120
  origin: Pick<EventPosition, 'selection'>
@@ -2162,10 +2140,6 @@ declare const editorMachine: StateMachine<
2162
2140
  type: 'update key generator'
2163
2141
  keyGenerator: () => string
2164
2142
  }
2165
- | {
2166
- type: 'update value'
2167
- value: Array<PortableTextBlock> | undefined
2168
- }
2169
2143
  | {
2170
2144
  type: 'update maxBlocks'
2171
2145
  maxBlocks: number | undefined
@@ -2341,7 +2315,7 @@ declare const editorMachine: StateMachine<
2341
2315
  initialReadOnly: boolean
2342
2316
  maxBlocks: number | undefined
2343
2317
  selection: EditorSelection
2344
- incomingValue: Array<PortableTextBlock> | undefined
2318
+ initialValue: Array<PortableTextBlock> | undefined
2345
2319
  internalDrag?: {
2346
2320
  ghost?: HTMLElement
2347
2321
  origin: Pick<EventPosition, 'selection'>
@@ -2367,10 +2341,6 @@ declare const editorMachine: StateMachine<
2367
2341
  type: 'update key generator'
2368
2342
  keyGenerator: () => string
2369
2343
  }
2370
- | {
2371
- type: 'update value'
2372
- value: Array<PortableTextBlock> | undefined
2373
- }
2374
2344
  | {
2375
2345
  type: 'update maxBlocks'
2376
2346
  maxBlocks: number | undefined
@@ -2497,7 +2467,7 @@ declare const editorMachine: StateMachine<
2497
2467
  initialReadOnly: boolean
2498
2468
  maxBlocks: number | undefined
2499
2469
  selection: EditorSelection
2500
- incomingValue: Array<PortableTextBlock> | undefined
2470
+ initialValue: Array<PortableTextBlock> | undefined
2501
2471
  internalDrag?: {
2502
2472
  ghost?: HTMLElement
2503
2473
  origin: Pick<EventPosition, 'selection'>
@@ -2523,10 +2493,6 @@ declare const editorMachine: StateMachine<
2523
2493
  type: 'update key generator'
2524
2494
  keyGenerator: () => string
2525
2495
  }
2526
- | {
2527
- type: 'update value'
2528
- value: Array<PortableTextBlock> | undefined
2529
- }
2530
2496
  | {
2531
2497
  type: 'update maxBlocks'
2532
2498
  maxBlocks: number | undefined
@@ -2702,7 +2668,7 @@ declare const editorMachine: StateMachine<
2702
2668
  initialReadOnly: boolean
2703
2669
  maxBlocks: number | undefined
2704
2670
  selection: EditorSelection
2705
- incomingValue: Array<PortableTextBlock> | undefined
2671
+ initialValue: Array<PortableTextBlock> | undefined
2706
2672
  internalDrag?: {
2707
2673
  ghost?: HTMLElement
2708
2674
  origin: Pick<EventPosition, 'selection'>
@@ -2728,10 +2694,6 @@ declare const editorMachine: StateMachine<
2728
2694
  type: 'update key generator'
2729
2695
  keyGenerator: () => string
2730
2696
  }
2731
- | {
2732
- type: 'update value'
2733
- value: Array<PortableTextBlock> | undefined
2734
- }
2735
2697
  | {
2736
2698
  type: 'update maxBlocks'
2737
2699
  maxBlocks: number | undefined
@@ -2906,7 +2868,7 @@ declare const editorMachine: StateMachine<
2906
2868
  initialReadOnly: boolean
2907
2869
  maxBlocks: number | undefined
2908
2870
  selection: EditorSelection
2909
- incomingValue: Array<PortableTextBlock> | undefined
2871
+ initialValue: Array<PortableTextBlock> | undefined
2910
2872
  internalDrag?: {
2911
2873
  ghost?: HTMLElement
2912
2874
  origin: Pick<EventPosition, 'selection'>
@@ -2931,10 +2893,6 @@ declare const editorMachine: StateMachine<
2931
2893
  type: 'update key generator'
2932
2894
  keyGenerator: () => string
2933
2895
  }
2934
- | {
2935
- type: 'update value'
2936
- value: Array<PortableTextBlock> | undefined
2937
- }
2938
2896
  | {
2939
2897
  type: 'update maxBlocks'
2940
2898
  maxBlocks: number | undefined
@@ -3109,7 +3067,7 @@ declare const editorMachine: StateMachine<
3109
3067
  initialReadOnly: boolean
3110
3068
  maxBlocks: number | undefined
3111
3069
  selection: EditorSelection
3112
- incomingValue: Array<PortableTextBlock> | undefined
3070
+ initialValue: Array<PortableTextBlock> | undefined
3113
3071
  internalDrag?: {
3114
3072
  ghost?: HTMLElement
3115
3073
  origin: Pick<EventPosition, 'selection'>
@@ -3135,10 +3093,6 @@ declare const editorMachine: StateMachine<
3135
3093
  type: 'update key generator'
3136
3094
  keyGenerator: () => string
3137
3095
  }
3138
- | {
3139
- type: 'update value'
3140
- value: Array<PortableTextBlock> | undefined
3141
- }
3142
3096
  | {
3143
3097
  type: 'update maxBlocks'
3144
3098
  maxBlocks: number | undefined
@@ -3319,7 +3273,7 @@ declare const editorMachine: StateMachine<
3319
3273
  initialReadOnly: boolean
3320
3274
  maxBlocks: number | undefined
3321
3275
  selection: EditorSelection
3322
- incomingValue: Array<PortableTextBlock> | undefined
3276
+ initialValue: Array<PortableTextBlock> | undefined
3323
3277
  internalDrag?: {
3324
3278
  ghost?: HTMLElement
3325
3279
  origin: Pick<EventPosition, 'selection'>
@@ -3345,10 +3299,6 @@ declare const editorMachine: StateMachine<
3345
3299
  type: 'update key generator'
3346
3300
  keyGenerator: () => string
3347
3301
  }
3348
- | {
3349
- type: 'update value'
3350
- value: Array<PortableTextBlock> | undefined
3351
- }
3352
3302
  | {
3353
3303
  type: 'update maxBlocks'
3354
3304
  maxBlocks: number | undefined
@@ -3467,164 +3417,6 @@ declare const editorMachine: StateMachine<
3467
3417
  readonly 'update schema': {
3468
3418
  readonly actions: 'assign schema'
3469
3419
  }
3470
- readonly 'update value': {
3471
- readonly actions: ActionFunction<
3472
- {
3473
- behaviors: Set<BehaviorConfig>
3474
- converters: Set<Converter>
3475
- getLegacySchema: () => PortableTextMemberSchemaTypes
3476
- keyGenerator: () => string
3477
- pendingEvents: Array<InternalPatchEvent | MutationEvent>
3478
- pendingIncomingPatchesEvents: Array<PatchesEvent>
3479
- schema: EditorSchema
3480
- initialReadOnly: boolean
3481
- maxBlocks: number | undefined
3482
- selection: EditorSelection
3483
- incomingValue: Array<PortableTextBlock> | undefined
3484
- internalDrag?: {
3485
- ghost?: HTMLElement
3486
- origin: Pick<EventPosition, 'selection'>
3487
- }
3488
- slateEditor?: PortableTextSlateEditor
3489
- },
3490
- {
3491
- type: 'update value'
3492
- value: Array<PortableTextBlock> | undefined
3493
- },
3494
- | InternalPatchEvent
3495
- | MutationEvent
3496
- | PatchesEvent
3497
- | {
3498
- type: 'update readOnly'
3499
- readOnly: boolean
3500
- }
3501
- | {
3502
- type: 'update schema'
3503
- schema: EditorSchema
3504
- }
3505
- | {
3506
- type: 'update key generator'
3507
- keyGenerator: () => string
3508
- }
3509
- | {
3510
- type: 'update value'
3511
- value: Array<PortableTextBlock> | undefined
3512
- }
3513
- | {
3514
- type: 'update maxBlocks'
3515
- maxBlocks: number | undefined
3516
- }
3517
- | {
3518
- type: 'add behavior'
3519
- behaviorConfig: BehaviorConfig
3520
- }
3521
- | {
3522
- type: 'remove behavior'
3523
- behaviorConfig: BehaviorConfig
3524
- }
3525
- | {
3526
- type: 'blur'
3527
- editor: PortableTextSlateEditor
3528
- }
3529
- | {
3530
- type: 'focus'
3531
- editor: PortableTextSlateEditor
3532
- }
3533
- | {
3534
- type: 'normalizing'
3535
- }
3536
- | {
3537
- type: 'done normalizing'
3538
- }
3539
- | {
3540
- type: 'done syncing value'
3541
- }
3542
- | {
3543
- type: 'syncing value'
3544
- }
3545
- | {
3546
- type: 'behavior event'
3547
- behaviorEvent: BehaviorEvent
3548
- editor: PortableTextSlateEditor
3549
- nativeEvent?: {
3550
- preventDefault: () => void
3551
- }
3552
- }
3553
- | {
3554
- type: 'notify.patch'
3555
- patch: Patch
3556
- }
3557
- | {
3558
- type: 'notify.mutation'
3559
- patches: Array<Patch>
3560
- snapshot: Array<PortableTextBlock> | undefined
3561
- value: Array<PortableTextBlock> | undefined
3562
- }
3563
- | {
3564
- type: 'notify.blurred'
3565
- event: FocusEvent_2<HTMLDivElement, Element>
3566
- }
3567
- | {
3568
- type: 'notify.done loading'
3569
- }
3570
- | {
3571
- type: 'notify.editable'
3572
- }
3573
- | {
3574
- type: 'notify.error'
3575
- name: string
3576
- description: string
3577
- data: unknown
3578
- }
3579
- | {
3580
- type: 'notify.focused'
3581
- event: FocusEvent_2<HTMLDivElement, Element>
3582
- }
3583
- | {
3584
- type: 'notify.invalid value'
3585
- resolution: InvalidValueResolution | null
3586
- value: Array<PortableTextBlock> | undefined
3587
- }
3588
- | {
3589
- type: 'notify.loading'
3590
- }
3591
- | {
3592
- type: 'notify.read only'
3593
- }
3594
- | {
3595
- type: 'notify.ready'
3596
- }
3597
- | {
3598
- type: 'notify.selection'
3599
- selection: EditorSelection
3600
- }
3601
- | {
3602
- type: 'notify.value changed'
3603
- value: Array<PortableTextBlock> | undefined
3604
- }
3605
- | {
3606
- type: 'notify.unset'
3607
- previousValue: Array<PortableTextBlock>
3608
- }
3609
- | {
3610
- type: 'dragstart'
3611
- origin: Pick<EventPosition, 'selection'>
3612
- ghost?: HTMLElement
3613
- }
3614
- | {
3615
- type: 'dragend'
3616
- }
3617
- | {
3618
- type: 'drop'
3619
- },
3620
- undefined,
3621
- never,
3622
- never,
3623
- never,
3624
- never,
3625
- never
3626
- >
3627
- }
3628
3420
  readonly 'update maxBlocks': {
3629
3421
  readonly actions: ActionFunction<
3630
3422
  {
@@ -3638,7 +3430,7 @@ declare const editorMachine: StateMachine<
3638
3430
  initialReadOnly: boolean
3639
3431
  maxBlocks: number | undefined
3640
3432
  selection: EditorSelection
3641
- incomingValue: Array<PortableTextBlock> | undefined
3433
+ initialValue: Array<PortableTextBlock> | undefined
3642
3434
  internalDrag?: {
3643
3435
  ghost?: HTMLElement
3644
3436
  origin: Pick<EventPosition, 'selection'>
@@ -3664,10 +3456,6 @@ declare const editorMachine: StateMachine<
3664
3456
  type: 'update key generator'
3665
3457
  keyGenerator: () => string
3666
3458
  }
3667
- | {
3668
- type: 'update value'
3669
- value: Array<PortableTextBlock> | undefined
3670
- }
3671
3459
  | {
3672
3460
  type: 'update maxBlocks'
3673
3461
  maxBlocks: number | undefined
@@ -3808,7 +3596,7 @@ declare const editorMachine: StateMachine<
3808
3596
  initialReadOnly: boolean
3809
3597
  maxBlocks: number | undefined
3810
3598
  selection: EditorSelection
3811
- incomingValue: Array<PortableTextBlock> | undefined
3599
+ initialValue: Array<PortableTextBlock> | undefined
3812
3600
  internalDrag?: {
3813
3601
  ghost?: HTMLElement
3814
3602
  origin: Pick<EventPosition, 'selection'>
@@ -3850,7 +3638,7 @@ declare const editorMachine: StateMachine<
3850
3638
  initialReadOnly: boolean
3851
3639
  maxBlocks: number | undefined
3852
3640
  selection: EditorSelection
3853
- incomingValue: Array<PortableTextBlock> | undefined
3641
+ initialValue: Array<PortableTextBlock> | undefined
3854
3642
  internalDrag?: {
3855
3643
  ghost?: HTMLElement
3856
3644
  origin: Pick<EventPosition, 'selection'>
@@ -3887,7 +3675,7 @@ declare const editorMachine: StateMachine<
3887
3675
  initialReadOnly: boolean
3888
3676
  maxBlocks: number | undefined
3889
3677
  selection: EditorSelection
3890
- incomingValue: Array<PortableTextBlock> | undefined
3678
+ initialValue: Array<PortableTextBlock> | undefined
3891
3679
  internalDrag?: {
3892
3680
  ghost?: HTMLElement
3893
3681
  origin: Pick<EventPosition, 'selection'>
@@ -3923,7 +3711,7 @@ declare const editorMachine: StateMachine<
3923
3711
  initialReadOnly: boolean
3924
3712
  maxBlocks: number | undefined
3925
3713
  selection: EditorSelection
3926
- incomingValue: Array<PortableTextBlock> | undefined
3714
+ initialValue: Array<PortableTextBlock> | undefined
3927
3715
  internalDrag?: {
3928
3716
  ghost?: HTMLElement
3929
3717
  origin: Pick<EventPosition, 'selection'>
@@ -3959,7 +3747,7 @@ declare const editorMachine: StateMachine<
3959
3747
  initialReadOnly: boolean
3960
3748
  maxBlocks: number | undefined
3961
3749
  selection: EditorSelection
3962
- incomingValue: Array<PortableTextBlock> | undefined
3750
+ initialValue: Array<PortableTextBlock> | undefined
3963
3751
  internalDrag?: {
3964
3752
  ghost?: HTMLElement
3965
3753
  origin: Pick<EventPosition, 'selection'>
@@ -3985,10 +3773,6 @@ declare const editorMachine: StateMachine<
3985
3773
  type: 'update key generator'
3986
3774
  keyGenerator: () => string
3987
3775
  }
3988
- | {
3989
- type: 'update value'
3990
- value: Array<PortableTextBlock> | undefined
3991
- }
3992
3776
  | {
3993
3777
  type: 'update maxBlocks'
3994
3778
  maxBlocks: number | undefined
@@ -4128,7 +3912,7 @@ declare const editorMachine: StateMachine<
4128
3912
  initialReadOnly: boolean
4129
3913
  maxBlocks: number | undefined
4130
3914
  selection: EditorSelection
4131
- incomingValue: Array<PortableTextBlock> | undefined
3915
+ initialValue: Array<PortableTextBlock> | undefined
4132
3916
  internalDrag?: {
4133
3917
  ghost?: HTMLElement
4134
3918
  origin: Pick<EventPosition, 'selection'>
@@ -4155,10 +3939,6 @@ declare const editorMachine: StateMachine<
4155
3939
  type: 'update key generator'
4156
3940
  keyGenerator: () => string
4157
3941
  }
4158
- | {
4159
- type: 'update value'
4160
- value: Array<PortableTextBlock> | undefined
4161
- }
4162
3942
  | {
4163
3943
  type: 'update maxBlocks'
4164
3944
  maxBlocks: number | undefined
@@ -4324,7 +4104,7 @@ declare const editorMachine: StateMachine<
4324
4104
  initialReadOnly: boolean
4325
4105
  maxBlocks: number | undefined
4326
4106
  selection: EditorSelection
4327
- incomingValue: Array<PortableTextBlock> | undefined
4107
+ initialValue: Array<PortableTextBlock> | undefined
4328
4108
  internalDrag?: {
4329
4109
  ghost?: HTMLElement
4330
4110
  origin: Pick<EventPosition, 'selection'>
@@ -4346,10 +4126,6 @@ declare const editorMachine: StateMachine<
4346
4126
  type: 'update key generator'
4347
4127
  keyGenerator: () => string
4348
4128
  }
4349
- | {
4350
- type: 'update value'
4351
- value: Array<PortableTextBlock> | undefined
4352
- }
4353
4129
  | {
4354
4130
  type: 'update maxBlocks'
4355
4131
  maxBlocks: number | undefined
@@ -4472,10 +4248,6 @@ declare const editorMachine: StateMachine<
4472
4248
  type: 'update key generator'
4473
4249
  keyGenerator: () => string
4474
4250
  }
4475
- | {
4476
- type: 'update value'
4477
- value: Array<PortableTextBlock> | undefined
4478
- }
4479
4251
  | {
4480
4252
  type: 'update maxBlocks'
4481
4253
  maxBlocks: number | undefined
@@ -4596,7 +4368,7 @@ declare const editorMachine: StateMachine<
4596
4368
  initialReadOnly: boolean
4597
4369
  maxBlocks: number | undefined
4598
4370
  selection: EditorSelection
4599
- incomingValue: Array<PortableTextBlock> | undefined
4371
+ initialValue: Array<PortableTextBlock> | undefined
4600
4372
  internalDrag?: {
4601
4373
  ghost?: HTMLElement
4602
4374
  origin: Pick<EventPosition, 'selection'>
@@ -4618,10 +4390,6 @@ declare const editorMachine: StateMachine<
4618
4390
  type: 'update key generator'
4619
4391
  keyGenerator: () => string
4620
4392
  }
4621
- | {
4622
- type: 'update value'
4623
- value: Array<PortableTextBlock> | undefined
4624
- }
4625
4393
  | {
4626
4394
  type: 'update maxBlocks'
4627
4395
  maxBlocks: number | undefined
@@ -4744,10 +4512,6 @@ declare const editorMachine: StateMachine<
4744
4512
  type: 'update key generator'
4745
4513
  keyGenerator: () => string
4746
4514
  }
4747
- | {
4748
- type: 'update value'
4749
- value: Array<PortableTextBlock> | undefined
4750
- }
4751
4515
  | {
4752
4516
  type: 'update maxBlocks'
4753
4517
  maxBlocks: number | undefined
@@ -4929,9 +4693,7 @@ declare const editorMachine: StateMachine<
4929
4693
  initialReadOnly: boolean
4930
4694
  maxBlocks: number | undefined
4931
4695
  selection: EditorSelection
4932
- incomingValue:
4933
- | Array<PortableTextBlock>
4934
- | undefined
4696
+ initialValue: Array<PortableTextBlock> | undefined
4935
4697
  internalDrag?: {
4936
4698
  ghost?: HTMLElement
4937
4699
  origin: Pick<EventPosition, 'selection'>
@@ -4954,10 +4716,6 @@ declare const editorMachine: StateMachine<
4954
4716
  type: 'update key generator'
4955
4717
  keyGenerator: () => string
4956
4718
  }
4957
- | {
4958
- type: 'update value'
4959
- value: Array<PortableTextBlock> | undefined
4960
- }
4961
4719
  | {
4962
4720
  type: 'update maxBlocks'
4963
4721
  maxBlocks: number | undefined
@@ -5428,10 +5186,6 @@ declare type ExternalEditorEvent =
5428
5186
  type: 'update key generator'
5429
5187
  keyGenerator: () => string
5430
5188
  }
5431
- | {
5432
- type: 'update value'
5433
- value: Array<PortableTextBlock> | undefined
5434
- }
5435
5189
  | {
5436
5190
  type: 'update maxBlocks'
5437
5191
  maxBlocks: number | undefined