@portabletext/editor 1.44.15 → 1.44.16
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/editor-provider.cjs +92 -91
- package/lib/_chunks-cjs/editor-provider.cjs.map +1 -1
- package/lib/_chunks-es/editor-provider.js +98 -97
- package/lib/_chunks-es/editor-provider.js.map +1 -1
- package/lib/behaviors/index.d.cts +814 -600
- package/lib/behaviors/index.d.ts +814 -600
- package/lib/index.d.cts +12 -8
- package/lib/index.d.ts +12 -8
- package/lib/plugins/index.cjs +9 -0
- package/lib/plugins/index.cjs.map +1 -1
- package/lib/plugins/index.d.cts +12 -8
- package/lib/plugins/index.d.ts +12 -8
- package/lib/plugins/index.js +9 -0
- package/lib/plugins/index.js.map +1 -1
- package/lib/selectors/index.d.cts +12 -8
- package/lib/selectors/index.d.ts +12 -8
- package/lib/utils/index.d.cts +12 -8
- package/lib/utils/index.d.ts +12 -8
- package/package.json +4 -4
- package/src/behavior-actions/{behavior.action.insert-break.ts → behavior.action.split.block.ts} +3 -9
- package/src/behavior-actions/behavior.actions.ts +9 -20
- package/src/behaviors/behavior.abstract.insert.ts +9 -1
- package/src/behaviors/behavior.types.event.ts +12 -8
- package/src/editor/plugins/create-with-event-listeners.ts +3 -3
- package/src/plugins/plugin.one-line.tsx +7 -0
package/lib/behaviors/index.d.ts
CHANGED
|
@@ -151,6 +151,12 @@ declare type AbstractBehaviorEvent =
|
|
|
151
151
|
blocks: Array<PortableTextBlock>
|
|
152
152
|
placement: InsertPlacement_2
|
|
153
153
|
}
|
|
154
|
+
| {
|
|
155
|
+
type: StrictExtract_2<AbstractBehaviorEventType, 'insert.break'>
|
|
156
|
+
}
|
|
157
|
+
| {
|
|
158
|
+
type: StrictExtract_2<AbstractBehaviorEventType, 'insert.soft break'>
|
|
159
|
+
}
|
|
154
160
|
| {
|
|
155
161
|
type: StrictExtract_2<AbstractBehaviorEventType, 'list item.add'>
|
|
156
162
|
listItem: string
|
|
@@ -208,6 +214,8 @@ declare const abstractBehaviorEventTypes: readonly [
|
|
|
208
214
|
'deserialization.success',
|
|
209
215
|
'deserialization.failure',
|
|
210
216
|
'insert.blocks',
|
|
217
|
+
'insert.break',
|
|
218
|
+
'insert.soft break',
|
|
211
219
|
'list item.add',
|
|
212
220
|
'list item.remove',
|
|
213
221
|
'list item.toggle',
|
|
@@ -431,15 +439,16 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
431
439
|
| 'history.redo'
|
|
432
440
|
| 'history.undo'
|
|
433
441
|
| 'insert.inline object'
|
|
434
|
-
| 'insert.break'
|
|
435
|
-
| 'insert.soft break'
|
|
436
442
|
| 'insert.block'
|
|
437
443
|
| 'insert.span'
|
|
438
444
|
| 'insert.text'
|
|
439
445
|
| 'move.block'
|
|
446
|
+
| 'split.block'
|
|
440
447
|
| 'annotation.toggle'
|
|
441
448
|
| 'decorator.toggle'
|
|
442
449
|
| 'insert.blocks'
|
|
450
|
+
| 'insert.break'
|
|
451
|
+
| 'insert.soft break'
|
|
443
452
|
| 'list item.add'
|
|
444
453
|
| 'list item.remove'
|
|
445
454
|
| 'list item.toggle'
|
|
@@ -463,6 +472,7 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
463
472
|
| 'mouse.click'
|
|
464
473
|
| 'serialize.*'
|
|
465
474
|
| 'deserialize.*'
|
|
475
|
+
| 'split.*'
|
|
466
476
|
| 'focus.*'
|
|
467
477
|
| 'block.*'
|
|
468
478
|
| 'style.*'
|
|
@@ -502,12 +512,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
502
512
|
| 'history.redo'
|
|
503
513
|
| 'history.undo'
|
|
504
514
|
| 'insert.inline object'
|
|
505
|
-
| 'insert.break'
|
|
506
|
-
| 'insert.soft break'
|
|
507
515
|
| 'insert.block'
|
|
508
516
|
| 'insert.span'
|
|
509
517
|
| 'insert.text'
|
|
510
|
-
| 'move.block'
|
|
518
|
+
| 'move.block'
|
|
519
|
+
| 'split.block',
|
|
511
520
|
'annotation.add'
|
|
512
521
|
>
|
|
513
522
|
annotation: {
|
|
@@ -536,12 +545,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
536
545
|
| 'history.redo'
|
|
537
546
|
| 'history.undo'
|
|
538
547
|
| 'insert.inline object'
|
|
539
|
-
| 'insert.break'
|
|
540
|
-
| 'insert.soft break'
|
|
541
548
|
| 'insert.block'
|
|
542
549
|
| 'insert.span'
|
|
543
550
|
| 'insert.text'
|
|
544
|
-
| 'move.block'
|
|
551
|
+
| 'move.block'
|
|
552
|
+
| 'split.block',
|
|
545
553
|
'annotation.remove'
|
|
546
554
|
>
|
|
547
555
|
annotation: {
|
|
@@ -567,12 +575,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
567
575
|
| 'history.redo'
|
|
568
576
|
| 'history.undo'
|
|
569
577
|
| 'insert.inline object'
|
|
570
|
-
| 'insert.break'
|
|
571
|
-
| 'insert.soft break'
|
|
572
578
|
| 'insert.block'
|
|
573
579
|
| 'insert.span'
|
|
574
580
|
| 'insert.text'
|
|
575
|
-
| 'move.block'
|
|
581
|
+
| 'move.block'
|
|
582
|
+
| 'split.block',
|
|
576
583
|
'block.set'
|
|
577
584
|
>
|
|
578
585
|
at: [KeyedSegment]
|
|
@@ -597,12 +604,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
597
604
|
| 'history.redo'
|
|
598
605
|
| 'history.undo'
|
|
599
606
|
| 'insert.inline object'
|
|
600
|
-
| 'insert.break'
|
|
601
|
-
| 'insert.soft break'
|
|
602
607
|
| 'insert.block'
|
|
603
608
|
| 'insert.span'
|
|
604
609
|
| 'insert.text'
|
|
605
|
-
| 'move.block'
|
|
610
|
+
| 'move.block'
|
|
611
|
+
| 'split.block',
|
|
606
612
|
'block.unset'
|
|
607
613
|
>
|
|
608
614
|
at: [KeyedSegment]
|
|
@@ -627,12 +633,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
627
633
|
| 'history.redo'
|
|
628
634
|
| 'history.undo'
|
|
629
635
|
| 'insert.inline object'
|
|
630
|
-
| 'insert.break'
|
|
631
|
-
| 'insert.soft break'
|
|
632
636
|
| 'insert.block'
|
|
633
637
|
| 'insert.span'
|
|
634
638
|
| 'insert.text'
|
|
635
|
-
| 'move.block'
|
|
639
|
+
| 'move.block'
|
|
640
|
+
| 'split.block',
|
|
636
641
|
'blur'
|
|
637
642
|
>
|
|
638
643
|
}
|
|
@@ -655,12 +660,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
655
660
|
| 'history.redo'
|
|
656
661
|
| 'history.undo'
|
|
657
662
|
| 'insert.inline object'
|
|
658
|
-
| 'insert.break'
|
|
659
|
-
| 'insert.soft break'
|
|
660
663
|
| 'insert.block'
|
|
661
664
|
| 'insert.span'
|
|
662
665
|
| 'insert.text'
|
|
663
|
-
| 'move.block'
|
|
666
|
+
| 'move.block'
|
|
667
|
+
| 'split.block',
|
|
664
668
|
'decorator.add'
|
|
665
669
|
>
|
|
666
670
|
decorator: string
|
|
@@ -688,12 +692,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
688
692
|
| 'history.redo'
|
|
689
693
|
| 'history.undo'
|
|
690
694
|
| 'insert.inline object'
|
|
691
|
-
| 'insert.break'
|
|
692
|
-
| 'insert.soft break'
|
|
693
695
|
| 'insert.block'
|
|
694
696
|
| 'insert.span'
|
|
695
697
|
| 'insert.text'
|
|
696
|
-
| 'move.block'
|
|
698
|
+
| 'move.block'
|
|
699
|
+
| 'split.block',
|
|
697
700
|
'decorator.remove'
|
|
698
701
|
>
|
|
699
702
|
decorator: string
|
|
@@ -717,12 +720,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
717
720
|
| 'history.redo'
|
|
718
721
|
| 'history.undo'
|
|
719
722
|
| 'insert.inline object'
|
|
720
|
-
| 'insert.break'
|
|
721
|
-
| 'insert.soft break'
|
|
722
723
|
| 'insert.block'
|
|
723
724
|
| 'insert.span'
|
|
724
725
|
| 'insert.text'
|
|
725
|
-
| 'move.block'
|
|
726
|
+
| 'move.block'
|
|
727
|
+
| 'split.block',
|
|
726
728
|
'delete'
|
|
727
729
|
>
|
|
728
730
|
selection: NonNullable<EditorSelection>
|
|
@@ -746,12 +748,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
746
748
|
| 'history.redo'
|
|
747
749
|
| 'history.undo'
|
|
748
750
|
| 'insert.inline object'
|
|
749
|
-
| 'insert.break'
|
|
750
|
-
| 'insert.soft break'
|
|
751
751
|
| 'insert.block'
|
|
752
752
|
| 'insert.span'
|
|
753
753
|
| 'insert.text'
|
|
754
|
-
| 'move.block'
|
|
754
|
+
| 'move.block'
|
|
755
|
+
| 'split.block',
|
|
755
756
|
'delete.backward'
|
|
756
757
|
>
|
|
757
758
|
unit: TextUnit
|
|
@@ -775,12 +776,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
775
776
|
| 'history.redo'
|
|
776
777
|
| 'history.undo'
|
|
777
778
|
| 'insert.inline object'
|
|
778
|
-
| 'insert.break'
|
|
779
|
-
| 'insert.soft break'
|
|
780
779
|
| 'insert.block'
|
|
781
780
|
| 'insert.span'
|
|
782
781
|
| 'insert.text'
|
|
783
|
-
| 'move.block'
|
|
782
|
+
| 'move.block'
|
|
783
|
+
| 'split.block',
|
|
784
784
|
'delete.block'
|
|
785
785
|
>
|
|
786
786
|
at: [KeyedSegment]
|
|
@@ -804,12 +804,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
804
804
|
| 'history.redo'
|
|
805
805
|
| 'history.undo'
|
|
806
806
|
| 'insert.inline object'
|
|
807
|
-
| 'insert.break'
|
|
808
|
-
| 'insert.soft break'
|
|
809
807
|
| 'insert.block'
|
|
810
808
|
| 'insert.span'
|
|
811
809
|
| 'insert.text'
|
|
812
|
-
| 'move.block'
|
|
810
|
+
| 'move.block'
|
|
811
|
+
| 'split.block',
|
|
813
812
|
'delete.forward'
|
|
814
813
|
>
|
|
815
814
|
unit: TextUnit
|
|
@@ -833,12 +832,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
833
832
|
| 'history.redo'
|
|
834
833
|
| 'history.undo'
|
|
835
834
|
| 'insert.inline object'
|
|
836
|
-
| 'insert.break'
|
|
837
|
-
| 'insert.soft break'
|
|
838
835
|
| 'insert.block'
|
|
839
836
|
| 'insert.span'
|
|
840
837
|
| 'insert.text'
|
|
841
|
-
| 'move.block'
|
|
838
|
+
| 'move.block'
|
|
839
|
+
| 'split.block',
|
|
842
840
|
'delete.text'
|
|
843
841
|
>
|
|
844
842
|
anchor: BlockOffset
|
|
@@ -863,12 +861,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
863
861
|
| 'history.redo'
|
|
864
862
|
| 'history.undo'
|
|
865
863
|
| 'insert.inline object'
|
|
866
|
-
| 'insert.break'
|
|
867
|
-
| 'insert.soft break'
|
|
868
864
|
| 'insert.block'
|
|
869
865
|
| 'insert.span'
|
|
870
866
|
| 'insert.text'
|
|
871
|
-
| 'move.block'
|
|
867
|
+
| 'move.block'
|
|
868
|
+
| 'split.block',
|
|
872
869
|
'focus'
|
|
873
870
|
>
|
|
874
871
|
}
|
|
@@ -891,12 +888,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
891
888
|
| 'history.redo'
|
|
892
889
|
| 'history.undo'
|
|
893
890
|
| 'insert.inline object'
|
|
894
|
-
| 'insert.break'
|
|
895
|
-
| 'insert.soft break'
|
|
896
891
|
| 'insert.block'
|
|
897
892
|
| 'insert.span'
|
|
898
893
|
| 'insert.text'
|
|
899
|
-
| 'move.block'
|
|
894
|
+
| 'move.block'
|
|
895
|
+
| 'split.block',
|
|
900
896
|
'history.redo'
|
|
901
897
|
>
|
|
902
898
|
}
|
|
@@ -919,12 +915,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
919
915
|
| 'history.redo'
|
|
920
916
|
| 'history.undo'
|
|
921
917
|
| 'insert.inline object'
|
|
922
|
-
| 'insert.break'
|
|
923
|
-
| 'insert.soft break'
|
|
924
918
|
| 'insert.block'
|
|
925
919
|
| 'insert.span'
|
|
926
920
|
| 'insert.text'
|
|
927
|
-
| 'move.block'
|
|
921
|
+
| 'move.block'
|
|
922
|
+
| 'split.block',
|
|
928
923
|
'history.undo'
|
|
929
924
|
>
|
|
930
925
|
}
|
|
@@ -947,12 +942,11 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
947
942
|
| 'history.redo'
|
|
948
943
|
| 'history.undo'
|
|
949
944
|
| 'insert.inline object'
|
|
950
|
-
| 'insert.break'
|
|
951
|
-
| 'insert.soft break'
|
|
952
945
|
| 'insert.block'
|
|
953
946
|
| 'insert.span'
|
|
954
947
|
| 'insert.text'
|
|
955
|
-
| 'move.block'
|
|
948
|
+
| 'move.block'
|
|
949
|
+
| 'split.block',
|
|
956
950
|
'insert.inline object'
|
|
957
951
|
>
|
|
958
952
|
inlineObject: {
|
|
@@ -981,42 +975,16 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
981
975
|
| 'history.redo'
|
|
982
976
|
| 'history.undo'
|
|
983
977
|
| 'insert.inline object'
|
|
984
|
-
| 'insert.break'
|
|
985
|
-
| 'insert.soft break'
|
|
986
|
-
| 'insert.block'
|
|
987
|
-
| 'insert.span'
|
|
988
|
-
| 'insert.text'
|
|
989
|
-
| 'move.block',
|
|
990
|
-
'insert.break'
|
|
991
|
-
>
|
|
992
|
-
}
|
|
993
|
-
| {
|
|
994
|
-
type: StrictExtract<
|
|
995
|
-
| 'focus'
|
|
996
|
-
| 'delete'
|
|
997
|
-
| 'select'
|
|
998
|
-
| 'annotation.add'
|
|
999
|
-
| 'annotation.remove'
|
|
1000
|
-
| 'block.set'
|
|
1001
|
-
| 'block.unset'
|
|
1002
|
-
| 'blur'
|
|
1003
|
-
| 'decorator.add'
|
|
1004
|
-
| 'decorator.remove'
|
|
1005
|
-
| 'delete.backward'
|
|
1006
|
-
| 'delete.block'
|
|
1007
|
-
| 'delete.forward'
|
|
1008
|
-
| 'delete.text'
|
|
1009
|
-
| 'history.redo'
|
|
1010
|
-
| 'history.undo'
|
|
1011
|
-
| 'insert.inline object'
|
|
1012
|
-
| 'insert.break'
|
|
1013
|
-
| 'insert.soft break'
|
|
1014
978
|
| 'insert.block'
|
|
1015
979
|
| 'insert.span'
|
|
1016
980
|
| 'insert.text'
|
|
1017
|
-
| 'move.block'
|
|
1018
|
-
'
|
|
981
|
+
| 'move.block'
|
|
982
|
+
| 'split.block',
|
|
983
|
+
'insert.block'
|
|
1019
984
|
>
|
|
985
|
+
block: BlockWithOptionalKey
|
|
986
|
+
placement: InsertPlacement
|
|
987
|
+
select?: 'start' | 'end' | 'none'
|
|
1020
988
|
}
|
|
1021
989
|
| {
|
|
1022
990
|
type: StrictExtract<
|
|
@@ -1037,17 +1005,21 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1037
1005
|
| 'history.redo'
|
|
1038
1006
|
| 'history.undo'
|
|
1039
1007
|
| 'insert.inline object'
|
|
1040
|
-
| 'insert.break'
|
|
1041
|
-
| 'insert.soft break'
|
|
1042
1008
|
| 'insert.block'
|
|
1043
1009
|
| 'insert.span'
|
|
1044
1010
|
| 'insert.text'
|
|
1045
|
-
| 'move.block'
|
|
1046
|
-
'
|
|
1011
|
+
| 'move.block'
|
|
1012
|
+
| 'split.block',
|
|
1013
|
+
'insert.span'
|
|
1047
1014
|
>
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1015
|
+
text: string
|
|
1016
|
+
annotations?: Array<{
|
|
1017
|
+
name: string
|
|
1018
|
+
value: {
|
|
1019
|
+
[prop: string]: unknown
|
|
1020
|
+
}
|
|
1021
|
+
}>
|
|
1022
|
+
decorators?: Array<string>
|
|
1051
1023
|
}
|
|
1052
1024
|
| {
|
|
1053
1025
|
type: StrictExtract<
|
|
@@ -1068,22 +1040,14 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1068
1040
|
| 'history.redo'
|
|
1069
1041
|
| 'history.undo'
|
|
1070
1042
|
| 'insert.inline object'
|
|
1071
|
-
| 'insert.break'
|
|
1072
|
-
| 'insert.soft break'
|
|
1073
1043
|
| 'insert.block'
|
|
1074
1044
|
| 'insert.span'
|
|
1075
1045
|
| 'insert.text'
|
|
1076
|
-
| 'move.block'
|
|
1077
|
-
'
|
|
1046
|
+
| 'move.block'
|
|
1047
|
+
| 'split.block',
|
|
1048
|
+
'insert.text'
|
|
1078
1049
|
>
|
|
1079
1050
|
text: string
|
|
1080
|
-
annotations?: Array<{
|
|
1081
|
-
name: string
|
|
1082
|
-
value: {
|
|
1083
|
-
[prop: string]: unknown
|
|
1084
|
-
}
|
|
1085
|
-
}>
|
|
1086
|
-
decorators?: Array<string>
|
|
1087
1051
|
}
|
|
1088
1052
|
| {
|
|
1089
1053
|
type: StrictExtract<
|
|
@@ -1104,15 +1068,15 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1104
1068
|
| 'history.redo'
|
|
1105
1069
|
| 'history.undo'
|
|
1106
1070
|
| 'insert.inline object'
|
|
1107
|
-
| 'insert.break'
|
|
1108
|
-
| 'insert.soft break'
|
|
1109
1071
|
| 'insert.block'
|
|
1110
1072
|
| 'insert.span'
|
|
1111
1073
|
| 'insert.text'
|
|
1112
|
-
| 'move.block'
|
|
1113
|
-
'
|
|
1074
|
+
| 'move.block'
|
|
1075
|
+
| 'split.block',
|
|
1076
|
+
'move.block'
|
|
1114
1077
|
>
|
|
1115
|
-
|
|
1078
|
+
at: [KeyedSegment]
|
|
1079
|
+
to: [KeyedSegment]
|
|
1116
1080
|
}
|
|
1117
1081
|
| {
|
|
1118
1082
|
type: StrictExtract<
|
|
@@ -1133,16 +1097,14 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1133
1097
|
| 'history.redo'
|
|
1134
1098
|
| 'history.undo'
|
|
1135
1099
|
| 'insert.inline object'
|
|
1136
|
-
| 'insert.break'
|
|
1137
|
-
| 'insert.soft break'
|
|
1138
1100
|
| 'insert.block'
|
|
1139
1101
|
| 'insert.span'
|
|
1140
1102
|
| 'insert.text'
|
|
1141
|
-
| 'move.block'
|
|
1142
|
-
'
|
|
1103
|
+
| 'move.block'
|
|
1104
|
+
| 'split.block',
|
|
1105
|
+
'select'
|
|
1143
1106
|
>
|
|
1144
|
-
|
|
1145
|
-
to: [KeyedSegment]
|
|
1107
|
+
selection: EditorSelection
|
|
1146
1108
|
}
|
|
1147
1109
|
| {
|
|
1148
1110
|
type: StrictExtract<
|
|
@@ -1163,15 +1125,13 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1163
1125
|
| 'history.redo'
|
|
1164
1126
|
| 'history.undo'
|
|
1165
1127
|
| 'insert.inline object'
|
|
1166
|
-
| 'insert.break'
|
|
1167
|
-
| 'insert.soft break'
|
|
1168
1128
|
| 'insert.block'
|
|
1169
1129
|
| 'insert.span'
|
|
1170
1130
|
| 'insert.text'
|
|
1171
|
-
| 'move.block'
|
|
1172
|
-
'
|
|
1131
|
+
| 'move.block'
|
|
1132
|
+
| 'split.block',
|
|
1133
|
+
'split.block'
|
|
1173
1134
|
>
|
|
1174
|
-
selection: EditorSelection
|
|
1175
1135
|
}
|
|
1176
1136
|
| {
|
|
1177
1137
|
type: StrictExtract<
|
|
@@ -1184,6 +1144,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1184
1144
|
| 'annotation.toggle'
|
|
1185
1145
|
| 'decorator.toggle'
|
|
1186
1146
|
| 'insert.blocks'
|
|
1147
|
+
| 'insert.break'
|
|
1148
|
+
| 'insert.soft break'
|
|
1187
1149
|
| 'list item.add'
|
|
1188
1150
|
| 'list item.remove'
|
|
1189
1151
|
| 'list item.toggle'
|
|
@@ -1214,6 +1176,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1214
1176
|
| 'annotation.toggle'
|
|
1215
1177
|
| 'decorator.toggle'
|
|
1216
1178
|
| 'insert.blocks'
|
|
1179
|
+
| 'insert.break'
|
|
1180
|
+
| 'insert.soft break'
|
|
1217
1181
|
| 'list item.add'
|
|
1218
1182
|
| 'list item.remove'
|
|
1219
1183
|
| 'list item.toggle'
|
|
@@ -1243,6 +1207,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1243
1207
|
| 'annotation.toggle'
|
|
1244
1208
|
| 'decorator.toggle'
|
|
1245
1209
|
| 'insert.blocks'
|
|
1210
|
+
| 'insert.break'
|
|
1211
|
+
| 'insert.soft break'
|
|
1246
1212
|
| 'list item.add'
|
|
1247
1213
|
| 'list item.remove'
|
|
1248
1214
|
| 'list item.toggle'
|
|
@@ -1274,6 +1240,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1274
1240
|
| 'annotation.toggle'
|
|
1275
1241
|
| 'decorator.toggle'
|
|
1276
1242
|
| 'insert.blocks'
|
|
1243
|
+
| 'insert.break'
|
|
1244
|
+
| 'insert.soft break'
|
|
1277
1245
|
| 'list item.add'
|
|
1278
1246
|
| 'list item.remove'
|
|
1279
1247
|
| 'list item.toggle'
|
|
@@ -1303,6 +1271,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1303
1271
|
| 'annotation.toggle'
|
|
1304
1272
|
| 'decorator.toggle'
|
|
1305
1273
|
| 'insert.blocks'
|
|
1274
|
+
| 'insert.break'
|
|
1275
|
+
| 'insert.soft break'
|
|
1306
1276
|
| 'list item.add'
|
|
1307
1277
|
| 'list item.remove'
|
|
1308
1278
|
| 'list item.toggle'
|
|
@@ -1336,6 +1306,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1336
1306
|
| 'annotation.toggle'
|
|
1337
1307
|
| 'decorator.toggle'
|
|
1338
1308
|
| 'insert.blocks'
|
|
1309
|
+
| 'insert.break'
|
|
1310
|
+
| 'insert.soft break'
|
|
1339
1311
|
| 'list item.add'
|
|
1340
1312
|
| 'list item.remove'
|
|
1341
1313
|
| 'list item.toggle'
|
|
@@ -1369,6 +1341,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1369
1341
|
| 'annotation.toggle'
|
|
1370
1342
|
| 'decorator.toggle'
|
|
1371
1343
|
| 'insert.blocks'
|
|
1344
|
+
| 'insert.break'
|
|
1345
|
+
| 'insert.soft break'
|
|
1372
1346
|
| 'list item.add'
|
|
1373
1347
|
| 'list item.remove'
|
|
1374
1348
|
| 'list item.toggle'
|
|
@@ -1400,6 +1374,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1400
1374
|
| 'annotation.toggle'
|
|
1401
1375
|
| 'decorator.toggle'
|
|
1402
1376
|
| 'insert.blocks'
|
|
1377
|
+
| 'insert.break'
|
|
1378
|
+
| 'insert.soft break'
|
|
1403
1379
|
| 'list item.add'
|
|
1404
1380
|
| 'list item.remove'
|
|
1405
1381
|
| 'list item.toggle'
|
|
@@ -1431,6 +1407,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1431
1407
|
| 'annotation.toggle'
|
|
1432
1408
|
| 'decorator.toggle'
|
|
1433
1409
|
| 'insert.blocks'
|
|
1410
|
+
| 'insert.break'
|
|
1411
|
+
| 'insert.soft break'
|
|
1434
1412
|
| 'list item.add'
|
|
1435
1413
|
| 'list item.remove'
|
|
1436
1414
|
| 'list item.toggle'
|
|
@@ -1457,6 +1435,60 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1457
1435
|
| 'annotation.toggle'
|
|
1458
1436
|
| 'decorator.toggle'
|
|
1459
1437
|
| 'insert.blocks'
|
|
1438
|
+
| 'insert.break'
|
|
1439
|
+
| 'insert.soft break'
|
|
1440
|
+
| 'list item.add'
|
|
1441
|
+
| 'list item.remove'
|
|
1442
|
+
| 'list item.toggle'
|
|
1443
|
+
| 'move.block down'
|
|
1444
|
+
| 'move.block up'
|
|
1445
|
+
| 'select.previous block'
|
|
1446
|
+
| 'select.next block'
|
|
1447
|
+
| 'style.add'
|
|
1448
|
+
| 'style.remove'
|
|
1449
|
+
| 'style.toggle',
|
|
1450
|
+
'insert.break'
|
|
1451
|
+
>
|
|
1452
|
+
}
|
|
1453
|
+
| {
|
|
1454
|
+
type: StrictExtract<
|
|
1455
|
+
| 'serialize'
|
|
1456
|
+
| 'serialization.failure'
|
|
1457
|
+
| 'serialization.success'
|
|
1458
|
+
| 'deserialize'
|
|
1459
|
+
| 'deserialization.failure'
|
|
1460
|
+
| 'deserialization.success'
|
|
1461
|
+
| 'annotation.toggle'
|
|
1462
|
+
| 'decorator.toggle'
|
|
1463
|
+
| 'insert.blocks'
|
|
1464
|
+
| 'insert.break'
|
|
1465
|
+
| 'insert.soft break'
|
|
1466
|
+
| 'list item.add'
|
|
1467
|
+
| 'list item.remove'
|
|
1468
|
+
| 'list item.toggle'
|
|
1469
|
+
| 'move.block down'
|
|
1470
|
+
| 'move.block up'
|
|
1471
|
+
| 'select.previous block'
|
|
1472
|
+
| 'select.next block'
|
|
1473
|
+
| 'style.add'
|
|
1474
|
+
| 'style.remove'
|
|
1475
|
+
| 'style.toggle',
|
|
1476
|
+
'insert.soft break'
|
|
1477
|
+
>
|
|
1478
|
+
}
|
|
1479
|
+
| {
|
|
1480
|
+
type: StrictExtract<
|
|
1481
|
+
| 'serialize'
|
|
1482
|
+
| 'serialization.failure'
|
|
1483
|
+
| 'serialization.success'
|
|
1484
|
+
| 'deserialize'
|
|
1485
|
+
| 'deserialization.failure'
|
|
1486
|
+
| 'deserialization.success'
|
|
1487
|
+
| 'annotation.toggle'
|
|
1488
|
+
| 'decorator.toggle'
|
|
1489
|
+
| 'insert.blocks'
|
|
1490
|
+
| 'insert.break'
|
|
1491
|
+
| 'insert.soft break'
|
|
1460
1492
|
| 'list item.add'
|
|
1461
1493
|
| 'list item.remove'
|
|
1462
1494
|
| 'list item.toggle'
|
|
@@ -1482,6 +1514,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1482
1514
|
| 'annotation.toggle'
|
|
1483
1515
|
| 'decorator.toggle'
|
|
1484
1516
|
| 'insert.blocks'
|
|
1517
|
+
| 'insert.break'
|
|
1518
|
+
| 'insert.soft break'
|
|
1485
1519
|
| 'list item.add'
|
|
1486
1520
|
| 'list item.remove'
|
|
1487
1521
|
| 'list item.toggle'
|
|
@@ -1507,6 +1541,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1507
1541
|
| 'annotation.toggle'
|
|
1508
1542
|
| 'decorator.toggle'
|
|
1509
1543
|
| 'insert.blocks'
|
|
1544
|
+
| 'insert.break'
|
|
1545
|
+
| 'insert.soft break'
|
|
1510
1546
|
| 'list item.add'
|
|
1511
1547
|
| 'list item.remove'
|
|
1512
1548
|
| 'list item.toggle'
|
|
@@ -1532,6 +1568,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1532
1568
|
| 'annotation.toggle'
|
|
1533
1569
|
| 'decorator.toggle'
|
|
1534
1570
|
| 'insert.blocks'
|
|
1571
|
+
| 'insert.break'
|
|
1572
|
+
| 'insert.soft break'
|
|
1535
1573
|
| 'list item.add'
|
|
1536
1574
|
| 'list item.remove'
|
|
1537
1575
|
| 'list item.toggle'
|
|
@@ -1557,6 +1595,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1557
1595
|
| 'annotation.toggle'
|
|
1558
1596
|
| 'decorator.toggle'
|
|
1559
1597
|
| 'insert.blocks'
|
|
1598
|
+
| 'insert.break'
|
|
1599
|
+
| 'insert.soft break'
|
|
1560
1600
|
| 'list item.add'
|
|
1561
1601
|
| 'list item.remove'
|
|
1562
1602
|
| 'list item.toggle'
|
|
@@ -1582,6 +1622,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1582
1622
|
| 'annotation.toggle'
|
|
1583
1623
|
| 'decorator.toggle'
|
|
1584
1624
|
| 'insert.blocks'
|
|
1625
|
+
| 'insert.break'
|
|
1626
|
+
| 'insert.soft break'
|
|
1585
1627
|
| 'list item.add'
|
|
1586
1628
|
| 'list item.remove'
|
|
1587
1629
|
| 'list item.toggle'
|
|
@@ -1607,6 +1649,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1607
1649
|
| 'annotation.toggle'
|
|
1608
1650
|
| 'decorator.toggle'
|
|
1609
1651
|
| 'insert.blocks'
|
|
1652
|
+
| 'insert.break'
|
|
1653
|
+
| 'insert.soft break'
|
|
1610
1654
|
| 'list item.add'
|
|
1611
1655
|
| 'list item.remove'
|
|
1612
1656
|
| 'list item.toggle'
|
|
@@ -1632,6 +1676,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1632
1676
|
| 'annotation.toggle'
|
|
1633
1677
|
| 'decorator.toggle'
|
|
1634
1678
|
| 'insert.blocks'
|
|
1679
|
+
| 'insert.break'
|
|
1680
|
+
| 'insert.soft break'
|
|
1635
1681
|
| 'list item.add'
|
|
1636
1682
|
| 'list item.remove'
|
|
1637
1683
|
| 'list item.toggle'
|
|
@@ -1657,6 +1703,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1657
1703
|
| 'annotation.toggle'
|
|
1658
1704
|
| 'decorator.toggle'
|
|
1659
1705
|
| 'insert.blocks'
|
|
1706
|
+
| 'insert.break'
|
|
1707
|
+
| 'insert.soft break'
|
|
1660
1708
|
| 'list item.add'
|
|
1661
1709
|
| 'list item.remove'
|
|
1662
1710
|
| 'list item.toggle'
|
|
@@ -1682,6 +1730,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1682
1730
|
| 'annotation.toggle'
|
|
1683
1731
|
| 'decorator.toggle'
|
|
1684
1732
|
| 'insert.blocks'
|
|
1733
|
+
| 'insert.break'
|
|
1734
|
+
| 'insert.soft break'
|
|
1685
1735
|
| 'list item.add'
|
|
1686
1736
|
| 'list item.remove'
|
|
1687
1737
|
| 'list item.toggle'
|
|
@@ -2007,15 +2057,16 @@ export declare function createCodeEditorBehaviors(
|
|
|
2007
2057
|
| 'history.redo'
|
|
2008
2058
|
| 'history.undo'
|
|
2009
2059
|
| 'insert.inline object'
|
|
2010
|
-
| 'insert.break'
|
|
2011
|
-
| 'insert.soft break'
|
|
2012
2060
|
| 'insert.block'
|
|
2013
2061
|
| 'insert.span'
|
|
2014
2062
|
| 'insert.text'
|
|
2015
2063
|
| 'move.block'
|
|
2064
|
+
| 'split.block'
|
|
2016
2065
|
| 'annotation.toggle'
|
|
2017
2066
|
| 'decorator.toggle'
|
|
2018
2067
|
| 'insert.blocks'
|
|
2068
|
+
| 'insert.break'
|
|
2069
|
+
| 'insert.soft break'
|
|
2019
2070
|
| 'list item.add'
|
|
2020
2071
|
| 'list item.remove'
|
|
2021
2072
|
| 'list item.toggle'
|
|
@@ -2039,6 +2090,7 @@ export declare function createCodeEditorBehaviors(
|
|
|
2039
2090
|
| 'mouse.click'
|
|
2040
2091
|
| 'serialize.*'
|
|
2041
2092
|
| 'deserialize.*'
|
|
2093
|
+
| 'split.*'
|
|
2042
2094
|
| 'focus.*'
|
|
2043
2095
|
| 'block.*'
|
|
2044
2096
|
| 'style.*'
|
|
@@ -2078,12 +2130,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2078
2130
|
| 'history.redo'
|
|
2079
2131
|
| 'history.undo'
|
|
2080
2132
|
| 'insert.inline object'
|
|
2081
|
-
| 'insert.break'
|
|
2082
|
-
| 'insert.soft break'
|
|
2083
2133
|
| 'insert.block'
|
|
2084
2134
|
| 'insert.span'
|
|
2085
2135
|
| 'insert.text'
|
|
2086
|
-
| 'move.block'
|
|
2136
|
+
| 'move.block'
|
|
2137
|
+
| 'split.block',
|
|
2087
2138
|
'annotation.add'
|
|
2088
2139
|
>
|
|
2089
2140
|
annotation: {
|
|
@@ -2112,12 +2163,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2112
2163
|
| 'history.redo'
|
|
2113
2164
|
| 'history.undo'
|
|
2114
2165
|
| 'insert.inline object'
|
|
2115
|
-
| 'insert.break'
|
|
2116
|
-
| 'insert.soft break'
|
|
2117
2166
|
| 'insert.block'
|
|
2118
2167
|
| 'insert.span'
|
|
2119
2168
|
| 'insert.text'
|
|
2120
|
-
| 'move.block'
|
|
2169
|
+
| 'move.block'
|
|
2170
|
+
| 'split.block',
|
|
2121
2171
|
'annotation.remove'
|
|
2122
2172
|
>
|
|
2123
2173
|
annotation: {
|
|
@@ -2143,12 +2193,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2143
2193
|
| 'history.redo'
|
|
2144
2194
|
| 'history.undo'
|
|
2145
2195
|
| 'insert.inline object'
|
|
2146
|
-
| 'insert.break'
|
|
2147
|
-
| 'insert.soft break'
|
|
2148
2196
|
| 'insert.block'
|
|
2149
2197
|
| 'insert.span'
|
|
2150
2198
|
| 'insert.text'
|
|
2151
|
-
| 'move.block'
|
|
2199
|
+
| 'move.block'
|
|
2200
|
+
| 'split.block',
|
|
2152
2201
|
'block.set'
|
|
2153
2202
|
>
|
|
2154
2203
|
at: [KeyedSegment]
|
|
@@ -2173,12 +2222,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2173
2222
|
| 'history.redo'
|
|
2174
2223
|
| 'history.undo'
|
|
2175
2224
|
| 'insert.inline object'
|
|
2176
|
-
| 'insert.break'
|
|
2177
|
-
| 'insert.soft break'
|
|
2178
2225
|
| 'insert.block'
|
|
2179
2226
|
| 'insert.span'
|
|
2180
2227
|
| 'insert.text'
|
|
2181
|
-
| 'move.block'
|
|
2228
|
+
| 'move.block'
|
|
2229
|
+
| 'split.block',
|
|
2182
2230
|
'block.unset'
|
|
2183
2231
|
>
|
|
2184
2232
|
at: [KeyedSegment]
|
|
@@ -2203,12 +2251,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2203
2251
|
| 'history.redo'
|
|
2204
2252
|
| 'history.undo'
|
|
2205
2253
|
| 'insert.inline object'
|
|
2206
|
-
| 'insert.break'
|
|
2207
|
-
| 'insert.soft break'
|
|
2208
2254
|
| 'insert.block'
|
|
2209
2255
|
| 'insert.span'
|
|
2210
2256
|
| 'insert.text'
|
|
2211
|
-
| 'move.block'
|
|
2257
|
+
| 'move.block'
|
|
2258
|
+
| 'split.block',
|
|
2212
2259
|
'blur'
|
|
2213
2260
|
>
|
|
2214
2261
|
}
|
|
@@ -2231,12 +2278,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2231
2278
|
| 'history.redo'
|
|
2232
2279
|
| 'history.undo'
|
|
2233
2280
|
| 'insert.inline object'
|
|
2234
|
-
| 'insert.break'
|
|
2235
|
-
| 'insert.soft break'
|
|
2236
2281
|
| 'insert.block'
|
|
2237
2282
|
| 'insert.span'
|
|
2238
2283
|
| 'insert.text'
|
|
2239
|
-
| 'move.block'
|
|
2284
|
+
| 'move.block'
|
|
2285
|
+
| 'split.block',
|
|
2240
2286
|
'decorator.add'
|
|
2241
2287
|
>
|
|
2242
2288
|
decorator: string
|
|
@@ -2264,12 +2310,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2264
2310
|
| 'history.redo'
|
|
2265
2311
|
| 'history.undo'
|
|
2266
2312
|
| 'insert.inline object'
|
|
2267
|
-
| 'insert.break'
|
|
2268
|
-
| 'insert.soft break'
|
|
2269
2313
|
| 'insert.block'
|
|
2270
2314
|
| 'insert.span'
|
|
2271
2315
|
| 'insert.text'
|
|
2272
|
-
| 'move.block'
|
|
2316
|
+
| 'move.block'
|
|
2317
|
+
| 'split.block',
|
|
2273
2318
|
'decorator.remove'
|
|
2274
2319
|
>
|
|
2275
2320
|
decorator: string
|
|
@@ -2293,12 +2338,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2293
2338
|
| 'history.redo'
|
|
2294
2339
|
| 'history.undo'
|
|
2295
2340
|
| 'insert.inline object'
|
|
2296
|
-
| 'insert.break'
|
|
2297
|
-
| 'insert.soft break'
|
|
2298
2341
|
| 'insert.block'
|
|
2299
2342
|
| 'insert.span'
|
|
2300
2343
|
| 'insert.text'
|
|
2301
|
-
| 'move.block'
|
|
2344
|
+
| 'move.block'
|
|
2345
|
+
| 'split.block',
|
|
2302
2346
|
'delete'
|
|
2303
2347
|
>
|
|
2304
2348
|
selection: NonNullable<EditorSelection>
|
|
@@ -2322,12 +2366,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2322
2366
|
| 'history.redo'
|
|
2323
2367
|
| 'history.undo'
|
|
2324
2368
|
| 'insert.inline object'
|
|
2325
|
-
| 'insert.break'
|
|
2326
|
-
| 'insert.soft break'
|
|
2327
2369
|
| 'insert.block'
|
|
2328
2370
|
| 'insert.span'
|
|
2329
2371
|
| 'insert.text'
|
|
2330
|
-
| 'move.block'
|
|
2372
|
+
| 'move.block'
|
|
2373
|
+
| 'split.block',
|
|
2331
2374
|
'delete.backward'
|
|
2332
2375
|
>
|
|
2333
2376
|
unit: TextUnit
|
|
@@ -2351,12 +2394,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2351
2394
|
| 'history.redo'
|
|
2352
2395
|
| 'history.undo'
|
|
2353
2396
|
| 'insert.inline object'
|
|
2354
|
-
| 'insert.break'
|
|
2355
|
-
| 'insert.soft break'
|
|
2356
2397
|
| 'insert.block'
|
|
2357
2398
|
| 'insert.span'
|
|
2358
2399
|
| 'insert.text'
|
|
2359
|
-
| 'move.block'
|
|
2400
|
+
| 'move.block'
|
|
2401
|
+
| 'split.block',
|
|
2360
2402
|
'delete.block'
|
|
2361
2403
|
>
|
|
2362
2404
|
at: [KeyedSegment]
|
|
@@ -2380,12 +2422,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2380
2422
|
| 'history.redo'
|
|
2381
2423
|
| 'history.undo'
|
|
2382
2424
|
| 'insert.inline object'
|
|
2383
|
-
| 'insert.break'
|
|
2384
|
-
| 'insert.soft break'
|
|
2385
2425
|
| 'insert.block'
|
|
2386
2426
|
| 'insert.span'
|
|
2387
2427
|
| 'insert.text'
|
|
2388
|
-
| 'move.block'
|
|
2428
|
+
| 'move.block'
|
|
2429
|
+
| 'split.block',
|
|
2389
2430
|
'delete.forward'
|
|
2390
2431
|
>
|
|
2391
2432
|
unit: TextUnit
|
|
@@ -2409,12 +2450,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2409
2450
|
| 'history.redo'
|
|
2410
2451
|
| 'history.undo'
|
|
2411
2452
|
| 'insert.inline object'
|
|
2412
|
-
| 'insert.break'
|
|
2413
|
-
| 'insert.soft break'
|
|
2414
2453
|
| 'insert.block'
|
|
2415
2454
|
| 'insert.span'
|
|
2416
2455
|
| 'insert.text'
|
|
2417
|
-
| 'move.block'
|
|
2456
|
+
| 'move.block'
|
|
2457
|
+
| 'split.block',
|
|
2418
2458
|
'delete.text'
|
|
2419
2459
|
>
|
|
2420
2460
|
anchor: BlockOffset
|
|
@@ -2439,12 +2479,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2439
2479
|
| 'history.redo'
|
|
2440
2480
|
| 'history.undo'
|
|
2441
2481
|
| 'insert.inline object'
|
|
2442
|
-
| 'insert.break'
|
|
2443
|
-
| 'insert.soft break'
|
|
2444
2482
|
| 'insert.block'
|
|
2445
2483
|
| 'insert.span'
|
|
2446
2484
|
| 'insert.text'
|
|
2447
|
-
| 'move.block'
|
|
2485
|
+
| 'move.block'
|
|
2486
|
+
| 'split.block',
|
|
2448
2487
|
'focus'
|
|
2449
2488
|
>
|
|
2450
2489
|
}
|
|
@@ -2467,12 +2506,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2467
2506
|
| 'history.redo'
|
|
2468
2507
|
| 'history.undo'
|
|
2469
2508
|
| 'insert.inline object'
|
|
2470
|
-
| 'insert.break'
|
|
2471
|
-
| 'insert.soft break'
|
|
2472
2509
|
| 'insert.block'
|
|
2473
2510
|
| 'insert.span'
|
|
2474
2511
|
| 'insert.text'
|
|
2475
|
-
| 'move.block'
|
|
2512
|
+
| 'move.block'
|
|
2513
|
+
| 'split.block',
|
|
2476
2514
|
'history.redo'
|
|
2477
2515
|
>
|
|
2478
2516
|
}
|
|
@@ -2495,12 +2533,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2495
2533
|
| 'history.redo'
|
|
2496
2534
|
| 'history.undo'
|
|
2497
2535
|
| 'insert.inline object'
|
|
2498
|
-
| 'insert.break'
|
|
2499
|
-
| 'insert.soft break'
|
|
2500
2536
|
| 'insert.block'
|
|
2501
2537
|
| 'insert.span'
|
|
2502
2538
|
| 'insert.text'
|
|
2503
|
-
| 'move.block'
|
|
2539
|
+
| 'move.block'
|
|
2540
|
+
| 'split.block',
|
|
2504
2541
|
'history.undo'
|
|
2505
2542
|
>
|
|
2506
2543
|
}
|
|
@@ -2523,12 +2560,11 @@ export declare function createCodeEditorBehaviors(
|
|
|
2523
2560
|
| 'history.redo'
|
|
2524
2561
|
| 'history.undo'
|
|
2525
2562
|
| 'insert.inline object'
|
|
2526
|
-
| 'insert.break'
|
|
2527
|
-
| 'insert.soft break'
|
|
2528
2563
|
| 'insert.block'
|
|
2529
2564
|
| 'insert.span'
|
|
2530
2565
|
| 'insert.text'
|
|
2531
|
-
| 'move.block'
|
|
2566
|
+
| 'move.block'
|
|
2567
|
+
| 'split.block',
|
|
2532
2568
|
'insert.inline object'
|
|
2533
2569
|
>
|
|
2534
2570
|
inlineObject: {
|
|
@@ -2557,14 +2593,16 @@ export declare function createCodeEditorBehaviors(
|
|
|
2557
2593
|
| 'history.redo'
|
|
2558
2594
|
| 'history.undo'
|
|
2559
2595
|
| 'insert.inline object'
|
|
2560
|
-
| 'insert.break'
|
|
2561
|
-
| 'insert.soft break'
|
|
2562
2596
|
| 'insert.block'
|
|
2563
2597
|
| 'insert.span'
|
|
2564
2598
|
| 'insert.text'
|
|
2565
|
-
| 'move.block'
|
|
2566
|
-
'
|
|
2599
|
+
| 'move.block'
|
|
2600
|
+
| 'split.block',
|
|
2601
|
+
'insert.block'
|
|
2567
2602
|
>
|
|
2603
|
+
block: BlockWithOptionalKey
|
|
2604
|
+
placement: InsertPlacement
|
|
2605
|
+
select?: 'start' | 'end' | 'none'
|
|
2568
2606
|
}
|
|
2569
2607
|
| {
|
|
2570
2608
|
type: StrictExtract<
|
|
@@ -2585,45 +2623,21 @@ export declare function createCodeEditorBehaviors(
|
|
|
2585
2623
|
| 'history.redo'
|
|
2586
2624
|
| 'history.undo'
|
|
2587
2625
|
| 'insert.inline object'
|
|
2588
|
-
| 'insert.break'
|
|
2589
|
-
| 'insert.soft break'
|
|
2590
2626
|
| 'insert.block'
|
|
2591
2627
|
| 'insert.span'
|
|
2592
2628
|
| 'insert.text'
|
|
2593
|
-
| 'move.block'
|
|
2594
|
-
'
|
|
2595
|
-
|
|
2596
|
-
}
|
|
2597
|
-
| {
|
|
2598
|
-
type: StrictExtract<
|
|
2599
|
-
| 'focus'
|
|
2600
|
-
| 'delete'
|
|
2601
|
-
| 'select'
|
|
2602
|
-
| 'annotation.add'
|
|
2603
|
-
| 'annotation.remove'
|
|
2604
|
-
| 'block.set'
|
|
2605
|
-
| 'block.unset'
|
|
2606
|
-
| 'blur'
|
|
2607
|
-
| 'decorator.add'
|
|
2608
|
-
| 'decorator.remove'
|
|
2609
|
-
| 'delete.backward'
|
|
2610
|
-
| 'delete.block'
|
|
2611
|
-
| 'delete.forward'
|
|
2612
|
-
| 'delete.text'
|
|
2613
|
-
| 'history.redo'
|
|
2614
|
-
| 'history.undo'
|
|
2615
|
-
| 'insert.inline object'
|
|
2616
|
-
| 'insert.break'
|
|
2617
|
-
| 'insert.soft break'
|
|
2618
|
-
| 'insert.block'
|
|
2619
|
-
| 'insert.span'
|
|
2620
|
-
| 'insert.text'
|
|
2621
|
-
| 'move.block',
|
|
2622
|
-
'insert.block'
|
|
2629
|
+
| 'move.block'
|
|
2630
|
+
| 'split.block',
|
|
2631
|
+
'insert.span'
|
|
2623
2632
|
>
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2633
|
+
text: string
|
|
2634
|
+
annotations?: Array<{
|
|
2635
|
+
name: string
|
|
2636
|
+
value: {
|
|
2637
|
+
[prop: string]: unknown
|
|
2638
|
+
}
|
|
2639
|
+
}>
|
|
2640
|
+
decorators?: Array<string>
|
|
2627
2641
|
}
|
|
2628
2642
|
| {
|
|
2629
2643
|
type: StrictExtract<
|
|
@@ -2644,22 +2658,14 @@ export declare function createCodeEditorBehaviors(
|
|
|
2644
2658
|
| 'history.redo'
|
|
2645
2659
|
| 'history.undo'
|
|
2646
2660
|
| 'insert.inline object'
|
|
2647
|
-
| 'insert.break'
|
|
2648
|
-
| 'insert.soft break'
|
|
2649
2661
|
| 'insert.block'
|
|
2650
2662
|
| 'insert.span'
|
|
2651
2663
|
| 'insert.text'
|
|
2652
|
-
| 'move.block'
|
|
2653
|
-
'
|
|
2664
|
+
| 'move.block'
|
|
2665
|
+
| 'split.block',
|
|
2666
|
+
'insert.text'
|
|
2654
2667
|
>
|
|
2655
2668
|
text: string
|
|
2656
|
-
annotations?: Array<{
|
|
2657
|
-
name: string
|
|
2658
|
-
value: {
|
|
2659
|
-
[prop: string]: unknown
|
|
2660
|
-
}
|
|
2661
|
-
}>
|
|
2662
|
-
decorators?: Array<string>
|
|
2663
2669
|
}
|
|
2664
2670
|
| {
|
|
2665
2671
|
type: StrictExtract<
|
|
@@ -2680,15 +2686,15 @@ export declare function createCodeEditorBehaviors(
|
|
|
2680
2686
|
| 'history.redo'
|
|
2681
2687
|
| 'history.undo'
|
|
2682
2688
|
| 'insert.inline object'
|
|
2683
|
-
| 'insert.break'
|
|
2684
|
-
| 'insert.soft break'
|
|
2685
2689
|
| 'insert.block'
|
|
2686
2690
|
| 'insert.span'
|
|
2687
2691
|
| 'insert.text'
|
|
2688
|
-
| 'move.block'
|
|
2689
|
-
'
|
|
2692
|
+
| 'move.block'
|
|
2693
|
+
| 'split.block',
|
|
2694
|
+
'move.block'
|
|
2690
2695
|
>
|
|
2691
|
-
|
|
2696
|
+
at: [KeyedSegment]
|
|
2697
|
+
to: [KeyedSegment]
|
|
2692
2698
|
}
|
|
2693
2699
|
| {
|
|
2694
2700
|
type: StrictExtract<
|
|
@@ -2709,16 +2715,14 @@ export declare function createCodeEditorBehaviors(
|
|
|
2709
2715
|
| 'history.redo'
|
|
2710
2716
|
| 'history.undo'
|
|
2711
2717
|
| 'insert.inline object'
|
|
2712
|
-
| 'insert.break'
|
|
2713
|
-
| 'insert.soft break'
|
|
2714
2718
|
| 'insert.block'
|
|
2715
2719
|
| 'insert.span'
|
|
2716
2720
|
| 'insert.text'
|
|
2717
|
-
| 'move.block'
|
|
2718
|
-
'
|
|
2721
|
+
| 'move.block'
|
|
2722
|
+
| 'split.block',
|
|
2723
|
+
'select'
|
|
2719
2724
|
>
|
|
2720
|
-
|
|
2721
|
-
to: [KeyedSegment]
|
|
2725
|
+
selection: EditorSelection
|
|
2722
2726
|
}
|
|
2723
2727
|
| {
|
|
2724
2728
|
type: StrictExtract<
|
|
@@ -2739,15 +2743,13 @@ export declare function createCodeEditorBehaviors(
|
|
|
2739
2743
|
| 'history.redo'
|
|
2740
2744
|
| 'history.undo'
|
|
2741
2745
|
| 'insert.inline object'
|
|
2742
|
-
| 'insert.break'
|
|
2743
|
-
| 'insert.soft break'
|
|
2744
2746
|
| 'insert.block'
|
|
2745
2747
|
| 'insert.span'
|
|
2746
2748
|
| 'insert.text'
|
|
2747
|
-
| 'move.block'
|
|
2748
|
-
'
|
|
2749
|
+
| 'move.block'
|
|
2750
|
+
| 'split.block',
|
|
2751
|
+
'split.block'
|
|
2749
2752
|
>
|
|
2750
|
-
selection: EditorSelection
|
|
2751
2753
|
}
|
|
2752
2754
|
| {
|
|
2753
2755
|
type: StrictExtract<
|
|
@@ -2760,6 +2762,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
2760
2762
|
| 'annotation.toggle'
|
|
2761
2763
|
| 'decorator.toggle'
|
|
2762
2764
|
| 'insert.blocks'
|
|
2765
|
+
| 'insert.break'
|
|
2766
|
+
| 'insert.soft break'
|
|
2763
2767
|
| 'list item.add'
|
|
2764
2768
|
| 'list item.remove'
|
|
2765
2769
|
| 'list item.toggle'
|
|
@@ -2790,6 +2794,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
2790
2794
|
| 'annotation.toggle'
|
|
2791
2795
|
| 'decorator.toggle'
|
|
2792
2796
|
| 'insert.blocks'
|
|
2797
|
+
| 'insert.break'
|
|
2798
|
+
| 'insert.soft break'
|
|
2793
2799
|
| 'list item.add'
|
|
2794
2800
|
| 'list item.remove'
|
|
2795
2801
|
| 'list item.toggle'
|
|
@@ -2819,6 +2825,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
2819
2825
|
| 'annotation.toggle'
|
|
2820
2826
|
| 'decorator.toggle'
|
|
2821
2827
|
| 'insert.blocks'
|
|
2828
|
+
| 'insert.break'
|
|
2829
|
+
| 'insert.soft break'
|
|
2822
2830
|
| 'list item.add'
|
|
2823
2831
|
| 'list item.remove'
|
|
2824
2832
|
| 'list item.toggle'
|
|
@@ -2850,6 +2858,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
2850
2858
|
| 'annotation.toggle'
|
|
2851
2859
|
| 'decorator.toggle'
|
|
2852
2860
|
| 'insert.blocks'
|
|
2861
|
+
| 'insert.break'
|
|
2862
|
+
| 'insert.soft break'
|
|
2853
2863
|
| 'list item.add'
|
|
2854
2864
|
| 'list item.remove'
|
|
2855
2865
|
| 'list item.toggle'
|
|
@@ -2879,6 +2889,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
2879
2889
|
| 'annotation.toggle'
|
|
2880
2890
|
| 'decorator.toggle'
|
|
2881
2891
|
| 'insert.blocks'
|
|
2892
|
+
| 'insert.break'
|
|
2893
|
+
| 'insert.soft break'
|
|
2882
2894
|
| 'list item.add'
|
|
2883
2895
|
| 'list item.remove'
|
|
2884
2896
|
| 'list item.toggle'
|
|
@@ -2912,6 +2924,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
2912
2924
|
| 'annotation.toggle'
|
|
2913
2925
|
| 'decorator.toggle'
|
|
2914
2926
|
| 'insert.blocks'
|
|
2927
|
+
| 'insert.break'
|
|
2928
|
+
| 'insert.soft break'
|
|
2915
2929
|
| 'list item.add'
|
|
2916
2930
|
| 'list item.remove'
|
|
2917
2931
|
| 'list item.toggle'
|
|
@@ -2945,6 +2959,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
2945
2959
|
| 'annotation.toggle'
|
|
2946
2960
|
| 'decorator.toggle'
|
|
2947
2961
|
| 'insert.blocks'
|
|
2962
|
+
| 'insert.break'
|
|
2963
|
+
| 'insert.soft break'
|
|
2948
2964
|
| 'list item.add'
|
|
2949
2965
|
| 'list item.remove'
|
|
2950
2966
|
| 'list item.toggle'
|
|
@@ -2976,6 +2992,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
2976
2992
|
| 'annotation.toggle'
|
|
2977
2993
|
| 'decorator.toggle'
|
|
2978
2994
|
| 'insert.blocks'
|
|
2995
|
+
| 'insert.break'
|
|
2996
|
+
| 'insert.soft break'
|
|
2979
2997
|
| 'list item.add'
|
|
2980
2998
|
| 'list item.remove'
|
|
2981
2999
|
| 'list item.toggle'
|
|
@@ -3007,6 +3025,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
3007
3025
|
| 'annotation.toggle'
|
|
3008
3026
|
| 'decorator.toggle'
|
|
3009
3027
|
| 'insert.blocks'
|
|
3028
|
+
| 'insert.break'
|
|
3029
|
+
| 'insert.soft break'
|
|
3010
3030
|
| 'list item.add'
|
|
3011
3031
|
| 'list item.remove'
|
|
3012
3032
|
| 'list item.toggle'
|
|
@@ -3033,6 +3053,60 @@ export declare function createCodeEditorBehaviors(
|
|
|
3033
3053
|
| 'annotation.toggle'
|
|
3034
3054
|
| 'decorator.toggle'
|
|
3035
3055
|
| 'insert.blocks'
|
|
3056
|
+
| 'insert.break'
|
|
3057
|
+
| 'insert.soft break'
|
|
3058
|
+
| 'list item.add'
|
|
3059
|
+
| 'list item.remove'
|
|
3060
|
+
| 'list item.toggle'
|
|
3061
|
+
| 'move.block down'
|
|
3062
|
+
| 'move.block up'
|
|
3063
|
+
| 'select.previous block'
|
|
3064
|
+
| 'select.next block'
|
|
3065
|
+
| 'style.add'
|
|
3066
|
+
| 'style.remove'
|
|
3067
|
+
| 'style.toggle',
|
|
3068
|
+
'insert.break'
|
|
3069
|
+
>
|
|
3070
|
+
}
|
|
3071
|
+
| {
|
|
3072
|
+
type: StrictExtract<
|
|
3073
|
+
| 'serialize'
|
|
3074
|
+
| 'serialization.failure'
|
|
3075
|
+
| 'serialization.success'
|
|
3076
|
+
| 'deserialize'
|
|
3077
|
+
| 'deserialization.failure'
|
|
3078
|
+
| 'deserialization.success'
|
|
3079
|
+
| 'annotation.toggle'
|
|
3080
|
+
| 'decorator.toggle'
|
|
3081
|
+
| 'insert.blocks'
|
|
3082
|
+
| 'insert.break'
|
|
3083
|
+
| 'insert.soft break'
|
|
3084
|
+
| 'list item.add'
|
|
3085
|
+
| 'list item.remove'
|
|
3086
|
+
| 'list item.toggle'
|
|
3087
|
+
| 'move.block down'
|
|
3088
|
+
| 'move.block up'
|
|
3089
|
+
| 'select.previous block'
|
|
3090
|
+
| 'select.next block'
|
|
3091
|
+
| 'style.add'
|
|
3092
|
+
| 'style.remove'
|
|
3093
|
+
| 'style.toggle',
|
|
3094
|
+
'insert.soft break'
|
|
3095
|
+
>
|
|
3096
|
+
}
|
|
3097
|
+
| {
|
|
3098
|
+
type: StrictExtract<
|
|
3099
|
+
| 'serialize'
|
|
3100
|
+
| 'serialization.failure'
|
|
3101
|
+
| 'serialization.success'
|
|
3102
|
+
| 'deserialize'
|
|
3103
|
+
| 'deserialization.failure'
|
|
3104
|
+
| 'deserialization.success'
|
|
3105
|
+
| 'annotation.toggle'
|
|
3106
|
+
| 'decorator.toggle'
|
|
3107
|
+
| 'insert.blocks'
|
|
3108
|
+
| 'insert.break'
|
|
3109
|
+
| 'insert.soft break'
|
|
3036
3110
|
| 'list item.add'
|
|
3037
3111
|
| 'list item.remove'
|
|
3038
3112
|
| 'list item.toggle'
|
|
@@ -3058,6 +3132,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
3058
3132
|
| 'annotation.toggle'
|
|
3059
3133
|
| 'decorator.toggle'
|
|
3060
3134
|
| 'insert.blocks'
|
|
3135
|
+
| 'insert.break'
|
|
3136
|
+
| 'insert.soft break'
|
|
3061
3137
|
| 'list item.add'
|
|
3062
3138
|
| 'list item.remove'
|
|
3063
3139
|
| 'list item.toggle'
|
|
@@ -3083,6 +3159,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
3083
3159
|
| 'annotation.toggle'
|
|
3084
3160
|
| 'decorator.toggle'
|
|
3085
3161
|
| 'insert.blocks'
|
|
3162
|
+
| 'insert.break'
|
|
3163
|
+
| 'insert.soft break'
|
|
3086
3164
|
| 'list item.add'
|
|
3087
3165
|
| 'list item.remove'
|
|
3088
3166
|
| 'list item.toggle'
|
|
@@ -3108,6 +3186,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
3108
3186
|
| 'annotation.toggle'
|
|
3109
3187
|
| 'decorator.toggle'
|
|
3110
3188
|
| 'insert.blocks'
|
|
3189
|
+
| 'insert.break'
|
|
3190
|
+
| 'insert.soft break'
|
|
3111
3191
|
| 'list item.add'
|
|
3112
3192
|
| 'list item.remove'
|
|
3113
3193
|
| 'list item.toggle'
|
|
@@ -3133,6 +3213,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
3133
3213
|
| 'annotation.toggle'
|
|
3134
3214
|
| 'decorator.toggle'
|
|
3135
3215
|
| 'insert.blocks'
|
|
3216
|
+
| 'insert.break'
|
|
3217
|
+
| 'insert.soft break'
|
|
3136
3218
|
| 'list item.add'
|
|
3137
3219
|
| 'list item.remove'
|
|
3138
3220
|
| 'list item.toggle'
|
|
@@ -3158,6 +3240,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
3158
3240
|
| 'annotation.toggle'
|
|
3159
3241
|
| 'decorator.toggle'
|
|
3160
3242
|
| 'insert.blocks'
|
|
3243
|
+
| 'insert.break'
|
|
3244
|
+
| 'insert.soft break'
|
|
3161
3245
|
| 'list item.add'
|
|
3162
3246
|
| 'list item.remove'
|
|
3163
3247
|
| 'list item.toggle'
|
|
@@ -3183,6 +3267,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
3183
3267
|
| 'annotation.toggle'
|
|
3184
3268
|
| 'decorator.toggle'
|
|
3185
3269
|
| 'insert.blocks'
|
|
3270
|
+
| 'insert.break'
|
|
3271
|
+
| 'insert.soft break'
|
|
3186
3272
|
| 'list item.add'
|
|
3187
3273
|
| 'list item.remove'
|
|
3188
3274
|
| 'list item.toggle'
|
|
@@ -3208,6 +3294,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
3208
3294
|
| 'annotation.toggle'
|
|
3209
3295
|
| 'decorator.toggle'
|
|
3210
3296
|
| 'insert.blocks'
|
|
3297
|
+
| 'insert.break'
|
|
3298
|
+
| 'insert.soft break'
|
|
3211
3299
|
| 'list item.add'
|
|
3212
3300
|
| 'list item.remove'
|
|
3213
3301
|
| 'list item.toggle'
|
|
@@ -3233,6 +3321,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
3233
3321
|
| 'annotation.toggle'
|
|
3234
3322
|
| 'decorator.toggle'
|
|
3235
3323
|
| 'insert.blocks'
|
|
3324
|
+
| 'insert.break'
|
|
3325
|
+
| 'insert.soft break'
|
|
3236
3326
|
| 'list item.add'
|
|
3237
3327
|
| 'list item.remove'
|
|
3238
3328
|
| 'list item.toggle'
|
|
@@ -3258,6 +3348,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
3258
3348
|
| 'annotation.toggle'
|
|
3259
3349
|
| 'decorator.toggle'
|
|
3260
3350
|
| 'insert.blocks'
|
|
3351
|
+
| 'insert.break'
|
|
3352
|
+
| 'insert.soft break'
|
|
3261
3353
|
| 'list item.add'
|
|
3262
3354
|
| 'list item.remove'
|
|
3263
3355
|
| 'list item.toggle'
|
|
@@ -3583,15 +3675,16 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3583
3675
|
| 'history.redo'
|
|
3584
3676
|
| 'history.undo'
|
|
3585
3677
|
| 'insert.inline object'
|
|
3586
|
-
| 'insert.break'
|
|
3587
|
-
| 'insert.soft break'
|
|
3588
3678
|
| 'insert.block'
|
|
3589
3679
|
| 'insert.span'
|
|
3590
3680
|
| 'insert.text'
|
|
3591
3681
|
| 'move.block'
|
|
3682
|
+
| 'split.block'
|
|
3592
3683
|
| 'annotation.toggle'
|
|
3593
3684
|
| 'decorator.toggle'
|
|
3594
3685
|
| 'insert.blocks'
|
|
3686
|
+
| 'insert.break'
|
|
3687
|
+
| 'insert.soft break'
|
|
3595
3688
|
| 'list item.add'
|
|
3596
3689
|
| 'list item.remove'
|
|
3597
3690
|
| 'list item.toggle'
|
|
@@ -3615,6 +3708,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3615
3708
|
| 'mouse.click'
|
|
3616
3709
|
| 'serialize.*'
|
|
3617
3710
|
| 'deserialize.*'
|
|
3711
|
+
| 'split.*'
|
|
3618
3712
|
| 'focus.*'
|
|
3619
3713
|
| 'block.*'
|
|
3620
3714
|
| 'style.*'
|
|
@@ -3654,12 +3748,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3654
3748
|
| 'history.redo'
|
|
3655
3749
|
| 'history.undo'
|
|
3656
3750
|
| 'insert.inline object'
|
|
3657
|
-
| 'insert.break'
|
|
3658
|
-
| 'insert.soft break'
|
|
3659
3751
|
| 'insert.block'
|
|
3660
3752
|
| 'insert.span'
|
|
3661
3753
|
| 'insert.text'
|
|
3662
|
-
| 'move.block'
|
|
3754
|
+
| 'move.block'
|
|
3755
|
+
| 'split.block',
|
|
3663
3756
|
'annotation.add'
|
|
3664
3757
|
>
|
|
3665
3758
|
annotation: {
|
|
@@ -3688,12 +3781,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3688
3781
|
| 'history.redo'
|
|
3689
3782
|
| 'history.undo'
|
|
3690
3783
|
| 'insert.inline object'
|
|
3691
|
-
| 'insert.break'
|
|
3692
|
-
| 'insert.soft break'
|
|
3693
3784
|
| 'insert.block'
|
|
3694
3785
|
| 'insert.span'
|
|
3695
3786
|
| 'insert.text'
|
|
3696
|
-
| 'move.block'
|
|
3787
|
+
| 'move.block'
|
|
3788
|
+
| 'split.block',
|
|
3697
3789
|
'annotation.remove'
|
|
3698
3790
|
>
|
|
3699
3791
|
annotation: {
|
|
@@ -3719,12 +3811,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3719
3811
|
| 'history.redo'
|
|
3720
3812
|
| 'history.undo'
|
|
3721
3813
|
| 'insert.inline object'
|
|
3722
|
-
| 'insert.break'
|
|
3723
|
-
| 'insert.soft break'
|
|
3724
3814
|
| 'insert.block'
|
|
3725
3815
|
| 'insert.span'
|
|
3726
3816
|
| 'insert.text'
|
|
3727
|
-
| 'move.block'
|
|
3817
|
+
| 'move.block'
|
|
3818
|
+
| 'split.block',
|
|
3728
3819
|
'block.set'
|
|
3729
3820
|
>
|
|
3730
3821
|
at: [KeyedSegment]
|
|
@@ -3749,12 +3840,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3749
3840
|
| 'history.redo'
|
|
3750
3841
|
| 'history.undo'
|
|
3751
3842
|
| 'insert.inline object'
|
|
3752
|
-
| 'insert.break'
|
|
3753
|
-
| 'insert.soft break'
|
|
3754
3843
|
| 'insert.block'
|
|
3755
3844
|
| 'insert.span'
|
|
3756
3845
|
| 'insert.text'
|
|
3757
|
-
| 'move.block'
|
|
3846
|
+
| 'move.block'
|
|
3847
|
+
| 'split.block',
|
|
3758
3848
|
'block.unset'
|
|
3759
3849
|
>
|
|
3760
3850
|
at: [KeyedSegment]
|
|
@@ -3779,12 +3869,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3779
3869
|
| 'history.redo'
|
|
3780
3870
|
| 'history.undo'
|
|
3781
3871
|
| 'insert.inline object'
|
|
3782
|
-
| 'insert.break'
|
|
3783
|
-
| 'insert.soft break'
|
|
3784
3872
|
| 'insert.block'
|
|
3785
3873
|
| 'insert.span'
|
|
3786
3874
|
| 'insert.text'
|
|
3787
|
-
| 'move.block'
|
|
3875
|
+
| 'move.block'
|
|
3876
|
+
| 'split.block',
|
|
3788
3877
|
'blur'
|
|
3789
3878
|
>
|
|
3790
3879
|
}
|
|
@@ -3807,12 +3896,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3807
3896
|
| 'history.redo'
|
|
3808
3897
|
| 'history.undo'
|
|
3809
3898
|
| 'insert.inline object'
|
|
3810
|
-
| 'insert.break'
|
|
3811
|
-
| 'insert.soft break'
|
|
3812
3899
|
| 'insert.block'
|
|
3813
3900
|
| 'insert.span'
|
|
3814
3901
|
| 'insert.text'
|
|
3815
|
-
| 'move.block'
|
|
3902
|
+
| 'move.block'
|
|
3903
|
+
| 'split.block',
|
|
3816
3904
|
'decorator.add'
|
|
3817
3905
|
>
|
|
3818
3906
|
decorator: string
|
|
@@ -3840,12 +3928,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3840
3928
|
| 'history.redo'
|
|
3841
3929
|
| 'history.undo'
|
|
3842
3930
|
| 'insert.inline object'
|
|
3843
|
-
| 'insert.break'
|
|
3844
|
-
| 'insert.soft break'
|
|
3845
3931
|
| 'insert.block'
|
|
3846
3932
|
| 'insert.span'
|
|
3847
3933
|
| 'insert.text'
|
|
3848
|
-
| 'move.block'
|
|
3934
|
+
| 'move.block'
|
|
3935
|
+
| 'split.block',
|
|
3849
3936
|
'decorator.remove'
|
|
3850
3937
|
>
|
|
3851
3938
|
decorator: string
|
|
@@ -3869,12 +3956,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3869
3956
|
| 'history.redo'
|
|
3870
3957
|
| 'history.undo'
|
|
3871
3958
|
| 'insert.inline object'
|
|
3872
|
-
| 'insert.break'
|
|
3873
|
-
| 'insert.soft break'
|
|
3874
3959
|
| 'insert.block'
|
|
3875
3960
|
| 'insert.span'
|
|
3876
3961
|
| 'insert.text'
|
|
3877
|
-
| 'move.block'
|
|
3962
|
+
| 'move.block'
|
|
3963
|
+
| 'split.block',
|
|
3878
3964
|
'delete'
|
|
3879
3965
|
>
|
|
3880
3966
|
selection: NonNullable<EditorSelection>
|
|
@@ -3898,12 +3984,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3898
3984
|
| 'history.redo'
|
|
3899
3985
|
| 'history.undo'
|
|
3900
3986
|
| 'insert.inline object'
|
|
3901
|
-
| 'insert.break'
|
|
3902
|
-
| 'insert.soft break'
|
|
3903
3987
|
| 'insert.block'
|
|
3904
3988
|
| 'insert.span'
|
|
3905
3989
|
| 'insert.text'
|
|
3906
|
-
| 'move.block'
|
|
3990
|
+
| 'move.block'
|
|
3991
|
+
| 'split.block',
|
|
3907
3992
|
'delete.backward'
|
|
3908
3993
|
>
|
|
3909
3994
|
unit: TextUnit
|
|
@@ -3927,12 +4012,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3927
4012
|
| 'history.redo'
|
|
3928
4013
|
| 'history.undo'
|
|
3929
4014
|
| 'insert.inline object'
|
|
3930
|
-
| 'insert.break'
|
|
3931
|
-
| 'insert.soft break'
|
|
3932
4015
|
| 'insert.block'
|
|
3933
4016
|
| 'insert.span'
|
|
3934
4017
|
| 'insert.text'
|
|
3935
|
-
| 'move.block'
|
|
4018
|
+
| 'move.block'
|
|
4019
|
+
| 'split.block',
|
|
3936
4020
|
'delete.block'
|
|
3937
4021
|
>
|
|
3938
4022
|
at: [KeyedSegment]
|
|
@@ -3956,12 +4040,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3956
4040
|
| 'history.redo'
|
|
3957
4041
|
| 'history.undo'
|
|
3958
4042
|
| 'insert.inline object'
|
|
3959
|
-
| 'insert.break'
|
|
3960
|
-
| 'insert.soft break'
|
|
3961
4043
|
| 'insert.block'
|
|
3962
4044
|
| 'insert.span'
|
|
3963
4045
|
| 'insert.text'
|
|
3964
|
-
| 'move.block'
|
|
4046
|
+
| 'move.block'
|
|
4047
|
+
| 'split.block',
|
|
3965
4048
|
'delete.forward'
|
|
3966
4049
|
>
|
|
3967
4050
|
unit: TextUnit
|
|
@@ -3985,12 +4068,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3985
4068
|
| 'history.redo'
|
|
3986
4069
|
| 'history.undo'
|
|
3987
4070
|
| 'insert.inline object'
|
|
3988
|
-
| 'insert.break'
|
|
3989
|
-
| 'insert.soft break'
|
|
3990
4071
|
| 'insert.block'
|
|
3991
4072
|
| 'insert.span'
|
|
3992
4073
|
| 'insert.text'
|
|
3993
|
-
| 'move.block'
|
|
4074
|
+
| 'move.block'
|
|
4075
|
+
| 'split.block',
|
|
3994
4076
|
'delete.text'
|
|
3995
4077
|
>
|
|
3996
4078
|
anchor: BlockOffset
|
|
@@ -4015,12 +4097,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4015
4097
|
| 'history.redo'
|
|
4016
4098
|
| 'history.undo'
|
|
4017
4099
|
| 'insert.inline object'
|
|
4018
|
-
| 'insert.break'
|
|
4019
|
-
| 'insert.soft break'
|
|
4020
4100
|
| 'insert.block'
|
|
4021
4101
|
| 'insert.span'
|
|
4022
4102
|
| 'insert.text'
|
|
4023
|
-
| 'move.block'
|
|
4103
|
+
| 'move.block'
|
|
4104
|
+
| 'split.block',
|
|
4024
4105
|
'focus'
|
|
4025
4106
|
>
|
|
4026
4107
|
}
|
|
@@ -4043,12 +4124,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4043
4124
|
| 'history.redo'
|
|
4044
4125
|
| 'history.undo'
|
|
4045
4126
|
| 'insert.inline object'
|
|
4046
|
-
| 'insert.break'
|
|
4047
|
-
| 'insert.soft break'
|
|
4048
4127
|
| 'insert.block'
|
|
4049
4128
|
| 'insert.span'
|
|
4050
4129
|
| 'insert.text'
|
|
4051
|
-
| 'move.block'
|
|
4130
|
+
| 'move.block'
|
|
4131
|
+
| 'split.block',
|
|
4052
4132
|
'history.redo'
|
|
4053
4133
|
>
|
|
4054
4134
|
}
|
|
@@ -4071,12 +4151,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4071
4151
|
| 'history.redo'
|
|
4072
4152
|
| 'history.undo'
|
|
4073
4153
|
| 'insert.inline object'
|
|
4074
|
-
| 'insert.break'
|
|
4075
|
-
| 'insert.soft break'
|
|
4076
4154
|
| 'insert.block'
|
|
4077
4155
|
| 'insert.span'
|
|
4078
4156
|
| 'insert.text'
|
|
4079
|
-
| 'move.block'
|
|
4157
|
+
| 'move.block'
|
|
4158
|
+
| 'split.block',
|
|
4080
4159
|
'history.undo'
|
|
4081
4160
|
>
|
|
4082
4161
|
}
|
|
@@ -4099,12 +4178,11 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4099
4178
|
| 'history.redo'
|
|
4100
4179
|
| 'history.undo'
|
|
4101
4180
|
| 'insert.inline object'
|
|
4102
|
-
| 'insert.break'
|
|
4103
|
-
| 'insert.soft break'
|
|
4104
4181
|
| 'insert.block'
|
|
4105
4182
|
| 'insert.span'
|
|
4106
4183
|
| 'insert.text'
|
|
4107
|
-
| 'move.block'
|
|
4184
|
+
| 'move.block'
|
|
4185
|
+
| 'split.block',
|
|
4108
4186
|
'insert.inline object'
|
|
4109
4187
|
>
|
|
4110
4188
|
inlineObject: {
|
|
@@ -4133,14 +4211,16 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4133
4211
|
| 'history.redo'
|
|
4134
4212
|
| 'history.undo'
|
|
4135
4213
|
| 'insert.inline object'
|
|
4136
|
-
| 'insert.break'
|
|
4137
|
-
| 'insert.soft break'
|
|
4138
4214
|
| 'insert.block'
|
|
4139
4215
|
| 'insert.span'
|
|
4140
4216
|
| 'insert.text'
|
|
4141
|
-
| 'move.block'
|
|
4142
|
-
'
|
|
4217
|
+
| 'move.block'
|
|
4218
|
+
| 'split.block',
|
|
4219
|
+
'insert.block'
|
|
4143
4220
|
>
|
|
4221
|
+
block: BlockWithOptionalKey
|
|
4222
|
+
placement: InsertPlacement
|
|
4223
|
+
select?: 'start' | 'end' | 'none'
|
|
4144
4224
|
}
|
|
4145
4225
|
| {
|
|
4146
4226
|
type: StrictExtract<
|
|
@@ -4161,14 +4241,21 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4161
4241
|
| 'history.redo'
|
|
4162
4242
|
| 'history.undo'
|
|
4163
4243
|
| 'insert.inline object'
|
|
4164
|
-
| 'insert.break'
|
|
4165
|
-
| 'insert.soft break'
|
|
4166
4244
|
| 'insert.block'
|
|
4167
4245
|
| 'insert.span'
|
|
4168
4246
|
| 'insert.text'
|
|
4169
|
-
| 'move.block'
|
|
4170
|
-
'
|
|
4247
|
+
| 'move.block'
|
|
4248
|
+
| 'split.block',
|
|
4249
|
+
'insert.span'
|
|
4171
4250
|
>
|
|
4251
|
+
text: string
|
|
4252
|
+
annotations?: Array<{
|
|
4253
|
+
name: string
|
|
4254
|
+
value: {
|
|
4255
|
+
[prop: string]: unknown
|
|
4256
|
+
}
|
|
4257
|
+
}>
|
|
4258
|
+
decorators?: Array<string>
|
|
4172
4259
|
}
|
|
4173
4260
|
| {
|
|
4174
4261
|
type: StrictExtract<
|
|
@@ -4189,17 +4276,14 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4189
4276
|
| 'history.redo'
|
|
4190
4277
|
| 'history.undo'
|
|
4191
4278
|
| 'insert.inline object'
|
|
4192
|
-
| 'insert.break'
|
|
4193
|
-
| 'insert.soft break'
|
|
4194
4279
|
| 'insert.block'
|
|
4195
4280
|
| 'insert.span'
|
|
4196
4281
|
| 'insert.text'
|
|
4197
|
-
| 'move.block'
|
|
4198
|
-
'
|
|
4282
|
+
| 'move.block'
|
|
4283
|
+
| 'split.block',
|
|
4284
|
+
'insert.text'
|
|
4199
4285
|
>
|
|
4200
|
-
|
|
4201
|
-
placement: InsertPlacement
|
|
4202
|
-
select?: 'start' | 'end' | 'none'
|
|
4286
|
+
text: string
|
|
4203
4287
|
}
|
|
4204
4288
|
| {
|
|
4205
4289
|
type: StrictExtract<
|
|
@@ -4220,22 +4304,15 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4220
4304
|
| 'history.redo'
|
|
4221
4305
|
| 'history.undo'
|
|
4222
4306
|
| 'insert.inline object'
|
|
4223
|
-
| 'insert.break'
|
|
4224
|
-
| 'insert.soft break'
|
|
4225
4307
|
| 'insert.block'
|
|
4226
4308
|
| 'insert.span'
|
|
4227
4309
|
| 'insert.text'
|
|
4228
|
-
| 'move.block'
|
|
4229
|
-
'
|
|
4310
|
+
| 'move.block'
|
|
4311
|
+
| 'split.block',
|
|
4312
|
+
'move.block'
|
|
4230
4313
|
>
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
name: string
|
|
4234
|
-
value: {
|
|
4235
|
-
[prop: string]: unknown
|
|
4236
|
-
}
|
|
4237
|
-
}>
|
|
4238
|
-
decorators?: Array<string>
|
|
4314
|
+
at: [KeyedSegment]
|
|
4315
|
+
to: [KeyedSegment]
|
|
4239
4316
|
}
|
|
4240
4317
|
| {
|
|
4241
4318
|
type: StrictExtract<
|
|
@@ -4256,15 +4333,14 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4256
4333
|
| 'history.redo'
|
|
4257
4334
|
| 'history.undo'
|
|
4258
4335
|
| 'insert.inline object'
|
|
4259
|
-
| 'insert.break'
|
|
4260
|
-
| 'insert.soft break'
|
|
4261
4336
|
| 'insert.block'
|
|
4262
4337
|
| 'insert.span'
|
|
4263
4338
|
| 'insert.text'
|
|
4264
|
-
| 'move.block'
|
|
4265
|
-
'
|
|
4339
|
+
| 'move.block'
|
|
4340
|
+
| 'split.block',
|
|
4341
|
+
'select'
|
|
4266
4342
|
>
|
|
4267
|
-
|
|
4343
|
+
selection: EditorSelection
|
|
4268
4344
|
}
|
|
4269
4345
|
| {
|
|
4270
4346
|
type: StrictExtract<
|
|
@@ -4285,45 +4361,13 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4285
4361
|
| 'history.redo'
|
|
4286
4362
|
| 'history.undo'
|
|
4287
4363
|
| 'insert.inline object'
|
|
4288
|
-
| 'insert.break'
|
|
4289
|
-
| 'insert.soft break'
|
|
4290
4364
|
| 'insert.block'
|
|
4291
4365
|
| 'insert.span'
|
|
4292
4366
|
| 'insert.text'
|
|
4293
|
-
| 'move.block'
|
|
4294
|
-
'
|
|
4367
|
+
| 'move.block'
|
|
4368
|
+
| 'split.block',
|
|
4369
|
+
'split.block'
|
|
4295
4370
|
>
|
|
4296
|
-
at: [KeyedSegment]
|
|
4297
|
-
to: [KeyedSegment]
|
|
4298
|
-
}
|
|
4299
|
-
| {
|
|
4300
|
-
type: StrictExtract<
|
|
4301
|
-
| 'focus'
|
|
4302
|
-
| 'delete'
|
|
4303
|
-
| 'select'
|
|
4304
|
-
| 'annotation.add'
|
|
4305
|
-
| 'annotation.remove'
|
|
4306
|
-
| 'block.set'
|
|
4307
|
-
| 'block.unset'
|
|
4308
|
-
| 'blur'
|
|
4309
|
-
| 'decorator.add'
|
|
4310
|
-
| 'decorator.remove'
|
|
4311
|
-
| 'delete.backward'
|
|
4312
|
-
| 'delete.block'
|
|
4313
|
-
| 'delete.forward'
|
|
4314
|
-
| 'delete.text'
|
|
4315
|
-
| 'history.redo'
|
|
4316
|
-
| 'history.undo'
|
|
4317
|
-
| 'insert.inline object'
|
|
4318
|
-
| 'insert.break'
|
|
4319
|
-
| 'insert.soft break'
|
|
4320
|
-
| 'insert.block'
|
|
4321
|
-
| 'insert.span'
|
|
4322
|
-
| 'insert.text'
|
|
4323
|
-
| 'move.block',
|
|
4324
|
-
'select'
|
|
4325
|
-
>
|
|
4326
|
-
selection: EditorSelection
|
|
4327
4371
|
}
|
|
4328
4372
|
| {
|
|
4329
4373
|
type: StrictExtract<
|
|
@@ -4336,6 +4380,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4336
4380
|
| 'annotation.toggle'
|
|
4337
4381
|
| 'decorator.toggle'
|
|
4338
4382
|
| 'insert.blocks'
|
|
4383
|
+
| 'insert.break'
|
|
4384
|
+
| 'insert.soft break'
|
|
4339
4385
|
| 'list item.add'
|
|
4340
4386
|
| 'list item.remove'
|
|
4341
4387
|
| 'list item.toggle'
|
|
@@ -4366,6 +4412,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4366
4412
|
| 'annotation.toggle'
|
|
4367
4413
|
| 'decorator.toggle'
|
|
4368
4414
|
| 'insert.blocks'
|
|
4415
|
+
| 'insert.break'
|
|
4416
|
+
| 'insert.soft break'
|
|
4369
4417
|
| 'list item.add'
|
|
4370
4418
|
| 'list item.remove'
|
|
4371
4419
|
| 'list item.toggle'
|
|
@@ -4395,6 +4443,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4395
4443
|
| 'annotation.toggle'
|
|
4396
4444
|
| 'decorator.toggle'
|
|
4397
4445
|
| 'insert.blocks'
|
|
4446
|
+
| 'insert.break'
|
|
4447
|
+
| 'insert.soft break'
|
|
4398
4448
|
| 'list item.add'
|
|
4399
4449
|
| 'list item.remove'
|
|
4400
4450
|
| 'list item.toggle'
|
|
@@ -4426,6 +4476,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4426
4476
|
| 'annotation.toggle'
|
|
4427
4477
|
| 'decorator.toggle'
|
|
4428
4478
|
| 'insert.blocks'
|
|
4479
|
+
| 'insert.break'
|
|
4480
|
+
| 'insert.soft break'
|
|
4429
4481
|
| 'list item.add'
|
|
4430
4482
|
| 'list item.remove'
|
|
4431
4483
|
| 'list item.toggle'
|
|
@@ -4455,6 +4507,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4455
4507
|
| 'annotation.toggle'
|
|
4456
4508
|
| 'decorator.toggle'
|
|
4457
4509
|
| 'insert.blocks'
|
|
4510
|
+
| 'insert.break'
|
|
4511
|
+
| 'insert.soft break'
|
|
4458
4512
|
| 'list item.add'
|
|
4459
4513
|
| 'list item.remove'
|
|
4460
4514
|
| 'list item.toggle'
|
|
@@ -4488,6 +4542,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4488
4542
|
| 'annotation.toggle'
|
|
4489
4543
|
| 'decorator.toggle'
|
|
4490
4544
|
| 'insert.blocks'
|
|
4545
|
+
| 'insert.break'
|
|
4546
|
+
| 'insert.soft break'
|
|
4491
4547
|
| 'list item.add'
|
|
4492
4548
|
| 'list item.remove'
|
|
4493
4549
|
| 'list item.toggle'
|
|
@@ -4521,6 +4577,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4521
4577
|
| 'annotation.toggle'
|
|
4522
4578
|
| 'decorator.toggle'
|
|
4523
4579
|
| 'insert.blocks'
|
|
4580
|
+
| 'insert.break'
|
|
4581
|
+
| 'insert.soft break'
|
|
4524
4582
|
| 'list item.add'
|
|
4525
4583
|
| 'list item.remove'
|
|
4526
4584
|
| 'list item.toggle'
|
|
@@ -4552,6 +4610,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4552
4610
|
| 'annotation.toggle'
|
|
4553
4611
|
| 'decorator.toggle'
|
|
4554
4612
|
| 'insert.blocks'
|
|
4613
|
+
| 'insert.break'
|
|
4614
|
+
| 'insert.soft break'
|
|
4555
4615
|
| 'list item.add'
|
|
4556
4616
|
| 'list item.remove'
|
|
4557
4617
|
| 'list item.toggle'
|
|
@@ -4583,6 +4643,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4583
4643
|
| 'annotation.toggle'
|
|
4584
4644
|
| 'decorator.toggle'
|
|
4585
4645
|
| 'insert.blocks'
|
|
4646
|
+
| 'insert.break'
|
|
4647
|
+
| 'insert.soft break'
|
|
4586
4648
|
| 'list item.add'
|
|
4587
4649
|
| 'list item.remove'
|
|
4588
4650
|
| 'list item.toggle'
|
|
@@ -4609,6 +4671,60 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4609
4671
|
| 'annotation.toggle'
|
|
4610
4672
|
| 'decorator.toggle'
|
|
4611
4673
|
| 'insert.blocks'
|
|
4674
|
+
| 'insert.break'
|
|
4675
|
+
| 'insert.soft break'
|
|
4676
|
+
| 'list item.add'
|
|
4677
|
+
| 'list item.remove'
|
|
4678
|
+
| 'list item.toggle'
|
|
4679
|
+
| 'move.block down'
|
|
4680
|
+
| 'move.block up'
|
|
4681
|
+
| 'select.previous block'
|
|
4682
|
+
| 'select.next block'
|
|
4683
|
+
| 'style.add'
|
|
4684
|
+
| 'style.remove'
|
|
4685
|
+
| 'style.toggle',
|
|
4686
|
+
'insert.break'
|
|
4687
|
+
>
|
|
4688
|
+
}
|
|
4689
|
+
| {
|
|
4690
|
+
type: StrictExtract<
|
|
4691
|
+
| 'serialize'
|
|
4692
|
+
| 'serialization.failure'
|
|
4693
|
+
| 'serialization.success'
|
|
4694
|
+
| 'deserialize'
|
|
4695
|
+
| 'deserialization.failure'
|
|
4696
|
+
| 'deserialization.success'
|
|
4697
|
+
| 'annotation.toggle'
|
|
4698
|
+
| 'decorator.toggle'
|
|
4699
|
+
| 'insert.blocks'
|
|
4700
|
+
| 'insert.break'
|
|
4701
|
+
| 'insert.soft break'
|
|
4702
|
+
| 'list item.add'
|
|
4703
|
+
| 'list item.remove'
|
|
4704
|
+
| 'list item.toggle'
|
|
4705
|
+
| 'move.block down'
|
|
4706
|
+
| 'move.block up'
|
|
4707
|
+
| 'select.previous block'
|
|
4708
|
+
| 'select.next block'
|
|
4709
|
+
| 'style.add'
|
|
4710
|
+
| 'style.remove'
|
|
4711
|
+
| 'style.toggle',
|
|
4712
|
+
'insert.soft break'
|
|
4713
|
+
>
|
|
4714
|
+
}
|
|
4715
|
+
| {
|
|
4716
|
+
type: StrictExtract<
|
|
4717
|
+
| 'serialize'
|
|
4718
|
+
| 'serialization.failure'
|
|
4719
|
+
| 'serialization.success'
|
|
4720
|
+
| 'deserialize'
|
|
4721
|
+
| 'deserialization.failure'
|
|
4722
|
+
| 'deserialization.success'
|
|
4723
|
+
| 'annotation.toggle'
|
|
4724
|
+
| 'decorator.toggle'
|
|
4725
|
+
| 'insert.blocks'
|
|
4726
|
+
| 'insert.break'
|
|
4727
|
+
| 'insert.soft break'
|
|
4612
4728
|
| 'list item.add'
|
|
4613
4729
|
| 'list item.remove'
|
|
4614
4730
|
| 'list item.toggle'
|
|
@@ -4634,6 +4750,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4634
4750
|
| 'annotation.toggle'
|
|
4635
4751
|
| 'decorator.toggle'
|
|
4636
4752
|
| 'insert.blocks'
|
|
4753
|
+
| 'insert.break'
|
|
4754
|
+
| 'insert.soft break'
|
|
4637
4755
|
| 'list item.add'
|
|
4638
4756
|
| 'list item.remove'
|
|
4639
4757
|
| 'list item.toggle'
|
|
@@ -4659,6 +4777,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4659
4777
|
| 'annotation.toggle'
|
|
4660
4778
|
| 'decorator.toggle'
|
|
4661
4779
|
| 'insert.blocks'
|
|
4780
|
+
| 'insert.break'
|
|
4781
|
+
| 'insert.soft break'
|
|
4662
4782
|
| 'list item.add'
|
|
4663
4783
|
| 'list item.remove'
|
|
4664
4784
|
| 'list item.toggle'
|
|
@@ -4684,6 +4804,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4684
4804
|
| 'annotation.toggle'
|
|
4685
4805
|
| 'decorator.toggle'
|
|
4686
4806
|
| 'insert.blocks'
|
|
4807
|
+
| 'insert.break'
|
|
4808
|
+
| 'insert.soft break'
|
|
4687
4809
|
| 'list item.add'
|
|
4688
4810
|
| 'list item.remove'
|
|
4689
4811
|
| 'list item.toggle'
|
|
@@ -4709,6 +4831,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4709
4831
|
| 'annotation.toggle'
|
|
4710
4832
|
| 'decorator.toggle'
|
|
4711
4833
|
| 'insert.blocks'
|
|
4834
|
+
| 'insert.break'
|
|
4835
|
+
| 'insert.soft break'
|
|
4712
4836
|
| 'list item.add'
|
|
4713
4837
|
| 'list item.remove'
|
|
4714
4838
|
| 'list item.toggle'
|
|
@@ -4734,6 +4858,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4734
4858
|
| 'annotation.toggle'
|
|
4735
4859
|
| 'decorator.toggle'
|
|
4736
4860
|
| 'insert.blocks'
|
|
4861
|
+
| 'insert.break'
|
|
4862
|
+
| 'insert.soft break'
|
|
4737
4863
|
| 'list item.add'
|
|
4738
4864
|
| 'list item.remove'
|
|
4739
4865
|
| 'list item.toggle'
|
|
@@ -4759,6 +4885,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4759
4885
|
| 'annotation.toggle'
|
|
4760
4886
|
| 'decorator.toggle'
|
|
4761
4887
|
| 'insert.blocks'
|
|
4888
|
+
| 'insert.break'
|
|
4889
|
+
| 'insert.soft break'
|
|
4762
4890
|
| 'list item.add'
|
|
4763
4891
|
| 'list item.remove'
|
|
4764
4892
|
| 'list item.toggle'
|
|
@@ -4784,6 +4912,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4784
4912
|
| 'annotation.toggle'
|
|
4785
4913
|
| 'decorator.toggle'
|
|
4786
4914
|
| 'insert.blocks'
|
|
4915
|
+
| 'insert.break'
|
|
4916
|
+
| 'insert.soft break'
|
|
4787
4917
|
| 'list item.add'
|
|
4788
4918
|
| 'list item.remove'
|
|
4789
4919
|
| 'list item.toggle'
|
|
@@ -4809,6 +4939,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4809
4939
|
| 'annotation.toggle'
|
|
4810
4940
|
| 'decorator.toggle'
|
|
4811
4941
|
| 'insert.blocks'
|
|
4942
|
+
| 'insert.break'
|
|
4943
|
+
| 'insert.soft break'
|
|
4812
4944
|
| 'list item.add'
|
|
4813
4945
|
| 'list item.remove'
|
|
4814
4946
|
| 'list item.toggle'
|
|
@@ -4834,6 +4966,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4834
4966
|
| 'annotation.toggle'
|
|
4835
4967
|
| 'decorator.toggle'
|
|
4836
4968
|
| 'insert.blocks'
|
|
4969
|
+
| 'insert.break'
|
|
4970
|
+
| 'insert.soft break'
|
|
4837
4971
|
| 'list item.add'
|
|
4838
4972
|
| 'list item.remove'
|
|
4839
4973
|
| 'list item.toggle'
|
|
@@ -5159,15 +5293,16 @@ export declare function createLinkBehaviors(
|
|
|
5159
5293
|
| 'history.redo'
|
|
5160
5294
|
| 'history.undo'
|
|
5161
5295
|
| 'insert.inline object'
|
|
5162
|
-
| 'insert.break'
|
|
5163
|
-
| 'insert.soft break'
|
|
5164
5296
|
| 'insert.block'
|
|
5165
5297
|
| 'insert.span'
|
|
5166
5298
|
| 'insert.text'
|
|
5167
5299
|
| 'move.block'
|
|
5300
|
+
| 'split.block'
|
|
5168
5301
|
| 'annotation.toggle'
|
|
5169
5302
|
| 'decorator.toggle'
|
|
5170
5303
|
| 'insert.blocks'
|
|
5304
|
+
| 'insert.break'
|
|
5305
|
+
| 'insert.soft break'
|
|
5171
5306
|
| 'list item.add'
|
|
5172
5307
|
| 'list item.remove'
|
|
5173
5308
|
| 'list item.toggle'
|
|
@@ -5191,6 +5326,7 @@ export declare function createLinkBehaviors(
|
|
|
5191
5326
|
| 'mouse.click'
|
|
5192
5327
|
| 'serialize.*'
|
|
5193
5328
|
| 'deserialize.*'
|
|
5329
|
+
| 'split.*'
|
|
5194
5330
|
| 'focus.*'
|
|
5195
5331
|
| 'block.*'
|
|
5196
5332
|
| 'style.*'
|
|
@@ -5230,12 +5366,11 @@ export declare function createLinkBehaviors(
|
|
|
5230
5366
|
| 'history.redo'
|
|
5231
5367
|
| 'history.undo'
|
|
5232
5368
|
| 'insert.inline object'
|
|
5233
|
-
| 'insert.break'
|
|
5234
|
-
| 'insert.soft break'
|
|
5235
5369
|
| 'insert.block'
|
|
5236
5370
|
| 'insert.span'
|
|
5237
5371
|
| 'insert.text'
|
|
5238
|
-
| 'move.block'
|
|
5372
|
+
| 'move.block'
|
|
5373
|
+
| 'split.block',
|
|
5239
5374
|
'annotation.add'
|
|
5240
5375
|
>
|
|
5241
5376
|
annotation: {
|
|
@@ -5264,12 +5399,11 @@ export declare function createLinkBehaviors(
|
|
|
5264
5399
|
| 'history.redo'
|
|
5265
5400
|
| 'history.undo'
|
|
5266
5401
|
| 'insert.inline object'
|
|
5267
|
-
| 'insert.break'
|
|
5268
|
-
| 'insert.soft break'
|
|
5269
5402
|
| 'insert.block'
|
|
5270
5403
|
| 'insert.span'
|
|
5271
5404
|
| 'insert.text'
|
|
5272
|
-
| 'move.block'
|
|
5405
|
+
| 'move.block'
|
|
5406
|
+
| 'split.block',
|
|
5273
5407
|
'annotation.remove'
|
|
5274
5408
|
>
|
|
5275
5409
|
annotation: {
|
|
@@ -5295,12 +5429,11 @@ export declare function createLinkBehaviors(
|
|
|
5295
5429
|
| 'history.redo'
|
|
5296
5430
|
| 'history.undo'
|
|
5297
5431
|
| 'insert.inline object'
|
|
5298
|
-
| 'insert.break'
|
|
5299
|
-
| 'insert.soft break'
|
|
5300
5432
|
| 'insert.block'
|
|
5301
5433
|
| 'insert.span'
|
|
5302
5434
|
| 'insert.text'
|
|
5303
|
-
| 'move.block'
|
|
5435
|
+
| 'move.block'
|
|
5436
|
+
| 'split.block',
|
|
5304
5437
|
'block.set'
|
|
5305
5438
|
>
|
|
5306
5439
|
at: [KeyedSegment]
|
|
@@ -5325,12 +5458,11 @@ export declare function createLinkBehaviors(
|
|
|
5325
5458
|
| 'history.redo'
|
|
5326
5459
|
| 'history.undo'
|
|
5327
5460
|
| 'insert.inline object'
|
|
5328
|
-
| 'insert.break'
|
|
5329
|
-
| 'insert.soft break'
|
|
5330
5461
|
| 'insert.block'
|
|
5331
5462
|
| 'insert.span'
|
|
5332
5463
|
| 'insert.text'
|
|
5333
|
-
| 'move.block'
|
|
5464
|
+
| 'move.block'
|
|
5465
|
+
| 'split.block',
|
|
5334
5466
|
'block.unset'
|
|
5335
5467
|
>
|
|
5336
5468
|
at: [KeyedSegment]
|
|
@@ -5355,12 +5487,11 @@ export declare function createLinkBehaviors(
|
|
|
5355
5487
|
| 'history.redo'
|
|
5356
5488
|
| 'history.undo'
|
|
5357
5489
|
| 'insert.inline object'
|
|
5358
|
-
| 'insert.break'
|
|
5359
|
-
| 'insert.soft break'
|
|
5360
5490
|
| 'insert.block'
|
|
5361
5491
|
| 'insert.span'
|
|
5362
5492
|
| 'insert.text'
|
|
5363
|
-
| 'move.block'
|
|
5493
|
+
| 'move.block'
|
|
5494
|
+
| 'split.block',
|
|
5364
5495
|
'blur'
|
|
5365
5496
|
>
|
|
5366
5497
|
}
|
|
@@ -5383,12 +5514,11 @@ export declare function createLinkBehaviors(
|
|
|
5383
5514
|
| 'history.redo'
|
|
5384
5515
|
| 'history.undo'
|
|
5385
5516
|
| 'insert.inline object'
|
|
5386
|
-
| 'insert.break'
|
|
5387
|
-
| 'insert.soft break'
|
|
5388
5517
|
| 'insert.block'
|
|
5389
5518
|
| 'insert.span'
|
|
5390
5519
|
| 'insert.text'
|
|
5391
|
-
| 'move.block'
|
|
5520
|
+
| 'move.block'
|
|
5521
|
+
| 'split.block',
|
|
5392
5522
|
'decorator.add'
|
|
5393
5523
|
>
|
|
5394
5524
|
decorator: string
|
|
@@ -5416,12 +5546,11 @@ export declare function createLinkBehaviors(
|
|
|
5416
5546
|
| 'history.redo'
|
|
5417
5547
|
| 'history.undo'
|
|
5418
5548
|
| 'insert.inline object'
|
|
5419
|
-
| 'insert.break'
|
|
5420
|
-
| 'insert.soft break'
|
|
5421
5549
|
| 'insert.block'
|
|
5422
5550
|
| 'insert.span'
|
|
5423
5551
|
| 'insert.text'
|
|
5424
|
-
| 'move.block'
|
|
5552
|
+
| 'move.block'
|
|
5553
|
+
| 'split.block',
|
|
5425
5554
|
'decorator.remove'
|
|
5426
5555
|
>
|
|
5427
5556
|
decorator: string
|
|
@@ -5445,12 +5574,11 @@ export declare function createLinkBehaviors(
|
|
|
5445
5574
|
| 'history.redo'
|
|
5446
5575
|
| 'history.undo'
|
|
5447
5576
|
| 'insert.inline object'
|
|
5448
|
-
| 'insert.break'
|
|
5449
|
-
| 'insert.soft break'
|
|
5450
5577
|
| 'insert.block'
|
|
5451
5578
|
| 'insert.span'
|
|
5452
5579
|
| 'insert.text'
|
|
5453
|
-
| 'move.block'
|
|
5580
|
+
| 'move.block'
|
|
5581
|
+
| 'split.block',
|
|
5454
5582
|
'delete'
|
|
5455
5583
|
>
|
|
5456
5584
|
selection: NonNullable<EditorSelection>
|
|
@@ -5474,12 +5602,11 @@ export declare function createLinkBehaviors(
|
|
|
5474
5602
|
| 'history.redo'
|
|
5475
5603
|
| 'history.undo'
|
|
5476
5604
|
| 'insert.inline object'
|
|
5477
|
-
| 'insert.break'
|
|
5478
|
-
| 'insert.soft break'
|
|
5479
5605
|
| 'insert.block'
|
|
5480
5606
|
| 'insert.span'
|
|
5481
5607
|
| 'insert.text'
|
|
5482
|
-
| 'move.block'
|
|
5608
|
+
| 'move.block'
|
|
5609
|
+
| 'split.block',
|
|
5483
5610
|
'delete.backward'
|
|
5484
5611
|
>
|
|
5485
5612
|
unit: TextUnit
|
|
@@ -5503,12 +5630,11 @@ export declare function createLinkBehaviors(
|
|
|
5503
5630
|
| 'history.redo'
|
|
5504
5631
|
| 'history.undo'
|
|
5505
5632
|
| 'insert.inline object'
|
|
5506
|
-
| 'insert.break'
|
|
5507
|
-
| 'insert.soft break'
|
|
5508
5633
|
| 'insert.block'
|
|
5509
5634
|
| 'insert.span'
|
|
5510
5635
|
| 'insert.text'
|
|
5511
|
-
| 'move.block'
|
|
5636
|
+
| 'move.block'
|
|
5637
|
+
| 'split.block',
|
|
5512
5638
|
'delete.block'
|
|
5513
5639
|
>
|
|
5514
5640
|
at: [KeyedSegment]
|
|
@@ -5532,12 +5658,11 @@ export declare function createLinkBehaviors(
|
|
|
5532
5658
|
| 'history.redo'
|
|
5533
5659
|
| 'history.undo'
|
|
5534
5660
|
| 'insert.inline object'
|
|
5535
|
-
| 'insert.break'
|
|
5536
|
-
| 'insert.soft break'
|
|
5537
5661
|
| 'insert.block'
|
|
5538
5662
|
| 'insert.span'
|
|
5539
5663
|
| 'insert.text'
|
|
5540
|
-
| 'move.block'
|
|
5664
|
+
| 'move.block'
|
|
5665
|
+
| 'split.block',
|
|
5541
5666
|
'delete.forward'
|
|
5542
5667
|
>
|
|
5543
5668
|
unit: TextUnit
|
|
@@ -5561,12 +5686,11 @@ export declare function createLinkBehaviors(
|
|
|
5561
5686
|
| 'history.redo'
|
|
5562
5687
|
| 'history.undo'
|
|
5563
5688
|
| 'insert.inline object'
|
|
5564
|
-
| 'insert.break'
|
|
5565
|
-
| 'insert.soft break'
|
|
5566
5689
|
| 'insert.block'
|
|
5567
5690
|
| 'insert.span'
|
|
5568
5691
|
| 'insert.text'
|
|
5569
|
-
| 'move.block'
|
|
5692
|
+
| 'move.block'
|
|
5693
|
+
| 'split.block',
|
|
5570
5694
|
'delete.text'
|
|
5571
5695
|
>
|
|
5572
5696
|
anchor: BlockOffset
|
|
@@ -5591,12 +5715,11 @@ export declare function createLinkBehaviors(
|
|
|
5591
5715
|
| 'history.redo'
|
|
5592
5716
|
| 'history.undo'
|
|
5593
5717
|
| 'insert.inline object'
|
|
5594
|
-
| 'insert.break'
|
|
5595
|
-
| 'insert.soft break'
|
|
5596
5718
|
| 'insert.block'
|
|
5597
5719
|
| 'insert.span'
|
|
5598
5720
|
| 'insert.text'
|
|
5599
|
-
| 'move.block'
|
|
5721
|
+
| 'move.block'
|
|
5722
|
+
| 'split.block',
|
|
5600
5723
|
'focus'
|
|
5601
5724
|
>
|
|
5602
5725
|
}
|
|
@@ -5619,12 +5742,11 @@ export declare function createLinkBehaviors(
|
|
|
5619
5742
|
| 'history.redo'
|
|
5620
5743
|
| 'history.undo'
|
|
5621
5744
|
| 'insert.inline object'
|
|
5622
|
-
| 'insert.break'
|
|
5623
|
-
| 'insert.soft break'
|
|
5624
5745
|
| 'insert.block'
|
|
5625
5746
|
| 'insert.span'
|
|
5626
5747
|
| 'insert.text'
|
|
5627
|
-
| 'move.block'
|
|
5748
|
+
| 'move.block'
|
|
5749
|
+
| 'split.block',
|
|
5628
5750
|
'history.redo'
|
|
5629
5751
|
>
|
|
5630
5752
|
}
|
|
@@ -5647,12 +5769,11 @@ export declare function createLinkBehaviors(
|
|
|
5647
5769
|
| 'history.redo'
|
|
5648
5770
|
| 'history.undo'
|
|
5649
5771
|
| 'insert.inline object'
|
|
5650
|
-
| 'insert.break'
|
|
5651
|
-
| 'insert.soft break'
|
|
5652
5772
|
| 'insert.block'
|
|
5653
5773
|
| 'insert.span'
|
|
5654
5774
|
| 'insert.text'
|
|
5655
|
-
| 'move.block'
|
|
5775
|
+
| 'move.block'
|
|
5776
|
+
| 'split.block',
|
|
5656
5777
|
'history.undo'
|
|
5657
5778
|
>
|
|
5658
5779
|
}
|
|
@@ -5675,12 +5796,11 @@ export declare function createLinkBehaviors(
|
|
|
5675
5796
|
| 'history.redo'
|
|
5676
5797
|
| 'history.undo'
|
|
5677
5798
|
| 'insert.inline object'
|
|
5678
|
-
| 'insert.break'
|
|
5679
|
-
| 'insert.soft break'
|
|
5680
5799
|
| 'insert.block'
|
|
5681
5800
|
| 'insert.span'
|
|
5682
5801
|
| 'insert.text'
|
|
5683
|
-
| 'move.block'
|
|
5802
|
+
| 'move.block'
|
|
5803
|
+
| 'split.block',
|
|
5684
5804
|
'insert.inline object'
|
|
5685
5805
|
>
|
|
5686
5806
|
inlineObject: {
|
|
@@ -5709,42 +5829,16 @@ export declare function createLinkBehaviors(
|
|
|
5709
5829
|
| 'history.redo'
|
|
5710
5830
|
| 'history.undo'
|
|
5711
5831
|
| 'insert.inline object'
|
|
5712
|
-
| 'insert.break'
|
|
5713
|
-
| 'insert.soft break'
|
|
5714
|
-
| 'insert.block'
|
|
5715
|
-
| 'insert.span'
|
|
5716
|
-
| 'insert.text'
|
|
5717
|
-
| 'move.block',
|
|
5718
|
-
'insert.break'
|
|
5719
|
-
>
|
|
5720
|
-
}
|
|
5721
|
-
| {
|
|
5722
|
-
type: StrictExtract<
|
|
5723
|
-
| 'focus'
|
|
5724
|
-
| 'delete'
|
|
5725
|
-
| 'select'
|
|
5726
|
-
| 'annotation.add'
|
|
5727
|
-
| 'annotation.remove'
|
|
5728
|
-
| 'block.set'
|
|
5729
|
-
| 'block.unset'
|
|
5730
|
-
| 'blur'
|
|
5731
|
-
| 'decorator.add'
|
|
5732
|
-
| 'decorator.remove'
|
|
5733
|
-
| 'delete.backward'
|
|
5734
|
-
| 'delete.block'
|
|
5735
|
-
| 'delete.forward'
|
|
5736
|
-
| 'delete.text'
|
|
5737
|
-
| 'history.redo'
|
|
5738
|
-
| 'history.undo'
|
|
5739
|
-
| 'insert.inline object'
|
|
5740
|
-
| 'insert.break'
|
|
5741
|
-
| 'insert.soft break'
|
|
5742
5832
|
| 'insert.block'
|
|
5743
5833
|
| 'insert.span'
|
|
5744
5834
|
| 'insert.text'
|
|
5745
|
-
| 'move.block'
|
|
5746
|
-
'
|
|
5835
|
+
| 'move.block'
|
|
5836
|
+
| 'split.block',
|
|
5837
|
+
'insert.block'
|
|
5747
5838
|
>
|
|
5839
|
+
block: BlockWithOptionalKey
|
|
5840
|
+
placement: InsertPlacement
|
|
5841
|
+
select?: 'start' | 'end' | 'none'
|
|
5748
5842
|
}
|
|
5749
5843
|
| {
|
|
5750
5844
|
type: StrictExtract<
|
|
@@ -5765,17 +5859,21 @@ export declare function createLinkBehaviors(
|
|
|
5765
5859
|
| 'history.redo'
|
|
5766
5860
|
| 'history.undo'
|
|
5767
5861
|
| 'insert.inline object'
|
|
5768
|
-
| 'insert.break'
|
|
5769
|
-
| 'insert.soft break'
|
|
5770
5862
|
| 'insert.block'
|
|
5771
5863
|
| 'insert.span'
|
|
5772
5864
|
| 'insert.text'
|
|
5773
|
-
| 'move.block'
|
|
5774
|
-
'
|
|
5865
|
+
| 'move.block'
|
|
5866
|
+
| 'split.block',
|
|
5867
|
+
'insert.span'
|
|
5775
5868
|
>
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5869
|
+
text: string
|
|
5870
|
+
annotations?: Array<{
|
|
5871
|
+
name: string
|
|
5872
|
+
value: {
|
|
5873
|
+
[prop: string]: unknown
|
|
5874
|
+
}
|
|
5875
|
+
}>
|
|
5876
|
+
decorators?: Array<string>
|
|
5779
5877
|
}
|
|
5780
5878
|
| {
|
|
5781
5879
|
type: StrictExtract<
|
|
@@ -5796,22 +5894,14 @@ export declare function createLinkBehaviors(
|
|
|
5796
5894
|
| 'history.redo'
|
|
5797
5895
|
| 'history.undo'
|
|
5798
5896
|
| 'insert.inline object'
|
|
5799
|
-
| 'insert.break'
|
|
5800
|
-
| 'insert.soft break'
|
|
5801
5897
|
| 'insert.block'
|
|
5802
5898
|
| 'insert.span'
|
|
5803
5899
|
| 'insert.text'
|
|
5804
|
-
| 'move.block'
|
|
5805
|
-
'
|
|
5900
|
+
| 'move.block'
|
|
5901
|
+
| 'split.block',
|
|
5902
|
+
'insert.text'
|
|
5806
5903
|
>
|
|
5807
5904
|
text: string
|
|
5808
|
-
annotations?: Array<{
|
|
5809
|
-
name: string
|
|
5810
|
-
value: {
|
|
5811
|
-
[prop: string]: unknown
|
|
5812
|
-
}
|
|
5813
|
-
}>
|
|
5814
|
-
decorators?: Array<string>
|
|
5815
5905
|
}
|
|
5816
5906
|
| {
|
|
5817
5907
|
type: StrictExtract<
|
|
@@ -5832,15 +5922,15 @@ export declare function createLinkBehaviors(
|
|
|
5832
5922
|
| 'history.redo'
|
|
5833
5923
|
| 'history.undo'
|
|
5834
5924
|
| 'insert.inline object'
|
|
5835
|
-
| 'insert.break'
|
|
5836
|
-
| 'insert.soft break'
|
|
5837
5925
|
| 'insert.block'
|
|
5838
5926
|
| 'insert.span'
|
|
5839
5927
|
| 'insert.text'
|
|
5840
|
-
| 'move.block'
|
|
5841
|
-
'
|
|
5928
|
+
| 'move.block'
|
|
5929
|
+
| 'split.block',
|
|
5930
|
+
'move.block'
|
|
5842
5931
|
>
|
|
5843
|
-
|
|
5932
|
+
at: [KeyedSegment]
|
|
5933
|
+
to: [KeyedSegment]
|
|
5844
5934
|
}
|
|
5845
5935
|
| {
|
|
5846
5936
|
type: StrictExtract<
|
|
@@ -5861,16 +5951,14 @@ export declare function createLinkBehaviors(
|
|
|
5861
5951
|
| 'history.redo'
|
|
5862
5952
|
| 'history.undo'
|
|
5863
5953
|
| 'insert.inline object'
|
|
5864
|
-
| 'insert.break'
|
|
5865
|
-
| 'insert.soft break'
|
|
5866
5954
|
| 'insert.block'
|
|
5867
5955
|
| 'insert.span'
|
|
5868
5956
|
| 'insert.text'
|
|
5869
|
-
| 'move.block'
|
|
5870
|
-
'
|
|
5957
|
+
| 'move.block'
|
|
5958
|
+
| 'split.block',
|
|
5959
|
+
'select'
|
|
5871
5960
|
>
|
|
5872
|
-
|
|
5873
|
-
to: [KeyedSegment]
|
|
5961
|
+
selection: EditorSelection
|
|
5874
5962
|
}
|
|
5875
5963
|
| {
|
|
5876
5964
|
type: StrictExtract<
|
|
@@ -5891,15 +5979,13 @@ export declare function createLinkBehaviors(
|
|
|
5891
5979
|
| 'history.redo'
|
|
5892
5980
|
| 'history.undo'
|
|
5893
5981
|
| 'insert.inline object'
|
|
5894
|
-
| 'insert.break'
|
|
5895
|
-
| 'insert.soft break'
|
|
5896
5982
|
| 'insert.block'
|
|
5897
5983
|
| 'insert.span'
|
|
5898
5984
|
| 'insert.text'
|
|
5899
|
-
| 'move.block'
|
|
5900
|
-
'
|
|
5985
|
+
| 'move.block'
|
|
5986
|
+
| 'split.block',
|
|
5987
|
+
'split.block'
|
|
5901
5988
|
>
|
|
5902
|
-
selection: EditorSelection
|
|
5903
5989
|
}
|
|
5904
5990
|
| {
|
|
5905
5991
|
type: StrictExtract<
|
|
@@ -5912,6 +5998,8 @@ export declare function createLinkBehaviors(
|
|
|
5912
5998
|
| 'annotation.toggle'
|
|
5913
5999
|
| 'decorator.toggle'
|
|
5914
6000
|
| 'insert.blocks'
|
|
6001
|
+
| 'insert.break'
|
|
6002
|
+
| 'insert.soft break'
|
|
5915
6003
|
| 'list item.add'
|
|
5916
6004
|
| 'list item.remove'
|
|
5917
6005
|
| 'list item.toggle'
|
|
@@ -5942,6 +6030,8 @@ export declare function createLinkBehaviors(
|
|
|
5942
6030
|
| 'annotation.toggle'
|
|
5943
6031
|
| 'decorator.toggle'
|
|
5944
6032
|
| 'insert.blocks'
|
|
6033
|
+
| 'insert.break'
|
|
6034
|
+
| 'insert.soft break'
|
|
5945
6035
|
| 'list item.add'
|
|
5946
6036
|
| 'list item.remove'
|
|
5947
6037
|
| 'list item.toggle'
|
|
@@ -5971,6 +6061,8 @@ export declare function createLinkBehaviors(
|
|
|
5971
6061
|
| 'annotation.toggle'
|
|
5972
6062
|
| 'decorator.toggle'
|
|
5973
6063
|
| 'insert.blocks'
|
|
6064
|
+
| 'insert.break'
|
|
6065
|
+
| 'insert.soft break'
|
|
5974
6066
|
| 'list item.add'
|
|
5975
6067
|
| 'list item.remove'
|
|
5976
6068
|
| 'list item.toggle'
|
|
@@ -6002,6 +6094,8 @@ export declare function createLinkBehaviors(
|
|
|
6002
6094
|
| 'annotation.toggle'
|
|
6003
6095
|
| 'decorator.toggle'
|
|
6004
6096
|
| 'insert.blocks'
|
|
6097
|
+
| 'insert.break'
|
|
6098
|
+
| 'insert.soft break'
|
|
6005
6099
|
| 'list item.add'
|
|
6006
6100
|
| 'list item.remove'
|
|
6007
6101
|
| 'list item.toggle'
|
|
@@ -6031,6 +6125,8 @@ export declare function createLinkBehaviors(
|
|
|
6031
6125
|
| 'annotation.toggle'
|
|
6032
6126
|
| 'decorator.toggle'
|
|
6033
6127
|
| 'insert.blocks'
|
|
6128
|
+
| 'insert.break'
|
|
6129
|
+
| 'insert.soft break'
|
|
6034
6130
|
| 'list item.add'
|
|
6035
6131
|
| 'list item.remove'
|
|
6036
6132
|
| 'list item.toggle'
|
|
@@ -6064,6 +6160,8 @@ export declare function createLinkBehaviors(
|
|
|
6064
6160
|
| 'annotation.toggle'
|
|
6065
6161
|
| 'decorator.toggle'
|
|
6066
6162
|
| 'insert.blocks'
|
|
6163
|
+
| 'insert.break'
|
|
6164
|
+
| 'insert.soft break'
|
|
6067
6165
|
| 'list item.add'
|
|
6068
6166
|
| 'list item.remove'
|
|
6069
6167
|
| 'list item.toggle'
|
|
@@ -6097,6 +6195,8 @@ export declare function createLinkBehaviors(
|
|
|
6097
6195
|
| 'annotation.toggle'
|
|
6098
6196
|
| 'decorator.toggle'
|
|
6099
6197
|
| 'insert.blocks'
|
|
6198
|
+
| 'insert.break'
|
|
6199
|
+
| 'insert.soft break'
|
|
6100
6200
|
| 'list item.add'
|
|
6101
6201
|
| 'list item.remove'
|
|
6102
6202
|
| 'list item.toggle'
|
|
@@ -6128,6 +6228,69 @@ export declare function createLinkBehaviors(
|
|
|
6128
6228
|
| 'annotation.toggle'
|
|
6129
6229
|
| 'decorator.toggle'
|
|
6130
6230
|
| 'insert.blocks'
|
|
6231
|
+
| 'insert.break'
|
|
6232
|
+
| 'insert.soft break'
|
|
6233
|
+
| 'list item.add'
|
|
6234
|
+
| 'list item.remove'
|
|
6235
|
+
| 'list item.toggle'
|
|
6236
|
+
| 'move.block down'
|
|
6237
|
+
| 'move.block up'
|
|
6238
|
+
| 'select.previous block'
|
|
6239
|
+
| 'select.next block'
|
|
6240
|
+
| 'style.add'
|
|
6241
|
+
| 'style.remove'
|
|
6242
|
+
| 'style.toggle',
|
|
6243
|
+
'serialization.failure'
|
|
6244
|
+
>
|
|
6245
|
+
mimeType: MIMEType
|
|
6246
|
+
reason: string
|
|
6247
|
+
originEvent: PickFromUnion<
|
|
6248
|
+
NativeBehaviorEvent_2,
|
|
6249
|
+
'type',
|
|
6250
|
+
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
6251
|
+
>
|
|
6252
|
+
}
|
|
6253
|
+
| {
|
|
6254
|
+
type: StrictExtract<
|
|
6255
|
+
| 'serialize'
|
|
6256
|
+
| 'serialization.failure'
|
|
6257
|
+
| 'serialization.success'
|
|
6258
|
+
| 'deserialize'
|
|
6259
|
+
| 'deserialization.failure'
|
|
6260
|
+
| 'deserialization.success'
|
|
6261
|
+
| 'annotation.toggle'
|
|
6262
|
+
| 'decorator.toggle'
|
|
6263
|
+
| 'insert.blocks'
|
|
6264
|
+
| 'insert.break'
|
|
6265
|
+
| 'insert.soft break'
|
|
6266
|
+
| 'list item.add'
|
|
6267
|
+
| 'list item.remove'
|
|
6268
|
+
| 'list item.toggle'
|
|
6269
|
+
| 'move.block down'
|
|
6270
|
+
| 'move.block up'
|
|
6271
|
+
| 'select.previous block'
|
|
6272
|
+
| 'select.next block'
|
|
6273
|
+
| 'style.add'
|
|
6274
|
+
| 'style.remove'
|
|
6275
|
+
| 'style.toggle',
|
|
6276
|
+
'insert.blocks'
|
|
6277
|
+
>
|
|
6278
|
+
blocks: Array<PortableTextBlock>
|
|
6279
|
+
placement: InsertPlacement
|
|
6280
|
+
}
|
|
6281
|
+
| {
|
|
6282
|
+
type: StrictExtract<
|
|
6283
|
+
| 'serialize'
|
|
6284
|
+
| 'serialization.failure'
|
|
6285
|
+
| 'serialization.success'
|
|
6286
|
+
| 'deserialize'
|
|
6287
|
+
| 'deserialization.failure'
|
|
6288
|
+
| 'deserialization.success'
|
|
6289
|
+
| 'annotation.toggle'
|
|
6290
|
+
| 'decorator.toggle'
|
|
6291
|
+
| 'insert.blocks'
|
|
6292
|
+
| 'insert.break'
|
|
6293
|
+
| 'insert.soft break'
|
|
6131
6294
|
| 'list item.add'
|
|
6132
6295
|
| 'list item.remove'
|
|
6133
6296
|
| 'list item.toggle'
|
|
@@ -6138,14 +6301,7 @@ export declare function createLinkBehaviors(
|
|
|
6138
6301
|
| 'style.add'
|
|
6139
6302
|
| 'style.remove'
|
|
6140
6303
|
| 'style.toggle',
|
|
6141
|
-
'
|
|
6142
|
-
>
|
|
6143
|
-
mimeType: MIMEType
|
|
6144
|
-
reason: string
|
|
6145
|
-
originEvent: PickFromUnion<
|
|
6146
|
-
NativeBehaviorEvent_2,
|
|
6147
|
-
'type',
|
|
6148
|
-
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
6304
|
+
'insert.break'
|
|
6149
6305
|
>
|
|
6150
6306
|
}
|
|
6151
6307
|
| {
|
|
@@ -6159,6 +6315,8 @@ export declare function createLinkBehaviors(
|
|
|
6159
6315
|
| 'annotation.toggle'
|
|
6160
6316
|
| 'decorator.toggle'
|
|
6161
6317
|
| 'insert.blocks'
|
|
6318
|
+
| 'insert.break'
|
|
6319
|
+
| 'insert.soft break'
|
|
6162
6320
|
| 'list item.add'
|
|
6163
6321
|
| 'list item.remove'
|
|
6164
6322
|
| 'list item.toggle'
|
|
@@ -6169,10 +6327,8 @@ export declare function createLinkBehaviors(
|
|
|
6169
6327
|
| 'style.add'
|
|
6170
6328
|
| 'style.remove'
|
|
6171
6329
|
| 'style.toggle',
|
|
6172
|
-
'insert.
|
|
6330
|
+
'insert.soft break'
|
|
6173
6331
|
>
|
|
6174
|
-
blocks: Array<PortableTextBlock>
|
|
6175
|
-
placement: InsertPlacement
|
|
6176
6332
|
}
|
|
6177
6333
|
| {
|
|
6178
6334
|
type: StrictExtract<
|
|
@@ -6185,6 +6341,8 @@ export declare function createLinkBehaviors(
|
|
|
6185
6341
|
| 'annotation.toggle'
|
|
6186
6342
|
| 'decorator.toggle'
|
|
6187
6343
|
| 'insert.blocks'
|
|
6344
|
+
| 'insert.break'
|
|
6345
|
+
| 'insert.soft break'
|
|
6188
6346
|
| 'list item.add'
|
|
6189
6347
|
| 'list item.remove'
|
|
6190
6348
|
| 'list item.toggle'
|
|
@@ -6210,6 +6368,8 @@ export declare function createLinkBehaviors(
|
|
|
6210
6368
|
| 'annotation.toggle'
|
|
6211
6369
|
| 'decorator.toggle'
|
|
6212
6370
|
| 'insert.blocks'
|
|
6371
|
+
| 'insert.break'
|
|
6372
|
+
| 'insert.soft break'
|
|
6213
6373
|
| 'list item.add'
|
|
6214
6374
|
| 'list item.remove'
|
|
6215
6375
|
| 'list item.toggle'
|
|
@@ -6235,6 +6395,8 @@ export declare function createLinkBehaviors(
|
|
|
6235
6395
|
| 'annotation.toggle'
|
|
6236
6396
|
| 'decorator.toggle'
|
|
6237
6397
|
| 'insert.blocks'
|
|
6398
|
+
| 'insert.break'
|
|
6399
|
+
| 'insert.soft break'
|
|
6238
6400
|
| 'list item.add'
|
|
6239
6401
|
| 'list item.remove'
|
|
6240
6402
|
| 'list item.toggle'
|
|
@@ -6260,6 +6422,8 @@ export declare function createLinkBehaviors(
|
|
|
6260
6422
|
| 'annotation.toggle'
|
|
6261
6423
|
| 'decorator.toggle'
|
|
6262
6424
|
| 'insert.blocks'
|
|
6425
|
+
| 'insert.break'
|
|
6426
|
+
| 'insert.soft break'
|
|
6263
6427
|
| 'list item.add'
|
|
6264
6428
|
| 'list item.remove'
|
|
6265
6429
|
| 'list item.toggle'
|
|
@@ -6285,6 +6449,8 @@ export declare function createLinkBehaviors(
|
|
|
6285
6449
|
| 'annotation.toggle'
|
|
6286
6450
|
| 'decorator.toggle'
|
|
6287
6451
|
| 'insert.blocks'
|
|
6452
|
+
| 'insert.break'
|
|
6453
|
+
| 'insert.soft break'
|
|
6288
6454
|
| 'list item.add'
|
|
6289
6455
|
| 'list item.remove'
|
|
6290
6456
|
| 'list item.toggle'
|
|
@@ -6310,6 +6476,8 @@ export declare function createLinkBehaviors(
|
|
|
6310
6476
|
| 'annotation.toggle'
|
|
6311
6477
|
| 'decorator.toggle'
|
|
6312
6478
|
| 'insert.blocks'
|
|
6479
|
+
| 'insert.break'
|
|
6480
|
+
| 'insert.soft break'
|
|
6313
6481
|
| 'list item.add'
|
|
6314
6482
|
| 'list item.remove'
|
|
6315
6483
|
| 'list item.toggle'
|
|
@@ -6335,6 +6503,8 @@ export declare function createLinkBehaviors(
|
|
|
6335
6503
|
| 'annotation.toggle'
|
|
6336
6504
|
| 'decorator.toggle'
|
|
6337
6505
|
| 'insert.blocks'
|
|
6506
|
+
| 'insert.break'
|
|
6507
|
+
| 'insert.soft break'
|
|
6338
6508
|
| 'list item.add'
|
|
6339
6509
|
| 'list item.remove'
|
|
6340
6510
|
| 'list item.toggle'
|
|
@@ -6360,6 +6530,8 @@ export declare function createLinkBehaviors(
|
|
|
6360
6530
|
| 'annotation.toggle'
|
|
6361
6531
|
| 'decorator.toggle'
|
|
6362
6532
|
| 'insert.blocks'
|
|
6533
|
+
| 'insert.break'
|
|
6534
|
+
| 'insert.soft break'
|
|
6363
6535
|
| 'list item.add'
|
|
6364
6536
|
| 'list item.remove'
|
|
6365
6537
|
| 'list item.toggle'
|
|
@@ -6385,6 +6557,8 @@ export declare function createLinkBehaviors(
|
|
|
6385
6557
|
| 'annotation.toggle'
|
|
6386
6558
|
| 'decorator.toggle'
|
|
6387
6559
|
| 'insert.blocks'
|
|
6560
|
+
| 'insert.break'
|
|
6561
|
+
| 'insert.soft break'
|
|
6388
6562
|
| 'list item.add'
|
|
6389
6563
|
| 'list item.remove'
|
|
6390
6564
|
| 'list item.toggle'
|
|
@@ -6410,6 +6584,8 @@ export declare function createLinkBehaviors(
|
|
|
6410
6584
|
| 'annotation.toggle'
|
|
6411
6585
|
| 'decorator.toggle'
|
|
6412
6586
|
| 'insert.blocks'
|
|
6587
|
+
| 'insert.break'
|
|
6588
|
+
| 'insert.soft break'
|
|
6413
6589
|
| 'list item.add'
|
|
6414
6590
|
| 'list item.remove'
|
|
6415
6591
|
| 'list item.toggle'
|
|
@@ -6777,15 +6953,16 @@ export declare function createMarkdownBehaviors(
|
|
|
6777
6953
|
| 'history.redo'
|
|
6778
6954
|
| 'history.undo'
|
|
6779
6955
|
| 'insert.inline object'
|
|
6780
|
-
| 'insert.break'
|
|
6781
|
-
| 'insert.soft break'
|
|
6782
6956
|
| 'insert.block'
|
|
6783
6957
|
| 'insert.span'
|
|
6784
6958
|
| 'insert.text'
|
|
6785
6959
|
| 'move.block'
|
|
6960
|
+
| 'split.block'
|
|
6786
6961
|
| 'annotation.toggle'
|
|
6787
6962
|
| 'decorator.toggle'
|
|
6788
6963
|
| 'insert.blocks'
|
|
6964
|
+
| 'insert.break'
|
|
6965
|
+
| 'insert.soft break'
|
|
6789
6966
|
| 'list item.add'
|
|
6790
6967
|
| 'list item.remove'
|
|
6791
6968
|
| 'list item.toggle'
|
|
@@ -6809,6 +6986,7 @@ export declare function createMarkdownBehaviors(
|
|
|
6809
6986
|
| 'mouse.click'
|
|
6810
6987
|
| 'serialize.*'
|
|
6811
6988
|
| 'deserialize.*'
|
|
6989
|
+
| 'split.*'
|
|
6812
6990
|
| 'focus.*'
|
|
6813
6991
|
| 'block.*'
|
|
6814
6992
|
| 'style.*'
|
|
@@ -6848,12 +7026,11 @@ export declare function createMarkdownBehaviors(
|
|
|
6848
7026
|
| 'history.redo'
|
|
6849
7027
|
| 'history.undo'
|
|
6850
7028
|
| 'insert.inline object'
|
|
6851
|
-
| 'insert.break'
|
|
6852
|
-
| 'insert.soft break'
|
|
6853
7029
|
| 'insert.block'
|
|
6854
7030
|
| 'insert.span'
|
|
6855
7031
|
| 'insert.text'
|
|
6856
|
-
| 'move.block'
|
|
7032
|
+
| 'move.block'
|
|
7033
|
+
| 'split.block',
|
|
6857
7034
|
'annotation.add'
|
|
6858
7035
|
>
|
|
6859
7036
|
annotation: {
|
|
@@ -6882,12 +7059,11 @@ export declare function createMarkdownBehaviors(
|
|
|
6882
7059
|
| 'history.redo'
|
|
6883
7060
|
| 'history.undo'
|
|
6884
7061
|
| 'insert.inline object'
|
|
6885
|
-
| 'insert.break'
|
|
6886
|
-
| 'insert.soft break'
|
|
6887
7062
|
| 'insert.block'
|
|
6888
7063
|
| 'insert.span'
|
|
6889
7064
|
| 'insert.text'
|
|
6890
|
-
| 'move.block'
|
|
7065
|
+
| 'move.block'
|
|
7066
|
+
| 'split.block',
|
|
6891
7067
|
'annotation.remove'
|
|
6892
7068
|
>
|
|
6893
7069
|
annotation: {
|
|
@@ -6913,12 +7089,11 @@ export declare function createMarkdownBehaviors(
|
|
|
6913
7089
|
| 'history.redo'
|
|
6914
7090
|
| 'history.undo'
|
|
6915
7091
|
| 'insert.inline object'
|
|
6916
|
-
| 'insert.break'
|
|
6917
|
-
| 'insert.soft break'
|
|
6918
7092
|
| 'insert.block'
|
|
6919
7093
|
| 'insert.span'
|
|
6920
7094
|
| 'insert.text'
|
|
6921
|
-
| 'move.block'
|
|
7095
|
+
| 'move.block'
|
|
7096
|
+
| 'split.block',
|
|
6922
7097
|
'block.set'
|
|
6923
7098
|
>
|
|
6924
7099
|
at: [KeyedSegment]
|
|
@@ -6943,12 +7118,11 @@ export declare function createMarkdownBehaviors(
|
|
|
6943
7118
|
| 'history.redo'
|
|
6944
7119
|
| 'history.undo'
|
|
6945
7120
|
| 'insert.inline object'
|
|
6946
|
-
| 'insert.break'
|
|
6947
|
-
| 'insert.soft break'
|
|
6948
7121
|
| 'insert.block'
|
|
6949
7122
|
| 'insert.span'
|
|
6950
7123
|
| 'insert.text'
|
|
6951
|
-
| 'move.block'
|
|
7124
|
+
| 'move.block'
|
|
7125
|
+
| 'split.block',
|
|
6952
7126
|
'block.unset'
|
|
6953
7127
|
>
|
|
6954
7128
|
at: [KeyedSegment]
|
|
@@ -6973,12 +7147,11 @@ export declare function createMarkdownBehaviors(
|
|
|
6973
7147
|
| 'history.redo'
|
|
6974
7148
|
| 'history.undo'
|
|
6975
7149
|
| 'insert.inline object'
|
|
6976
|
-
| 'insert.break'
|
|
6977
|
-
| 'insert.soft break'
|
|
6978
7150
|
| 'insert.block'
|
|
6979
7151
|
| 'insert.span'
|
|
6980
7152
|
| 'insert.text'
|
|
6981
|
-
| 'move.block'
|
|
7153
|
+
| 'move.block'
|
|
7154
|
+
| 'split.block',
|
|
6982
7155
|
'blur'
|
|
6983
7156
|
>
|
|
6984
7157
|
}
|
|
@@ -7001,12 +7174,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7001
7174
|
| 'history.redo'
|
|
7002
7175
|
| 'history.undo'
|
|
7003
7176
|
| 'insert.inline object'
|
|
7004
|
-
| 'insert.break'
|
|
7005
|
-
| 'insert.soft break'
|
|
7006
7177
|
| 'insert.block'
|
|
7007
7178
|
| 'insert.span'
|
|
7008
7179
|
| 'insert.text'
|
|
7009
|
-
| 'move.block'
|
|
7180
|
+
| 'move.block'
|
|
7181
|
+
| 'split.block',
|
|
7010
7182
|
'decorator.add'
|
|
7011
7183
|
>
|
|
7012
7184
|
decorator: string
|
|
@@ -7034,12 +7206,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7034
7206
|
| 'history.redo'
|
|
7035
7207
|
| 'history.undo'
|
|
7036
7208
|
| 'insert.inline object'
|
|
7037
|
-
| 'insert.break'
|
|
7038
|
-
| 'insert.soft break'
|
|
7039
7209
|
| 'insert.block'
|
|
7040
7210
|
| 'insert.span'
|
|
7041
7211
|
| 'insert.text'
|
|
7042
|
-
| 'move.block'
|
|
7212
|
+
| 'move.block'
|
|
7213
|
+
| 'split.block',
|
|
7043
7214
|
'decorator.remove'
|
|
7044
7215
|
>
|
|
7045
7216
|
decorator: string
|
|
@@ -7063,12 +7234,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7063
7234
|
| 'history.redo'
|
|
7064
7235
|
| 'history.undo'
|
|
7065
7236
|
| 'insert.inline object'
|
|
7066
|
-
| 'insert.break'
|
|
7067
|
-
| 'insert.soft break'
|
|
7068
7237
|
| 'insert.block'
|
|
7069
7238
|
| 'insert.span'
|
|
7070
7239
|
| 'insert.text'
|
|
7071
|
-
| 'move.block'
|
|
7240
|
+
| 'move.block'
|
|
7241
|
+
| 'split.block',
|
|
7072
7242
|
'delete'
|
|
7073
7243
|
>
|
|
7074
7244
|
selection: NonNullable<EditorSelection>
|
|
@@ -7092,12 +7262,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7092
7262
|
| 'history.redo'
|
|
7093
7263
|
| 'history.undo'
|
|
7094
7264
|
| 'insert.inline object'
|
|
7095
|
-
| 'insert.break'
|
|
7096
|
-
| 'insert.soft break'
|
|
7097
7265
|
| 'insert.block'
|
|
7098
7266
|
| 'insert.span'
|
|
7099
7267
|
| 'insert.text'
|
|
7100
|
-
| 'move.block'
|
|
7268
|
+
| 'move.block'
|
|
7269
|
+
| 'split.block',
|
|
7101
7270
|
'delete.backward'
|
|
7102
7271
|
>
|
|
7103
7272
|
unit: TextUnit
|
|
@@ -7121,12 +7290,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7121
7290
|
| 'history.redo'
|
|
7122
7291
|
| 'history.undo'
|
|
7123
7292
|
| 'insert.inline object'
|
|
7124
|
-
| 'insert.break'
|
|
7125
|
-
| 'insert.soft break'
|
|
7126
7293
|
| 'insert.block'
|
|
7127
7294
|
| 'insert.span'
|
|
7128
7295
|
| 'insert.text'
|
|
7129
|
-
| 'move.block'
|
|
7296
|
+
| 'move.block'
|
|
7297
|
+
| 'split.block',
|
|
7130
7298
|
'delete.block'
|
|
7131
7299
|
>
|
|
7132
7300
|
at: [KeyedSegment]
|
|
@@ -7150,12 +7318,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7150
7318
|
| 'history.redo'
|
|
7151
7319
|
| 'history.undo'
|
|
7152
7320
|
| 'insert.inline object'
|
|
7153
|
-
| 'insert.break'
|
|
7154
|
-
| 'insert.soft break'
|
|
7155
7321
|
| 'insert.block'
|
|
7156
7322
|
| 'insert.span'
|
|
7157
7323
|
| 'insert.text'
|
|
7158
|
-
| 'move.block'
|
|
7324
|
+
| 'move.block'
|
|
7325
|
+
| 'split.block',
|
|
7159
7326
|
'delete.forward'
|
|
7160
7327
|
>
|
|
7161
7328
|
unit: TextUnit
|
|
@@ -7179,12 +7346,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7179
7346
|
| 'history.redo'
|
|
7180
7347
|
| 'history.undo'
|
|
7181
7348
|
| 'insert.inline object'
|
|
7182
|
-
| 'insert.break'
|
|
7183
|
-
| 'insert.soft break'
|
|
7184
7349
|
| 'insert.block'
|
|
7185
7350
|
| 'insert.span'
|
|
7186
7351
|
| 'insert.text'
|
|
7187
|
-
| 'move.block'
|
|
7352
|
+
| 'move.block'
|
|
7353
|
+
| 'split.block',
|
|
7188
7354
|
'delete.text'
|
|
7189
7355
|
>
|
|
7190
7356
|
anchor: BlockOffset
|
|
@@ -7209,12 +7375,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7209
7375
|
| 'history.redo'
|
|
7210
7376
|
| 'history.undo'
|
|
7211
7377
|
| 'insert.inline object'
|
|
7212
|
-
| 'insert.break'
|
|
7213
|
-
| 'insert.soft break'
|
|
7214
7378
|
| 'insert.block'
|
|
7215
7379
|
| 'insert.span'
|
|
7216
7380
|
| 'insert.text'
|
|
7217
|
-
| 'move.block'
|
|
7381
|
+
| 'move.block'
|
|
7382
|
+
| 'split.block',
|
|
7218
7383
|
'focus'
|
|
7219
7384
|
>
|
|
7220
7385
|
}
|
|
@@ -7237,12 +7402,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7237
7402
|
| 'history.redo'
|
|
7238
7403
|
| 'history.undo'
|
|
7239
7404
|
| 'insert.inline object'
|
|
7240
|
-
| 'insert.break'
|
|
7241
|
-
| 'insert.soft break'
|
|
7242
7405
|
| 'insert.block'
|
|
7243
7406
|
| 'insert.span'
|
|
7244
7407
|
| 'insert.text'
|
|
7245
|
-
| 'move.block'
|
|
7408
|
+
| 'move.block'
|
|
7409
|
+
| 'split.block',
|
|
7246
7410
|
'history.redo'
|
|
7247
7411
|
>
|
|
7248
7412
|
}
|
|
@@ -7265,12 +7429,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7265
7429
|
| 'history.redo'
|
|
7266
7430
|
| 'history.undo'
|
|
7267
7431
|
| 'insert.inline object'
|
|
7268
|
-
| 'insert.break'
|
|
7269
|
-
| 'insert.soft break'
|
|
7270
7432
|
| 'insert.block'
|
|
7271
7433
|
| 'insert.span'
|
|
7272
7434
|
| 'insert.text'
|
|
7273
|
-
| 'move.block'
|
|
7435
|
+
| 'move.block'
|
|
7436
|
+
| 'split.block',
|
|
7274
7437
|
'history.undo'
|
|
7275
7438
|
>
|
|
7276
7439
|
}
|
|
@@ -7293,12 +7456,11 @@ export declare function createMarkdownBehaviors(
|
|
|
7293
7456
|
| 'history.redo'
|
|
7294
7457
|
| 'history.undo'
|
|
7295
7458
|
| 'insert.inline object'
|
|
7296
|
-
| 'insert.break'
|
|
7297
|
-
| 'insert.soft break'
|
|
7298
7459
|
| 'insert.block'
|
|
7299
7460
|
| 'insert.span'
|
|
7300
7461
|
| 'insert.text'
|
|
7301
|
-
| 'move.block'
|
|
7462
|
+
| 'move.block'
|
|
7463
|
+
| 'split.block',
|
|
7302
7464
|
'insert.inline object'
|
|
7303
7465
|
>
|
|
7304
7466
|
inlineObject: {
|
|
@@ -7327,42 +7489,16 @@ export declare function createMarkdownBehaviors(
|
|
|
7327
7489
|
| 'history.redo'
|
|
7328
7490
|
| 'history.undo'
|
|
7329
7491
|
| 'insert.inline object'
|
|
7330
|
-
| 'insert.break'
|
|
7331
|
-
| 'insert.soft break'
|
|
7332
|
-
| 'insert.block'
|
|
7333
|
-
| 'insert.span'
|
|
7334
|
-
| 'insert.text'
|
|
7335
|
-
| 'move.block',
|
|
7336
|
-
'insert.break'
|
|
7337
|
-
>
|
|
7338
|
-
}
|
|
7339
|
-
| {
|
|
7340
|
-
type: StrictExtract<
|
|
7341
|
-
| 'focus'
|
|
7342
|
-
| 'delete'
|
|
7343
|
-
| 'select'
|
|
7344
|
-
| 'annotation.add'
|
|
7345
|
-
| 'annotation.remove'
|
|
7346
|
-
| 'block.set'
|
|
7347
|
-
| 'block.unset'
|
|
7348
|
-
| 'blur'
|
|
7349
|
-
| 'decorator.add'
|
|
7350
|
-
| 'decorator.remove'
|
|
7351
|
-
| 'delete.backward'
|
|
7352
|
-
| 'delete.block'
|
|
7353
|
-
| 'delete.forward'
|
|
7354
|
-
| 'delete.text'
|
|
7355
|
-
| 'history.redo'
|
|
7356
|
-
| 'history.undo'
|
|
7357
|
-
| 'insert.inline object'
|
|
7358
|
-
| 'insert.break'
|
|
7359
|
-
| 'insert.soft break'
|
|
7360
7492
|
| 'insert.block'
|
|
7361
7493
|
| 'insert.span'
|
|
7362
7494
|
| 'insert.text'
|
|
7363
|
-
| 'move.block'
|
|
7364
|
-
'
|
|
7495
|
+
| 'move.block'
|
|
7496
|
+
| 'split.block',
|
|
7497
|
+
'insert.block'
|
|
7365
7498
|
>
|
|
7499
|
+
block: BlockWithOptionalKey
|
|
7500
|
+
placement: InsertPlacement
|
|
7501
|
+
select?: 'start' | 'end' | 'none'
|
|
7366
7502
|
}
|
|
7367
7503
|
| {
|
|
7368
7504
|
type: StrictExtract<
|
|
@@ -7383,17 +7519,21 @@ export declare function createMarkdownBehaviors(
|
|
|
7383
7519
|
| 'history.redo'
|
|
7384
7520
|
| 'history.undo'
|
|
7385
7521
|
| 'insert.inline object'
|
|
7386
|
-
| 'insert.break'
|
|
7387
|
-
| 'insert.soft break'
|
|
7388
7522
|
| 'insert.block'
|
|
7389
7523
|
| 'insert.span'
|
|
7390
7524
|
| 'insert.text'
|
|
7391
|
-
| 'move.block'
|
|
7392
|
-
'
|
|
7525
|
+
| 'move.block'
|
|
7526
|
+
| 'split.block',
|
|
7527
|
+
'insert.span'
|
|
7393
7528
|
>
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7529
|
+
text: string
|
|
7530
|
+
annotations?: Array<{
|
|
7531
|
+
name: string
|
|
7532
|
+
value: {
|
|
7533
|
+
[prop: string]: unknown
|
|
7534
|
+
}
|
|
7535
|
+
}>
|
|
7536
|
+
decorators?: Array<string>
|
|
7397
7537
|
}
|
|
7398
7538
|
| {
|
|
7399
7539
|
type: StrictExtract<
|
|
@@ -7414,22 +7554,14 @@ export declare function createMarkdownBehaviors(
|
|
|
7414
7554
|
| 'history.redo'
|
|
7415
7555
|
| 'history.undo'
|
|
7416
7556
|
| 'insert.inline object'
|
|
7417
|
-
| 'insert.break'
|
|
7418
|
-
| 'insert.soft break'
|
|
7419
7557
|
| 'insert.block'
|
|
7420
7558
|
| 'insert.span'
|
|
7421
7559
|
| 'insert.text'
|
|
7422
|
-
| 'move.block'
|
|
7423
|
-
'
|
|
7560
|
+
| 'move.block'
|
|
7561
|
+
| 'split.block',
|
|
7562
|
+
'insert.text'
|
|
7424
7563
|
>
|
|
7425
7564
|
text: string
|
|
7426
|
-
annotations?: Array<{
|
|
7427
|
-
name: string
|
|
7428
|
-
value: {
|
|
7429
|
-
[prop: string]: unknown
|
|
7430
|
-
}
|
|
7431
|
-
}>
|
|
7432
|
-
decorators?: Array<string>
|
|
7433
7565
|
}
|
|
7434
7566
|
| {
|
|
7435
7567
|
type: StrictExtract<
|
|
@@ -7450,15 +7582,15 @@ export declare function createMarkdownBehaviors(
|
|
|
7450
7582
|
| 'history.redo'
|
|
7451
7583
|
| 'history.undo'
|
|
7452
7584
|
| 'insert.inline object'
|
|
7453
|
-
| 'insert.break'
|
|
7454
|
-
| 'insert.soft break'
|
|
7455
7585
|
| 'insert.block'
|
|
7456
7586
|
| 'insert.span'
|
|
7457
7587
|
| 'insert.text'
|
|
7458
|
-
| 'move.block'
|
|
7459
|
-
'
|
|
7588
|
+
| 'move.block'
|
|
7589
|
+
| 'split.block',
|
|
7590
|
+
'move.block'
|
|
7460
7591
|
>
|
|
7461
|
-
|
|
7592
|
+
at: [KeyedSegment]
|
|
7593
|
+
to: [KeyedSegment]
|
|
7462
7594
|
}
|
|
7463
7595
|
| {
|
|
7464
7596
|
type: StrictExtract<
|
|
@@ -7479,16 +7611,14 @@ export declare function createMarkdownBehaviors(
|
|
|
7479
7611
|
| 'history.redo'
|
|
7480
7612
|
| 'history.undo'
|
|
7481
7613
|
| 'insert.inline object'
|
|
7482
|
-
| 'insert.break'
|
|
7483
|
-
| 'insert.soft break'
|
|
7484
7614
|
| 'insert.block'
|
|
7485
7615
|
| 'insert.span'
|
|
7486
7616
|
| 'insert.text'
|
|
7487
|
-
| 'move.block'
|
|
7488
|
-
'
|
|
7617
|
+
| 'move.block'
|
|
7618
|
+
| 'split.block',
|
|
7619
|
+
'select'
|
|
7489
7620
|
>
|
|
7490
|
-
|
|
7491
|
-
to: [KeyedSegment]
|
|
7621
|
+
selection: EditorSelection
|
|
7492
7622
|
}
|
|
7493
7623
|
| {
|
|
7494
7624
|
type: StrictExtract<
|
|
@@ -7509,15 +7639,13 @@ export declare function createMarkdownBehaviors(
|
|
|
7509
7639
|
| 'history.redo'
|
|
7510
7640
|
| 'history.undo'
|
|
7511
7641
|
| 'insert.inline object'
|
|
7512
|
-
| 'insert.break'
|
|
7513
|
-
| 'insert.soft break'
|
|
7514
7642
|
| 'insert.block'
|
|
7515
7643
|
| 'insert.span'
|
|
7516
7644
|
| 'insert.text'
|
|
7517
|
-
| 'move.block'
|
|
7518
|
-
'
|
|
7645
|
+
| 'move.block'
|
|
7646
|
+
| 'split.block',
|
|
7647
|
+
'split.block'
|
|
7519
7648
|
>
|
|
7520
|
-
selection: EditorSelection
|
|
7521
7649
|
}
|
|
7522
7650
|
| {
|
|
7523
7651
|
type: StrictExtract<
|
|
@@ -7530,6 +7658,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7530
7658
|
| 'annotation.toggle'
|
|
7531
7659
|
| 'decorator.toggle'
|
|
7532
7660
|
| 'insert.blocks'
|
|
7661
|
+
| 'insert.break'
|
|
7662
|
+
| 'insert.soft break'
|
|
7533
7663
|
| 'list item.add'
|
|
7534
7664
|
| 'list item.remove'
|
|
7535
7665
|
| 'list item.toggle'
|
|
@@ -7560,6 +7690,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7560
7690
|
| 'annotation.toggle'
|
|
7561
7691
|
| 'decorator.toggle'
|
|
7562
7692
|
| 'insert.blocks'
|
|
7693
|
+
| 'insert.break'
|
|
7694
|
+
| 'insert.soft break'
|
|
7563
7695
|
| 'list item.add'
|
|
7564
7696
|
| 'list item.remove'
|
|
7565
7697
|
| 'list item.toggle'
|
|
@@ -7589,6 +7721,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7589
7721
|
| 'annotation.toggle'
|
|
7590
7722
|
| 'decorator.toggle'
|
|
7591
7723
|
| 'insert.blocks'
|
|
7724
|
+
| 'insert.break'
|
|
7725
|
+
| 'insert.soft break'
|
|
7592
7726
|
| 'list item.add'
|
|
7593
7727
|
| 'list item.remove'
|
|
7594
7728
|
| 'list item.toggle'
|
|
@@ -7620,6 +7754,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7620
7754
|
| 'annotation.toggle'
|
|
7621
7755
|
| 'decorator.toggle'
|
|
7622
7756
|
| 'insert.blocks'
|
|
7757
|
+
| 'insert.break'
|
|
7758
|
+
| 'insert.soft break'
|
|
7623
7759
|
| 'list item.add'
|
|
7624
7760
|
| 'list item.remove'
|
|
7625
7761
|
| 'list item.toggle'
|
|
@@ -7649,6 +7785,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7649
7785
|
| 'annotation.toggle'
|
|
7650
7786
|
| 'decorator.toggle'
|
|
7651
7787
|
| 'insert.blocks'
|
|
7788
|
+
| 'insert.break'
|
|
7789
|
+
| 'insert.soft break'
|
|
7652
7790
|
| 'list item.add'
|
|
7653
7791
|
| 'list item.remove'
|
|
7654
7792
|
| 'list item.toggle'
|
|
@@ -7682,6 +7820,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7682
7820
|
| 'annotation.toggle'
|
|
7683
7821
|
| 'decorator.toggle'
|
|
7684
7822
|
| 'insert.blocks'
|
|
7823
|
+
| 'insert.break'
|
|
7824
|
+
| 'insert.soft break'
|
|
7685
7825
|
| 'list item.add'
|
|
7686
7826
|
| 'list item.remove'
|
|
7687
7827
|
| 'list item.toggle'
|
|
@@ -7715,6 +7855,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7715
7855
|
| 'annotation.toggle'
|
|
7716
7856
|
| 'decorator.toggle'
|
|
7717
7857
|
| 'insert.blocks'
|
|
7858
|
+
| 'insert.break'
|
|
7859
|
+
| 'insert.soft break'
|
|
7718
7860
|
| 'list item.add'
|
|
7719
7861
|
| 'list item.remove'
|
|
7720
7862
|
| 'list item.toggle'
|
|
@@ -7746,6 +7888,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7746
7888
|
| 'annotation.toggle'
|
|
7747
7889
|
| 'decorator.toggle'
|
|
7748
7890
|
| 'insert.blocks'
|
|
7891
|
+
| 'insert.break'
|
|
7892
|
+
| 'insert.soft break'
|
|
7749
7893
|
| 'list item.add'
|
|
7750
7894
|
| 'list item.remove'
|
|
7751
7895
|
| 'list item.toggle'
|
|
@@ -7777,6 +7921,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7777
7921
|
| 'annotation.toggle'
|
|
7778
7922
|
| 'decorator.toggle'
|
|
7779
7923
|
| 'insert.blocks'
|
|
7924
|
+
| 'insert.break'
|
|
7925
|
+
| 'insert.soft break'
|
|
7780
7926
|
| 'list item.add'
|
|
7781
7927
|
| 'list item.remove'
|
|
7782
7928
|
| 'list item.toggle'
|
|
@@ -7803,6 +7949,60 @@ export declare function createMarkdownBehaviors(
|
|
|
7803
7949
|
| 'annotation.toggle'
|
|
7804
7950
|
| 'decorator.toggle'
|
|
7805
7951
|
| 'insert.blocks'
|
|
7952
|
+
| 'insert.break'
|
|
7953
|
+
| 'insert.soft break'
|
|
7954
|
+
| 'list item.add'
|
|
7955
|
+
| 'list item.remove'
|
|
7956
|
+
| 'list item.toggle'
|
|
7957
|
+
| 'move.block down'
|
|
7958
|
+
| 'move.block up'
|
|
7959
|
+
| 'select.previous block'
|
|
7960
|
+
| 'select.next block'
|
|
7961
|
+
| 'style.add'
|
|
7962
|
+
| 'style.remove'
|
|
7963
|
+
| 'style.toggle',
|
|
7964
|
+
'insert.break'
|
|
7965
|
+
>
|
|
7966
|
+
}
|
|
7967
|
+
| {
|
|
7968
|
+
type: StrictExtract<
|
|
7969
|
+
| 'serialize'
|
|
7970
|
+
| 'serialization.failure'
|
|
7971
|
+
| 'serialization.success'
|
|
7972
|
+
| 'deserialize'
|
|
7973
|
+
| 'deserialization.failure'
|
|
7974
|
+
| 'deserialization.success'
|
|
7975
|
+
| 'annotation.toggle'
|
|
7976
|
+
| 'decorator.toggle'
|
|
7977
|
+
| 'insert.blocks'
|
|
7978
|
+
| 'insert.break'
|
|
7979
|
+
| 'insert.soft break'
|
|
7980
|
+
| 'list item.add'
|
|
7981
|
+
| 'list item.remove'
|
|
7982
|
+
| 'list item.toggle'
|
|
7983
|
+
| 'move.block down'
|
|
7984
|
+
| 'move.block up'
|
|
7985
|
+
| 'select.previous block'
|
|
7986
|
+
| 'select.next block'
|
|
7987
|
+
| 'style.add'
|
|
7988
|
+
| 'style.remove'
|
|
7989
|
+
| 'style.toggle',
|
|
7990
|
+
'insert.soft break'
|
|
7991
|
+
>
|
|
7992
|
+
}
|
|
7993
|
+
| {
|
|
7994
|
+
type: StrictExtract<
|
|
7995
|
+
| 'serialize'
|
|
7996
|
+
| 'serialization.failure'
|
|
7997
|
+
| 'serialization.success'
|
|
7998
|
+
| 'deserialize'
|
|
7999
|
+
| 'deserialization.failure'
|
|
8000
|
+
| 'deserialization.success'
|
|
8001
|
+
| 'annotation.toggle'
|
|
8002
|
+
| 'decorator.toggle'
|
|
8003
|
+
| 'insert.blocks'
|
|
8004
|
+
| 'insert.break'
|
|
8005
|
+
| 'insert.soft break'
|
|
7806
8006
|
| 'list item.add'
|
|
7807
8007
|
| 'list item.remove'
|
|
7808
8008
|
| 'list item.toggle'
|
|
@@ -7828,6 +8028,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7828
8028
|
| 'annotation.toggle'
|
|
7829
8029
|
| 'decorator.toggle'
|
|
7830
8030
|
| 'insert.blocks'
|
|
8031
|
+
| 'insert.break'
|
|
8032
|
+
| 'insert.soft break'
|
|
7831
8033
|
| 'list item.add'
|
|
7832
8034
|
| 'list item.remove'
|
|
7833
8035
|
| 'list item.toggle'
|
|
@@ -7853,6 +8055,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7853
8055
|
| 'annotation.toggle'
|
|
7854
8056
|
| 'decorator.toggle'
|
|
7855
8057
|
| 'insert.blocks'
|
|
8058
|
+
| 'insert.break'
|
|
8059
|
+
| 'insert.soft break'
|
|
7856
8060
|
| 'list item.add'
|
|
7857
8061
|
| 'list item.remove'
|
|
7858
8062
|
| 'list item.toggle'
|
|
@@ -7878,6 +8082,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7878
8082
|
| 'annotation.toggle'
|
|
7879
8083
|
| 'decorator.toggle'
|
|
7880
8084
|
| 'insert.blocks'
|
|
8085
|
+
| 'insert.break'
|
|
8086
|
+
| 'insert.soft break'
|
|
7881
8087
|
| 'list item.add'
|
|
7882
8088
|
| 'list item.remove'
|
|
7883
8089
|
| 'list item.toggle'
|
|
@@ -7903,6 +8109,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7903
8109
|
| 'annotation.toggle'
|
|
7904
8110
|
| 'decorator.toggle'
|
|
7905
8111
|
| 'insert.blocks'
|
|
8112
|
+
| 'insert.break'
|
|
8113
|
+
| 'insert.soft break'
|
|
7906
8114
|
| 'list item.add'
|
|
7907
8115
|
| 'list item.remove'
|
|
7908
8116
|
| 'list item.toggle'
|
|
@@ -7928,6 +8136,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7928
8136
|
| 'annotation.toggle'
|
|
7929
8137
|
| 'decorator.toggle'
|
|
7930
8138
|
| 'insert.blocks'
|
|
8139
|
+
| 'insert.break'
|
|
8140
|
+
| 'insert.soft break'
|
|
7931
8141
|
| 'list item.add'
|
|
7932
8142
|
| 'list item.remove'
|
|
7933
8143
|
| 'list item.toggle'
|
|
@@ -7953,6 +8163,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7953
8163
|
| 'annotation.toggle'
|
|
7954
8164
|
| 'decorator.toggle'
|
|
7955
8165
|
| 'insert.blocks'
|
|
8166
|
+
| 'insert.break'
|
|
8167
|
+
| 'insert.soft break'
|
|
7956
8168
|
| 'list item.add'
|
|
7957
8169
|
| 'list item.remove'
|
|
7958
8170
|
| 'list item.toggle'
|
|
@@ -7978,6 +8190,8 @@ export declare function createMarkdownBehaviors(
|
|
|
7978
8190
|
| 'annotation.toggle'
|
|
7979
8191
|
| 'decorator.toggle'
|
|
7980
8192
|
| 'insert.blocks'
|
|
8193
|
+
| 'insert.break'
|
|
8194
|
+
| 'insert.soft break'
|
|
7981
8195
|
| 'list item.add'
|
|
7982
8196
|
| 'list item.remove'
|
|
7983
8197
|
| 'list item.toggle'
|
|
@@ -8003,6 +8217,8 @@ export declare function createMarkdownBehaviors(
|
|
|
8003
8217
|
| 'annotation.toggle'
|
|
8004
8218
|
| 'decorator.toggle'
|
|
8005
8219
|
| 'insert.blocks'
|
|
8220
|
+
| 'insert.break'
|
|
8221
|
+
| 'insert.soft break'
|
|
8006
8222
|
| 'list item.add'
|
|
8007
8223
|
| 'list item.remove'
|
|
8008
8224
|
| 'list item.toggle'
|
|
@@ -8028,6 +8244,8 @@ export declare function createMarkdownBehaviors(
|
|
|
8028
8244
|
| 'annotation.toggle'
|
|
8029
8245
|
| 'decorator.toggle'
|
|
8030
8246
|
| 'insert.blocks'
|
|
8247
|
+
| 'insert.break'
|
|
8248
|
+
| 'insert.soft break'
|
|
8031
8249
|
| 'list item.add'
|
|
8032
8250
|
| 'list item.remove'
|
|
8033
8251
|
| 'list item.toggle'
|
|
@@ -13050,12 +13268,6 @@ export declare type SyntheticBehaviorEvent =
|
|
|
13050
13268
|
}
|
|
13051
13269
|
}
|
|
13052
13270
|
}
|
|
13053
|
-
| {
|
|
13054
|
-
type: StrictExtract_2<SyntheticBehaviorEventType, 'insert.break'>
|
|
13055
|
-
}
|
|
13056
|
-
| {
|
|
13057
|
-
type: StrictExtract_2<SyntheticBehaviorEventType, 'insert.soft break'>
|
|
13058
|
-
}
|
|
13059
13271
|
| {
|
|
13060
13272
|
type: StrictExtract_2<SyntheticBehaviorEventType, 'insert.block'>
|
|
13061
13273
|
block: BlockWithOptionalKey_2
|
|
@@ -13086,6 +13298,9 @@ export declare type SyntheticBehaviorEvent =
|
|
|
13086
13298
|
type: StrictExtract_2<SyntheticBehaviorEventType, 'select'>
|
|
13087
13299
|
selection: EditorSelection_2
|
|
13088
13300
|
}
|
|
13301
|
+
| {
|
|
13302
|
+
type: StrictExtract_2<SyntheticBehaviorEventType, 'split.block'>
|
|
13303
|
+
}
|
|
13089
13304
|
|
|
13090
13305
|
declare type SyntheticBehaviorEventNamespace =
|
|
13091
13306
|
ExtractNamespace<SyntheticBehaviorEventType>
|
|
@@ -13113,13 +13328,12 @@ declare const syntheticBehaviorEventTypes: readonly [
|
|
|
13113
13328
|
'history.redo',
|
|
13114
13329
|
'history.undo',
|
|
13115
13330
|
'insert.inline object',
|
|
13116
|
-
'insert.break',
|
|
13117
|
-
'insert.soft break',
|
|
13118
13331
|
'insert.block',
|
|
13119
13332
|
'insert.span',
|
|
13120
13333
|
'insert.text',
|
|
13121
13334
|
'move.block',
|
|
13122
13335
|
'select',
|
|
13336
|
+
'split.block',
|
|
13123
13337
|
]
|
|
13124
13338
|
|
|
13125
13339
|
declare type TextBlockWithOptionalKey = Omit<PortableTextTextBlock, '_key'> & {
|