@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.
package/lib/index.d.cts CHANGED
@@ -856,7 +856,13 @@ export declare type EditorEmittedEvent =
856
856
  /**
857
857
  * @public
858
858
  */
859
- export declare type EditorEvent = ExternalEditorEvent | ExternalBehaviorEvent
859
+ export declare type EditorEvent =
860
+ | ExternalEditorEvent
861
+ | ExternalBehaviorEvent
862
+ | {
863
+ type: 'update value'
864
+ value: Array<PortableTextBlock> | undefined
865
+ }
860
866
 
861
867
  /**
862
868
  * @public
@@ -886,7 +892,7 @@ declare const editorMachine: StateMachine<
886
892
  initialReadOnly: boolean
887
893
  maxBlocks: number | undefined
888
894
  selection: EditorSelection
889
- incomingValue: Array<PortableTextBlock> | undefined
895
+ initialValue: Array<PortableTextBlock> | undefined
890
896
  internalDrag?: {
891
897
  ghost?: HTMLElement
892
898
  origin: Pick<EventPosition, 'selection'>
@@ -908,10 +914,6 @@ declare const editorMachine: StateMachine<
908
914
  type: 'update key generator'
909
915
  keyGenerator: () => string
910
916
  }
911
- | {
912
- type: 'update value'
913
- value: Array<PortableTextBlock> | undefined
914
- }
915
917
  | {
916
918
  type: 'update maxBlocks'
917
919
  maxBlocks: number | undefined
@@ -1230,7 +1232,7 @@ declare const editorMachine: StateMachine<
1230
1232
  initialReadOnly: boolean
1231
1233
  maxBlocks: number | undefined
1232
1234
  selection: EditorSelection
1233
- incomingValue: Array<PortableTextBlock> | undefined
1235
+ initialValue: Array<PortableTextBlock> | undefined
1234
1236
  internalDrag?: {
1235
1237
  ghost?: HTMLElement
1236
1238
  origin: Pick<EventPosition, 'selection'>
@@ -1252,10 +1254,6 @@ declare const editorMachine: StateMachine<
1252
1254
  type: 'update key generator'
1253
1255
  keyGenerator: () => string
1254
1256
  }
1255
- | {
1256
- type: 'update value'
1257
- value: Array<PortableTextBlock> | undefined
1258
- }
1259
1257
  | {
1260
1258
  type: 'update maxBlocks'
1261
1259
  maxBlocks: number | undefined
@@ -1385,10 +1383,6 @@ declare const editorMachine: StateMachine<
1385
1383
  type: 'update key generator'
1386
1384
  keyGenerator: () => string
1387
1385
  }
1388
- | {
1389
- type: 'update value'
1390
- value: Array<PortableTextBlock> | undefined
1391
- }
1392
1386
  | {
1393
1387
  type: 'update maxBlocks'
1394
1388
  maxBlocks: number | undefined
@@ -1509,7 +1503,7 @@ declare const editorMachine: StateMachine<
1509
1503
  selection: null
1510
1504
  initialReadOnly: boolean
1511
1505
  maxBlocks: number | undefined
1512
- incomingValue: PortableTextBlock[] | undefined
1506
+ initialValue: PortableTextBlock[] | undefined
1513
1507
  }
1514
1508
  readonly on: {
1515
1509
  readonly 'notify.blurred': {
@@ -1525,7 +1519,7 @@ declare const editorMachine: StateMachine<
1525
1519
  initialReadOnly: boolean
1526
1520
  maxBlocks: number | undefined
1527
1521
  selection: EditorSelection
1528
- incomingValue: Array<PortableTextBlock> | undefined
1522
+ initialValue: Array<PortableTextBlock> | undefined
1529
1523
  internalDrag?: {
1530
1524
  ghost?: HTMLElement
1531
1525
  origin: Pick<EventPosition, 'selection'>
@@ -1551,10 +1545,6 @@ declare const editorMachine: StateMachine<
1551
1545
  type: 'update key generator'
1552
1546
  keyGenerator: () => string
1553
1547
  }
1554
- | {
1555
- type: 'update value'
1556
- value: Array<PortableTextBlock> | undefined
1557
- }
1558
1548
  | {
1559
1549
  type: 'update maxBlocks'
1560
1550
  maxBlocks: number | undefined
@@ -1729,7 +1719,7 @@ declare const editorMachine: StateMachine<
1729
1719
  initialReadOnly: boolean
1730
1720
  maxBlocks: number | undefined
1731
1721
  selection: EditorSelection
1732
- incomingValue: Array<PortableTextBlock> | undefined
1722
+ initialValue: Array<PortableTextBlock> | undefined
1733
1723
  internalDrag?: {
1734
1724
  ghost?: HTMLElement
1735
1725
  origin: Pick<EventPosition, 'selection'>
@@ -1754,10 +1744,6 @@ declare const editorMachine: StateMachine<
1754
1744
  type: 'update key generator'
1755
1745
  keyGenerator: () => string
1756
1746
  }
1757
- | {
1758
- type: 'update value'
1759
- value: Array<PortableTextBlock> | undefined
1760
- }
1761
1747
  | {
1762
1748
  type: 'update maxBlocks'
1763
1749
  maxBlocks: number | undefined
@@ -1932,7 +1918,7 @@ declare const editorMachine: StateMachine<
1932
1918
  initialReadOnly: boolean
1933
1919
  maxBlocks: number | undefined
1934
1920
  selection: EditorSelection
1935
- incomingValue: Array<PortableTextBlock> | undefined
1921
+ initialValue: Array<PortableTextBlock> | undefined
1936
1922
  internalDrag?: {
1937
1923
  ghost?: HTMLElement
1938
1924
  origin: Pick<EventPosition, 'selection'>
@@ -1960,10 +1946,6 @@ declare const editorMachine: StateMachine<
1960
1946
  type: 'update key generator'
1961
1947
  keyGenerator: () => string
1962
1948
  }
1963
- | {
1964
- type: 'update value'
1965
- value: Array<PortableTextBlock> | undefined
1966
- }
1967
1949
  | {
1968
1950
  type: 'update maxBlocks'
1969
1951
  maxBlocks: number | undefined
@@ -2138,7 +2120,7 @@ declare const editorMachine: StateMachine<
2138
2120
  initialReadOnly: boolean
2139
2121
  maxBlocks: number | undefined
2140
2122
  selection: EditorSelection
2141
- incomingValue: Array<PortableTextBlock> | undefined
2123
+ initialValue: Array<PortableTextBlock> | undefined
2142
2124
  internalDrag?: {
2143
2125
  ghost?: HTMLElement
2144
2126
  origin: Pick<EventPosition, 'selection'>
@@ -2165,10 +2147,6 @@ declare const editorMachine: StateMachine<
2165
2147
  type: 'update key generator'
2166
2148
  keyGenerator: () => string
2167
2149
  }
2168
- | {
2169
- type: 'update value'
2170
- value: Array<PortableTextBlock> | undefined
2171
- }
2172
2150
  | {
2173
2151
  type: 'update maxBlocks'
2174
2152
  maxBlocks: number | undefined
@@ -2343,7 +2321,7 @@ declare const editorMachine: StateMachine<
2343
2321
  initialReadOnly: boolean
2344
2322
  maxBlocks: number | undefined
2345
2323
  selection: EditorSelection
2346
- incomingValue: Array<PortableTextBlock> | undefined
2324
+ initialValue: Array<PortableTextBlock> | undefined
2347
2325
  internalDrag?: {
2348
2326
  ghost?: HTMLElement
2349
2327
  origin: Pick<EventPosition, 'selection'>
@@ -2369,10 +2347,6 @@ declare const editorMachine: StateMachine<
2369
2347
  type: 'update key generator'
2370
2348
  keyGenerator: () => string
2371
2349
  }
2372
- | {
2373
- type: 'update value'
2374
- value: Array<PortableTextBlock> | undefined
2375
- }
2376
2350
  | {
2377
2351
  type: 'update maxBlocks'
2378
2352
  maxBlocks: number | undefined
@@ -2548,7 +2522,7 @@ declare const editorMachine: StateMachine<
2548
2522
  initialReadOnly: boolean
2549
2523
  maxBlocks: number | undefined
2550
2524
  selection: EditorSelection
2551
- incomingValue: Array<PortableTextBlock> | undefined
2525
+ initialValue: Array<PortableTextBlock> | undefined
2552
2526
  internalDrag?: {
2553
2527
  ghost?: HTMLElement
2554
2528
  origin: Pick<EventPosition, 'selection'>
@@ -2574,10 +2548,6 @@ declare const editorMachine: StateMachine<
2574
2548
  type: 'update key generator'
2575
2549
  keyGenerator: () => string
2576
2550
  }
2577
- | {
2578
- type: 'update value'
2579
- value: Array<PortableTextBlock> | undefined
2580
- }
2581
2551
  | {
2582
2552
  type: 'update maxBlocks'
2583
2553
  maxBlocks: number | undefined
@@ -2704,7 +2674,7 @@ declare const editorMachine: StateMachine<
2704
2674
  initialReadOnly: boolean
2705
2675
  maxBlocks: number | undefined
2706
2676
  selection: EditorSelection
2707
- incomingValue: Array<PortableTextBlock> | undefined
2677
+ initialValue: Array<PortableTextBlock> | undefined
2708
2678
  internalDrag?: {
2709
2679
  ghost?: HTMLElement
2710
2680
  origin: Pick<EventPosition, 'selection'>
@@ -2730,10 +2700,6 @@ declare const editorMachine: StateMachine<
2730
2700
  type: 'update key generator'
2731
2701
  keyGenerator: () => string
2732
2702
  }
2733
- | {
2734
- type: 'update value'
2735
- value: Array<PortableTextBlock> | undefined
2736
- }
2737
2703
  | {
2738
2704
  type: 'update maxBlocks'
2739
2705
  maxBlocks: number | undefined
@@ -2909,7 +2875,7 @@ declare const editorMachine: StateMachine<
2909
2875
  initialReadOnly: boolean
2910
2876
  maxBlocks: number | undefined
2911
2877
  selection: EditorSelection
2912
- incomingValue: Array<PortableTextBlock> | undefined
2878
+ initialValue: Array<PortableTextBlock> | undefined
2913
2879
  internalDrag?: {
2914
2880
  ghost?: HTMLElement
2915
2881
  origin: Pick<EventPosition, 'selection'>
@@ -2935,10 +2901,6 @@ declare const editorMachine: StateMachine<
2935
2901
  type: 'update key generator'
2936
2902
  keyGenerator: () => string
2937
2903
  }
2938
- | {
2939
- type: 'update value'
2940
- value: Array<PortableTextBlock> | undefined
2941
- }
2942
2904
  | {
2943
2905
  type: 'update maxBlocks'
2944
2906
  maxBlocks: number | undefined
@@ -3113,7 +3075,7 @@ declare const editorMachine: StateMachine<
3113
3075
  initialReadOnly: boolean
3114
3076
  maxBlocks: number | undefined
3115
3077
  selection: EditorSelection
3116
- incomingValue: Array<PortableTextBlock> | undefined
3078
+ initialValue: Array<PortableTextBlock> | undefined
3117
3079
  internalDrag?: {
3118
3080
  ghost?: HTMLElement
3119
3081
  origin: Pick<EventPosition, 'selection'>
@@ -3138,10 +3100,6 @@ declare const editorMachine: StateMachine<
3138
3100
  type: 'update key generator'
3139
3101
  keyGenerator: () => string
3140
3102
  }
3141
- | {
3142
- type: 'update value'
3143
- value: Array<PortableTextBlock> | undefined
3144
- }
3145
3103
  | {
3146
3104
  type: 'update maxBlocks'
3147
3105
  maxBlocks: number | undefined
@@ -3316,7 +3274,7 @@ declare const editorMachine: StateMachine<
3316
3274
  initialReadOnly: boolean
3317
3275
  maxBlocks: number | undefined
3318
3276
  selection: EditorSelection
3319
- incomingValue: Array<PortableTextBlock> | undefined
3277
+ initialValue: Array<PortableTextBlock> | undefined
3320
3278
  internalDrag?: {
3321
3279
  ghost?: HTMLElement
3322
3280
  origin: Pick<EventPosition, 'selection'>
@@ -3342,10 +3300,6 @@ declare const editorMachine: StateMachine<
3342
3300
  type: 'update key generator'
3343
3301
  keyGenerator: () => string
3344
3302
  }
3345
- | {
3346
- type: 'update value'
3347
- value: Array<PortableTextBlock> | undefined
3348
- }
3349
3303
  | {
3350
3304
  type: 'update maxBlocks'
3351
3305
  maxBlocks: number | undefined
@@ -3526,7 +3480,7 @@ declare const editorMachine: StateMachine<
3526
3480
  initialReadOnly: boolean
3527
3481
  maxBlocks: number | undefined
3528
3482
  selection: EditorSelection
3529
- incomingValue: Array<PortableTextBlock> | undefined
3483
+ initialValue: Array<PortableTextBlock> | undefined
3530
3484
  internalDrag?: {
3531
3485
  ghost?: HTMLElement
3532
3486
  origin: Pick<EventPosition, 'selection'>
@@ -3552,10 +3506,6 @@ declare const editorMachine: StateMachine<
3552
3506
  type: 'update key generator'
3553
3507
  keyGenerator: () => string
3554
3508
  }
3555
- | {
3556
- type: 'update value'
3557
- value: Array<PortableTextBlock> | undefined
3558
- }
3559
3509
  | {
3560
3510
  type: 'update maxBlocks'
3561
3511
  maxBlocks: number | undefined
@@ -3674,164 +3624,6 @@ declare const editorMachine: StateMachine<
3674
3624
  readonly 'update schema': {
3675
3625
  readonly actions: 'assign schema'
3676
3626
  }
3677
- readonly 'update value': {
3678
- readonly actions: ActionFunction<
3679
- {
3680
- behaviors: Set<BehaviorConfig>
3681
- converters: Set<Converter>
3682
- getLegacySchema: () => PortableTextMemberSchemaTypes
3683
- keyGenerator: () => string
3684
- pendingEvents: Array<InternalPatchEvent | MutationEvent>
3685
- pendingIncomingPatchesEvents: Array<PatchesEvent>
3686
- schema: EditorSchema
3687
- initialReadOnly: boolean
3688
- maxBlocks: number | undefined
3689
- selection: EditorSelection
3690
- incomingValue: Array<PortableTextBlock> | undefined
3691
- internalDrag?: {
3692
- ghost?: HTMLElement
3693
- origin: Pick<EventPosition, 'selection'>
3694
- }
3695
- slateEditor?: PortableTextSlateEditor
3696
- },
3697
- {
3698
- type: 'update value'
3699
- value: Array<PortableTextBlock> | undefined
3700
- },
3701
- | InternalPatchEvent
3702
- | MutationEvent
3703
- | PatchesEvent
3704
- | {
3705
- type: 'update readOnly'
3706
- readOnly: boolean
3707
- }
3708
- | {
3709
- type: 'update schema'
3710
- schema: EditorSchema
3711
- }
3712
- | {
3713
- type: 'update key generator'
3714
- keyGenerator: () => string
3715
- }
3716
- | {
3717
- type: 'update value'
3718
- value: Array<PortableTextBlock> | undefined
3719
- }
3720
- | {
3721
- type: 'update maxBlocks'
3722
- maxBlocks: number | undefined
3723
- }
3724
- | {
3725
- type: 'add behavior'
3726
- behaviorConfig: BehaviorConfig
3727
- }
3728
- | {
3729
- type: 'remove behavior'
3730
- behaviorConfig: BehaviorConfig
3731
- }
3732
- | {
3733
- type: 'blur'
3734
- editor: PortableTextSlateEditor
3735
- }
3736
- | {
3737
- type: 'focus'
3738
- editor: PortableTextSlateEditor
3739
- }
3740
- | {
3741
- type: 'normalizing'
3742
- }
3743
- | {
3744
- type: 'done normalizing'
3745
- }
3746
- | {
3747
- type: 'done syncing value'
3748
- }
3749
- | {
3750
- type: 'syncing value'
3751
- }
3752
- | {
3753
- type: 'behavior event'
3754
- behaviorEvent: BehaviorEvent
3755
- editor: PortableTextSlateEditor
3756
- nativeEvent?: {
3757
- preventDefault: () => void
3758
- }
3759
- }
3760
- | {
3761
- type: 'notify.patch'
3762
- patch: Patch
3763
- }
3764
- | {
3765
- type: 'notify.mutation'
3766
- patches: Array<Patch>
3767
- snapshot: Array<PortableTextBlock> | undefined
3768
- value: Array<PortableTextBlock> | undefined
3769
- }
3770
- | {
3771
- type: 'notify.blurred'
3772
- event: FocusEvent_2<HTMLDivElement, Element>
3773
- }
3774
- | {
3775
- type: 'notify.done loading'
3776
- }
3777
- | {
3778
- type: 'notify.editable'
3779
- }
3780
- | {
3781
- type: 'notify.error'
3782
- name: string
3783
- description: string
3784
- data: unknown
3785
- }
3786
- | {
3787
- type: 'notify.focused'
3788
- event: FocusEvent_2<HTMLDivElement, Element>
3789
- }
3790
- | {
3791
- type: 'notify.invalid value'
3792
- resolution: InvalidValueResolution | null
3793
- value: Array<PortableTextBlock> | undefined
3794
- }
3795
- | {
3796
- type: 'notify.loading'
3797
- }
3798
- | {
3799
- type: 'notify.read only'
3800
- }
3801
- | {
3802
- type: 'notify.ready'
3803
- }
3804
- | {
3805
- type: 'notify.selection'
3806
- selection: EditorSelection
3807
- }
3808
- | {
3809
- type: 'notify.value changed'
3810
- value: Array<PortableTextBlock> | undefined
3811
- }
3812
- | {
3813
- type: 'notify.unset'
3814
- previousValue: Array<PortableTextBlock>
3815
- }
3816
- | {
3817
- type: 'dragstart'
3818
- origin: Pick<EventPosition, 'selection'>
3819
- ghost?: HTMLElement
3820
- }
3821
- | {
3822
- type: 'dragend'
3823
- }
3824
- | {
3825
- type: 'drop'
3826
- },
3827
- undefined,
3828
- never,
3829
- never,
3830
- never,
3831
- never,
3832
- never
3833
- >
3834
- }
3835
3627
  readonly 'update maxBlocks': {
3836
3628
  readonly actions: ActionFunction<
3837
3629
  {
@@ -3845,7 +3637,7 @@ declare const editorMachine: StateMachine<
3845
3637
  initialReadOnly: boolean
3846
3638
  maxBlocks: number | undefined
3847
3639
  selection: EditorSelection
3848
- incomingValue: Array<PortableTextBlock> | undefined
3640
+ initialValue: Array<PortableTextBlock> | undefined
3849
3641
  internalDrag?: {
3850
3642
  ghost?: HTMLElement
3851
3643
  origin: Pick<EventPosition, 'selection'>
@@ -3871,10 +3663,6 @@ declare const editorMachine: StateMachine<
3871
3663
  type: 'update key generator'
3872
3664
  keyGenerator: () => string
3873
3665
  }
3874
- | {
3875
- type: 'update value'
3876
- value: Array<PortableTextBlock> | undefined
3877
- }
3878
3666
  | {
3879
3667
  type: 'update maxBlocks'
3880
3668
  maxBlocks: number | undefined
@@ -4015,7 +3803,7 @@ declare const editorMachine: StateMachine<
4015
3803
  initialReadOnly: boolean
4016
3804
  maxBlocks: number | undefined
4017
3805
  selection: EditorSelection
4018
- incomingValue: Array<PortableTextBlock> | undefined
3806
+ initialValue: Array<PortableTextBlock> | undefined
4019
3807
  internalDrag?: {
4020
3808
  ghost?: HTMLElement
4021
3809
  origin: Pick<EventPosition, 'selection'>
@@ -4057,7 +3845,7 @@ declare const editorMachine: StateMachine<
4057
3845
  initialReadOnly: boolean
4058
3846
  maxBlocks: number | undefined
4059
3847
  selection: EditorSelection
4060
- incomingValue: Array<PortableTextBlock> | undefined
3848
+ initialValue: Array<PortableTextBlock> | undefined
4061
3849
  internalDrag?: {
4062
3850
  ghost?: HTMLElement
4063
3851
  origin: Pick<EventPosition, 'selection'>
@@ -4094,7 +3882,7 @@ declare const editorMachine: StateMachine<
4094
3882
  initialReadOnly: boolean
4095
3883
  maxBlocks: number | undefined
4096
3884
  selection: EditorSelection
4097
- incomingValue: Array<PortableTextBlock> | undefined
3885
+ initialValue: Array<PortableTextBlock> | undefined
4098
3886
  internalDrag?: {
4099
3887
  ghost?: HTMLElement
4100
3888
  origin: Pick<EventPosition, 'selection'>
@@ -4130,7 +3918,7 @@ declare const editorMachine: StateMachine<
4130
3918
  initialReadOnly: boolean
4131
3919
  maxBlocks: number | undefined
4132
3920
  selection: EditorSelection
4133
- incomingValue: Array<PortableTextBlock> | undefined
3921
+ initialValue: Array<PortableTextBlock> | undefined
4134
3922
  internalDrag?: {
4135
3923
  ghost?: HTMLElement
4136
3924
  origin: Pick<EventPosition, 'selection'>
@@ -4166,7 +3954,7 @@ declare const editorMachine: StateMachine<
4166
3954
  initialReadOnly: boolean
4167
3955
  maxBlocks: number | undefined
4168
3956
  selection: EditorSelection
4169
- incomingValue: Array<PortableTextBlock> | undefined
3957
+ initialValue: Array<PortableTextBlock> | undefined
4170
3958
  internalDrag?: {
4171
3959
  ghost?: HTMLElement
4172
3960
  origin: Pick<EventPosition, 'selection'>
@@ -4192,10 +3980,6 @@ declare const editorMachine: StateMachine<
4192
3980
  type: 'update key generator'
4193
3981
  keyGenerator: () => string
4194
3982
  }
4195
- | {
4196
- type: 'update value'
4197
- value: Array<PortableTextBlock> | undefined
4198
- }
4199
3983
  | {
4200
3984
  type: 'update maxBlocks'
4201
3985
  maxBlocks: number | undefined
@@ -4335,7 +4119,7 @@ declare const editorMachine: StateMachine<
4335
4119
  initialReadOnly: boolean
4336
4120
  maxBlocks: number | undefined
4337
4121
  selection: EditorSelection
4338
- incomingValue: Array<PortableTextBlock> | undefined
4122
+ initialValue: Array<PortableTextBlock> | undefined
4339
4123
  internalDrag?: {
4340
4124
  ghost?: HTMLElement
4341
4125
  origin: Pick<EventPosition, 'selection'>
@@ -4362,10 +4146,6 @@ declare const editorMachine: StateMachine<
4362
4146
  type: 'update key generator'
4363
4147
  keyGenerator: () => string
4364
4148
  }
4365
- | {
4366
- type: 'update value'
4367
- value: Array<PortableTextBlock> | undefined
4368
- }
4369
4149
  | {
4370
4150
  type: 'update maxBlocks'
4371
4151
  maxBlocks: number | undefined
@@ -4531,7 +4311,7 @@ declare const editorMachine: StateMachine<
4531
4311
  initialReadOnly: boolean
4532
4312
  maxBlocks: number | undefined
4533
4313
  selection: EditorSelection
4534
- incomingValue: Array<PortableTextBlock> | undefined
4314
+ initialValue: Array<PortableTextBlock> | undefined
4535
4315
  internalDrag?: {
4536
4316
  ghost?: HTMLElement
4537
4317
  origin: Pick<EventPosition, 'selection'>
@@ -4553,10 +4333,6 @@ declare const editorMachine: StateMachine<
4553
4333
  type: 'update key generator'
4554
4334
  keyGenerator: () => string
4555
4335
  }
4556
- | {
4557
- type: 'update value'
4558
- value: Array<PortableTextBlock> | undefined
4559
- }
4560
4336
  | {
4561
4337
  type: 'update maxBlocks'
4562
4338
  maxBlocks: number | undefined
@@ -4679,10 +4455,6 @@ declare const editorMachine: StateMachine<
4679
4455
  type: 'update key generator'
4680
4456
  keyGenerator: () => string
4681
4457
  }
4682
- | {
4683
- type: 'update value'
4684
- value: Array<PortableTextBlock> | undefined
4685
- }
4686
4458
  | {
4687
4459
  type: 'update maxBlocks'
4688
4460
  maxBlocks: number | undefined
@@ -4803,7 +4575,7 @@ declare const editorMachine: StateMachine<
4803
4575
  initialReadOnly: boolean
4804
4576
  maxBlocks: number | undefined
4805
4577
  selection: EditorSelection
4806
- incomingValue: Array<PortableTextBlock> | undefined
4578
+ initialValue: Array<PortableTextBlock> | undefined
4807
4579
  internalDrag?: {
4808
4580
  ghost?: HTMLElement
4809
4581
  origin: Pick<EventPosition, 'selection'>
@@ -4825,10 +4597,6 @@ declare const editorMachine: StateMachine<
4825
4597
  type: 'update key generator'
4826
4598
  keyGenerator: () => string
4827
4599
  }
4828
- | {
4829
- type: 'update value'
4830
- value: Array<PortableTextBlock> | undefined
4831
- }
4832
4600
  | {
4833
4601
  type: 'update maxBlocks'
4834
4602
  maxBlocks: number | undefined
@@ -4951,10 +4719,6 @@ declare const editorMachine: StateMachine<
4951
4719
  type: 'update key generator'
4952
4720
  keyGenerator: () => string
4953
4721
  }
4954
- | {
4955
- type: 'update value'
4956
- value: Array<PortableTextBlock> | undefined
4957
- }
4958
4722
  | {
4959
4723
  type: 'update maxBlocks'
4960
4724
  maxBlocks: number | undefined
@@ -5136,9 +4900,7 @@ declare const editorMachine: StateMachine<
5136
4900
  initialReadOnly: boolean
5137
4901
  maxBlocks: number | undefined
5138
4902
  selection: EditorSelection
5139
- incomingValue:
5140
- | Array<PortableTextBlock>
5141
- | undefined
4903
+ initialValue: Array<PortableTextBlock> | undefined
5142
4904
  internalDrag?: {
5143
4905
  ghost?: HTMLElement
5144
4906
  origin: Pick<EventPosition, 'selection'>
@@ -5161,10 +4923,6 @@ declare const editorMachine: StateMachine<
5161
4923
  type: 'update key generator'
5162
4924
  keyGenerator: () => string
5163
4925
  }
5164
- | {
5165
- type: 'update value'
5166
- value: Array<PortableTextBlock> | undefined
5167
- }
5168
4926
  | {
5169
4927
  type: 'update maxBlocks'
5170
4928
  maxBlocks: number | undefined
@@ -5623,10 +5381,6 @@ declare type ExternalEditorEvent =
5623
5381
  type: 'update key generator'
5624
5382
  keyGenerator: () => string
5625
5383
  }
5626
- | {
5627
- type: 'update value'
5628
- value: Array<PortableTextBlock> | undefined
5629
- }
5630
5384
  | {
5631
5385
  type: 'update maxBlocks'
5632
5386
  maxBlocks: number | undefined