@portabletext/editor 1.47.2 → 1.47.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_chunks-cjs/editor-provider.cjs +125 -100
- package/lib/_chunks-cjs/editor-provider.cjs.map +1 -1
- package/lib/_chunks-es/editor-provider.js +126 -101
- package/lib/_chunks-es/editor-provider.js.map +1 -1
- package/lib/behaviors/index.d.cts +404 -543
- package/lib/behaviors/index.d.ts +404 -543
- package/lib/index.cjs +9 -6
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +411 -34
- package/lib/index.d.ts +411 -34
- package/lib/index.js +9 -6
- package/lib/index.js.map +1 -1
- package/lib/plugins/index.d.cts +411 -34
- package/lib/plugins/index.d.ts +411 -34
- package/lib/selectors/index.d.cts +404 -33
- package/lib/selectors/index.d.ts +404 -33
- package/lib/utils/index.d.cts +404 -33
- package/lib/utils/index.d.ts +404 -33
- package/package.json +3 -3
- package/src/behavior-actions/behavior.action.insert.text.ts +10 -1
- package/src/behavior-actions/behavior.actions.ts +0 -18
- package/src/behaviors/behavior.perform-event.ts +55 -65
- package/src/behaviors/behavior.types.event.ts +7 -9
- package/src/editor/Editable.tsx +18 -13
- package/src/editor/create-editor.ts +14 -0
- package/src/editor/editor-machine.ts +76 -5
- package/src/editor/plugins/create-with-event-listeners.ts +0 -6
- package/src/editor/plugins/createWithEditableAPI.ts +2 -8
- package/src/editor/with-applying-behavior-actions.ts +2 -2
- package/src/behavior-actions/behavior.action.blur.ts +0 -8
- package/src/behavior-actions/behavior.action.focus.ts +0 -8
|
@@ -424,7 +424,6 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
424
424
|
| 'deserialize'
|
|
425
425
|
| 'deserialization.failure'
|
|
426
426
|
| 'deserialization.success'
|
|
427
|
-
| 'focus'
|
|
428
427
|
| 'delete'
|
|
429
428
|
| 'select'
|
|
430
429
|
| '*'
|
|
@@ -432,7 +431,6 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
432
431
|
| 'annotation.remove'
|
|
433
432
|
| 'block.set'
|
|
434
433
|
| 'block.unset'
|
|
435
|
-
| 'blur'
|
|
436
434
|
| 'decorator.add'
|
|
437
435
|
| 'decorator.remove'
|
|
438
436
|
| 'delete.backward'
|
|
@@ -478,14 +476,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
478
476
|
| 'serialize.*'
|
|
479
477
|
| 'deserialize.*'
|
|
480
478
|
| 'split.*'
|
|
481
|
-
| 'focus.*'
|
|
482
479
|
| 'style.*'
|
|
483
480
|
| 'block.*'
|
|
484
481
|
| 'delete.*'
|
|
485
482
|
| 'move.*'
|
|
486
483
|
| 'select.*'
|
|
487
484
|
| 'history.*'
|
|
488
|
-
| 'blur.*'
|
|
489
485
|
| 'annotation.*'
|
|
490
486
|
| 'decorator.*'
|
|
491
487
|
| 'insert.*'
|
|
@@ -500,14 +496,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
500
496
|
true,
|
|
501
497
|
| {
|
|
502
498
|
type: StrictExtract<
|
|
503
|
-
| 'focus'
|
|
504
499
|
| 'delete'
|
|
505
500
|
| 'select'
|
|
506
501
|
| 'annotation.add'
|
|
507
502
|
| 'annotation.remove'
|
|
508
503
|
| 'block.set'
|
|
509
504
|
| 'block.unset'
|
|
510
|
-
| 'blur'
|
|
511
505
|
| 'decorator.add'
|
|
512
506
|
| 'decorator.remove'
|
|
513
507
|
| 'delete.backward'
|
|
@@ -534,14 +528,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
534
528
|
}
|
|
535
529
|
| {
|
|
536
530
|
type: StrictExtract<
|
|
537
|
-
| 'focus'
|
|
538
531
|
| 'delete'
|
|
539
532
|
| 'select'
|
|
540
533
|
| 'annotation.add'
|
|
541
534
|
| 'annotation.remove'
|
|
542
535
|
| 'block.set'
|
|
543
536
|
| 'block.unset'
|
|
544
|
-
| 'blur'
|
|
545
537
|
| 'decorator.add'
|
|
546
538
|
| 'decorator.remove'
|
|
547
539
|
| 'delete.backward'
|
|
@@ -565,14 +557,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
565
557
|
}
|
|
566
558
|
| {
|
|
567
559
|
type: StrictExtract<
|
|
568
|
-
| 'focus'
|
|
569
560
|
| 'delete'
|
|
570
561
|
| 'select'
|
|
571
562
|
| 'annotation.add'
|
|
572
563
|
| 'annotation.remove'
|
|
573
564
|
| 'block.set'
|
|
574
565
|
| 'block.unset'
|
|
575
|
-
| 'blur'
|
|
576
566
|
| 'decorator.add'
|
|
577
567
|
| 'decorator.remove'
|
|
578
568
|
| 'delete.backward'
|
|
@@ -595,14 +585,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
595
585
|
}
|
|
596
586
|
| {
|
|
597
587
|
type: StrictExtract<
|
|
598
|
-
| 'focus'
|
|
599
588
|
| 'delete'
|
|
600
589
|
| 'select'
|
|
601
590
|
| 'annotation.add'
|
|
602
591
|
| 'annotation.remove'
|
|
603
592
|
| 'block.set'
|
|
604
593
|
| 'block.unset'
|
|
605
|
-
| 'blur'
|
|
606
594
|
| 'decorator.add'
|
|
607
595
|
| 'decorator.remove'
|
|
608
596
|
| 'delete.backward'
|
|
@@ -625,42 +613,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
625
613
|
}
|
|
626
614
|
| {
|
|
627
615
|
type: StrictExtract<
|
|
628
|
-
| 'focus'
|
|
629
616
|
| 'delete'
|
|
630
617
|
| 'select'
|
|
631
618
|
| 'annotation.add'
|
|
632
619
|
| 'annotation.remove'
|
|
633
620
|
| 'block.set'
|
|
634
621
|
| 'block.unset'
|
|
635
|
-
| 'blur'
|
|
636
|
-
| 'decorator.add'
|
|
637
|
-
| 'decorator.remove'
|
|
638
|
-
| 'delete.backward'
|
|
639
|
-
| 'delete.block'
|
|
640
|
-
| 'delete.forward'
|
|
641
|
-
| 'history.redo'
|
|
642
|
-
| 'history.undo'
|
|
643
|
-
| 'insert.inline object'
|
|
644
|
-
| 'insert.block'
|
|
645
|
-
| 'insert.span'
|
|
646
|
-
| 'insert.text'
|
|
647
|
-
| 'move.backward'
|
|
648
|
-
| 'move.block'
|
|
649
|
-
| 'move.forward'
|
|
650
|
-
| 'split.block',
|
|
651
|
-
'blur'
|
|
652
|
-
>
|
|
653
|
-
}
|
|
654
|
-
| {
|
|
655
|
-
type: StrictExtract<
|
|
656
|
-
| 'focus'
|
|
657
|
-
| 'delete'
|
|
658
|
-
| 'select'
|
|
659
|
-
| 'annotation.add'
|
|
660
|
-
| 'annotation.remove'
|
|
661
|
-
| 'block.set'
|
|
662
|
-
| 'block.unset'
|
|
663
|
-
| 'blur'
|
|
664
622
|
| 'decorator.add'
|
|
665
623
|
| 'decorator.remove'
|
|
666
624
|
| 'delete.backward'
|
|
@@ -686,14 +644,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
686
644
|
}
|
|
687
645
|
| {
|
|
688
646
|
type: StrictExtract<
|
|
689
|
-
| 'focus'
|
|
690
647
|
| 'delete'
|
|
691
648
|
| 'select'
|
|
692
649
|
| 'annotation.add'
|
|
693
650
|
| 'annotation.remove'
|
|
694
651
|
| 'block.set'
|
|
695
652
|
| 'block.unset'
|
|
696
|
-
| 'blur'
|
|
697
653
|
| 'decorator.add'
|
|
698
654
|
| 'decorator.remove'
|
|
699
655
|
| 'delete.backward'
|
|
@@ -715,14 +671,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
715
671
|
}
|
|
716
672
|
| {
|
|
717
673
|
type: StrictExtract<
|
|
718
|
-
| 'focus'
|
|
719
674
|
| 'delete'
|
|
720
675
|
| 'select'
|
|
721
676
|
| 'annotation.add'
|
|
722
677
|
| 'annotation.remove'
|
|
723
678
|
| 'block.set'
|
|
724
679
|
| 'block.unset'
|
|
725
|
-
| 'blur'
|
|
726
680
|
| 'decorator.add'
|
|
727
681
|
| 'decorator.remove'
|
|
728
682
|
| 'delete.backward'
|
|
@@ -744,14 +698,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
744
698
|
}
|
|
745
699
|
| {
|
|
746
700
|
type: StrictExtract<
|
|
747
|
-
| 'focus'
|
|
748
701
|
| 'delete'
|
|
749
702
|
| 'select'
|
|
750
703
|
| 'annotation.add'
|
|
751
704
|
| 'annotation.remove'
|
|
752
705
|
| 'block.set'
|
|
753
706
|
| 'block.unset'
|
|
754
|
-
| 'blur'
|
|
755
707
|
| 'decorator.add'
|
|
756
708
|
| 'decorator.remove'
|
|
757
709
|
| 'delete.backward'
|
|
@@ -773,14 +725,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
773
725
|
}
|
|
774
726
|
| {
|
|
775
727
|
type: StrictExtract<
|
|
776
|
-
| 'focus'
|
|
777
728
|
| 'delete'
|
|
778
729
|
| 'select'
|
|
779
730
|
| 'annotation.add'
|
|
780
731
|
| 'annotation.remove'
|
|
781
732
|
| 'block.set'
|
|
782
733
|
| 'block.unset'
|
|
783
|
-
| 'blur'
|
|
784
734
|
| 'decorator.add'
|
|
785
735
|
| 'decorator.remove'
|
|
786
736
|
| 'delete.backward'
|
|
@@ -802,14 +752,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
802
752
|
}
|
|
803
753
|
| {
|
|
804
754
|
type: StrictExtract<
|
|
805
|
-
| 'focus'
|
|
806
755
|
| 'delete'
|
|
807
756
|
| 'select'
|
|
808
757
|
| 'annotation.add'
|
|
809
758
|
| 'annotation.remove'
|
|
810
759
|
| 'block.set'
|
|
811
760
|
| 'block.unset'
|
|
812
|
-
| 'blur'
|
|
813
761
|
| 'decorator.add'
|
|
814
762
|
| 'decorator.remove'
|
|
815
763
|
| 'delete.backward'
|
|
@@ -831,42 +779,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
831
779
|
}
|
|
832
780
|
| {
|
|
833
781
|
type: StrictExtract<
|
|
834
|
-
| 'focus'
|
|
835
|
-
| 'delete'
|
|
836
|
-
| 'select'
|
|
837
|
-
| 'annotation.add'
|
|
838
|
-
| 'annotation.remove'
|
|
839
|
-
| 'block.set'
|
|
840
|
-
| 'block.unset'
|
|
841
|
-
| 'blur'
|
|
842
|
-
| 'decorator.add'
|
|
843
|
-
| 'decorator.remove'
|
|
844
|
-
| 'delete.backward'
|
|
845
|
-
| 'delete.block'
|
|
846
|
-
| 'delete.forward'
|
|
847
|
-
| 'history.redo'
|
|
848
|
-
| 'history.undo'
|
|
849
|
-
| 'insert.inline object'
|
|
850
|
-
| 'insert.block'
|
|
851
|
-
| 'insert.span'
|
|
852
|
-
| 'insert.text'
|
|
853
|
-
| 'move.backward'
|
|
854
|
-
| 'move.block'
|
|
855
|
-
| 'move.forward'
|
|
856
|
-
| 'split.block',
|
|
857
|
-
'focus'
|
|
858
|
-
>
|
|
859
|
-
}
|
|
860
|
-
| {
|
|
861
|
-
type: StrictExtract<
|
|
862
|
-
| 'focus'
|
|
863
782
|
| 'delete'
|
|
864
783
|
| 'select'
|
|
865
784
|
| 'annotation.add'
|
|
866
785
|
| 'annotation.remove'
|
|
867
786
|
| 'block.set'
|
|
868
787
|
| 'block.unset'
|
|
869
|
-
| 'blur'
|
|
870
788
|
| 'decorator.add'
|
|
871
789
|
| 'decorator.remove'
|
|
872
790
|
| 'delete.backward'
|
|
@@ -887,14 +805,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
887
805
|
}
|
|
888
806
|
| {
|
|
889
807
|
type: StrictExtract<
|
|
890
|
-
| 'focus'
|
|
891
808
|
| 'delete'
|
|
892
809
|
| 'select'
|
|
893
810
|
| 'annotation.add'
|
|
894
811
|
| 'annotation.remove'
|
|
895
812
|
| 'block.set'
|
|
896
813
|
| 'block.unset'
|
|
897
|
-
| 'blur'
|
|
898
814
|
| 'decorator.add'
|
|
899
815
|
| 'decorator.remove'
|
|
900
816
|
| 'delete.backward'
|
|
@@ -915,14 +831,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
915
831
|
}
|
|
916
832
|
| {
|
|
917
833
|
type: StrictExtract<
|
|
918
|
-
| 'focus'
|
|
919
834
|
| 'delete'
|
|
920
835
|
| 'select'
|
|
921
836
|
| 'annotation.add'
|
|
922
837
|
| 'annotation.remove'
|
|
923
838
|
| 'block.set'
|
|
924
839
|
| 'block.unset'
|
|
925
|
-
| 'blur'
|
|
926
840
|
| 'decorator.add'
|
|
927
841
|
| 'decorator.remove'
|
|
928
842
|
| 'delete.backward'
|
|
@@ -949,14 +863,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
949
863
|
}
|
|
950
864
|
| {
|
|
951
865
|
type: StrictExtract<
|
|
952
|
-
| 'focus'
|
|
953
866
|
| 'delete'
|
|
954
867
|
| 'select'
|
|
955
868
|
| 'annotation.add'
|
|
956
869
|
| 'annotation.remove'
|
|
957
870
|
| 'block.set'
|
|
958
871
|
| 'block.unset'
|
|
959
|
-
| 'blur'
|
|
960
872
|
| 'decorator.add'
|
|
961
873
|
| 'decorator.remove'
|
|
962
874
|
| 'delete.backward'
|
|
@@ -980,14 +892,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
980
892
|
}
|
|
981
893
|
| {
|
|
982
894
|
type: StrictExtract<
|
|
983
|
-
| 'focus'
|
|
984
895
|
| 'delete'
|
|
985
896
|
| 'select'
|
|
986
897
|
| 'annotation.add'
|
|
987
898
|
| 'annotation.remove'
|
|
988
899
|
| 'block.set'
|
|
989
900
|
| 'block.unset'
|
|
990
|
-
| 'blur'
|
|
991
901
|
| 'decorator.add'
|
|
992
902
|
| 'decorator.remove'
|
|
993
903
|
| 'delete.backward'
|
|
@@ -1016,14 +926,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1016
926
|
}
|
|
1017
927
|
| {
|
|
1018
928
|
type: StrictExtract<
|
|
1019
|
-
| 'focus'
|
|
1020
929
|
| 'delete'
|
|
1021
930
|
| 'select'
|
|
1022
931
|
| 'annotation.add'
|
|
1023
932
|
| 'annotation.remove'
|
|
1024
933
|
| 'block.set'
|
|
1025
934
|
| 'block.unset'
|
|
1026
|
-
| 'blur'
|
|
1027
935
|
| 'decorator.add'
|
|
1028
936
|
| 'decorator.remove'
|
|
1029
937
|
| 'delete.backward'
|
|
@@ -1045,14 +953,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1045
953
|
}
|
|
1046
954
|
| {
|
|
1047
955
|
type: StrictExtract<
|
|
1048
|
-
| 'focus'
|
|
1049
956
|
| 'delete'
|
|
1050
957
|
| 'select'
|
|
1051
958
|
| 'annotation.add'
|
|
1052
959
|
| 'annotation.remove'
|
|
1053
960
|
| 'block.set'
|
|
1054
961
|
| 'block.unset'
|
|
1055
|
-
| 'blur'
|
|
1056
962
|
| 'decorator.add'
|
|
1057
963
|
| 'decorator.remove'
|
|
1058
964
|
| 'delete.backward'
|
|
@@ -1074,14 +980,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1074
980
|
}
|
|
1075
981
|
| {
|
|
1076
982
|
type: StrictExtract<
|
|
1077
|
-
| 'focus'
|
|
1078
983
|
| 'delete'
|
|
1079
984
|
| 'select'
|
|
1080
985
|
| 'annotation.add'
|
|
1081
986
|
| 'annotation.remove'
|
|
1082
987
|
| 'block.set'
|
|
1083
988
|
| 'block.unset'
|
|
1084
|
-
| 'blur'
|
|
1085
989
|
| 'decorator.add'
|
|
1086
990
|
| 'decorator.remove'
|
|
1087
991
|
| 'delete.backward'
|
|
@@ -1104,14 +1008,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1104
1008
|
}
|
|
1105
1009
|
| {
|
|
1106
1010
|
type: StrictExtract<
|
|
1107
|
-
| 'focus'
|
|
1108
1011
|
| 'delete'
|
|
1109
1012
|
| 'select'
|
|
1110
1013
|
| 'annotation.add'
|
|
1111
1014
|
| 'annotation.remove'
|
|
1112
1015
|
| 'block.set'
|
|
1113
1016
|
| 'block.unset'
|
|
1114
|
-
| 'blur'
|
|
1115
1017
|
| 'decorator.add'
|
|
1116
1018
|
| 'decorator.remove'
|
|
1117
1019
|
| 'delete.backward'
|
|
@@ -1133,14 +1035,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1133
1035
|
}
|
|
1134
1036
|
| {
|
|
1135
1037
|
type: StrictExtract<
|
|
1136
|
-
| 'focus'
|
|
1137
1038
|
| 'delete'
|
|
1138
1039
|
| 'select'
|
|
1139
1040
|
| 'annotation.add'
|
|
1140
1041
|
| 'annotation.remove'
|
|
1141
1042
|
| 'block.set'
|
|
1142
1043
|
| 'block.unset'
|
|
1143
|
-
| 'blur'
|
|
1144
1044
|
| 'decorator.add'
|
|
1145
1045
|
| 'decorator.remove'
|
|
1146
1046
|
| 'delete.backward'
|
|
@@ -1162,14 +1062,12 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1162
1062
|
}
|
|
1163
1063
|
| {
|
|
1164
1064
|
type: StrictExtract<
|
|
1165
|
-
| 'focus'
|
|
1166
1065
|
| 'delete'
|
|
1167
1066
|
| 'select'
|
|
1168
1067
|
| 'annotation.add'
|
|
1169
1068
|
| 'annotation.remove'
|
|
1170
1069
|
| 'block.set'
|
|
1171
1070
|
| 'block.unset'
|
|
1172
|
-
| 'blur'
|
|
1173
1071
|
| 'decorator.add'
|
|
1174
1072
|
| 'decorator.remove'
|
|
1175
1073
|
| 'delete.backward'
|
|
@@ -2146,7 +2044,6 @@ export declare function createCodeEditorBehaviors(
|
|
|
2146
2044
|
| 'deserialize'
|
|
2147
2045
|
| 'deserialization.failure'
|
|
2148
2046
|
| 'deserialization.success'
|
|
2149
|
-
| 'focus'
|
|
2150
2047
|
| 'delete'
|
|
2151
2048
|
| 'select'
|
|
2152
2049
|
| '*'
|
|
@@ -2154,7 +2051,6 @@ export declare function createCodeEditorBehaviors(
|
|
|
2154
2051
|
| 'annotation.remove'
|
|
2155
2052
|
| 'block.set'
|
|
2156
2053
|
| 'block.unset'
|
|
2157
|
-
| 'blur'
|
|
2158
2054
|
| 'decorator.add'
|
|
2159
2055
|
| 'decorator.remove'
|
|
2160
2056
|
| 'delete.backward'
|
|
@@ -2200,14 +2096,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2200
2096
|
| 'serialize.*'
|
|
2201
2097
|
| 'deserialize.*'
|
|
2202
2098
|
| 'split.*'
|
|
2203
|
-
| 'focus.*'
|
|
2204
2099
|
| 'style.*'
|
|
2205
2100
|
| 'block.*'
|
|
2206
2101
|
| 'delete.*'
|
|
2207
2102
|
| 'move.*'
|
|
2208
2103
|
| 'select.*'
|
|
2209
2104
|
| 'history.*'
|
|
2210
|
-
| 'blur.*'
|
|
2211
2105
|
| 'annotation.*'
|
|
2212
2106
|
| 'decorator.*'
|
|
2213
2107
|
| 'insert.*'
|
|
@@ -2222,14 +2116,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2222
2116
|
true,
|
|
2223
2117
|
| {
|
|
2224
2118
|
type: StrictExtract<
|
|
2225
|
-
| 'focus'
|
|
2226
2119
|
| 'delete'
|
|
2227
2120
|
| 'select'
|
|
2228
2121
|
| 'annotation.add'
|
|
2229
2122
|
| 'annotation.remove'
|
|
2230
2123
|
| 'block.set'
|
|
2231
2124
|
| 'block.unset'
|
|
2232
|
-
| 'blur'
|
|
2233
2125
|
| 'decorator.add'
|
|
2234
2126
|
| 'decorator.remove'
|
|
2235
2127
|
| 'delete.backward'
|
|
@@ -2256,14 +2148,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2256
2148
|
}
|
|
2257
2149
|
| {
|
|
2258
2150
|
type: StrictExtract<
|
|
2259
|
-
| 'focus'
|
|
2260
2151
|
| 'delete'
|
|
2261
2152
|
| 'select'
|
|
2262
2153
|
| 'annotation.add'
|
|
2263
2154
|
| 'annotation.remove'
|
|
2264
2155
|
| 'block.set'
|
|
2265
2156
|
| 'block.unset'
|
|
2266
|
-
| 'blur'
|
|
2267
2157
|
| 'decorator.add'
|
|
2268
2158
|
| 'decorator.remove'
|
|
2269
2159
|
| 'delete.backward'
|
|
@@ -2287,14 +2177,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2287
2177
|
}
|
|
2288
2178
|
| {
|
|
2289
2179
|
type: StrictExtract<
|
|
2290
|
-
| 'focus'
|
|
2291
2180
|
| 'delete'
|
|
2292
2181
|
| 'select'
|
|
2293
2182
|
| 'annotation.add'
|
|
2294
2183
|
| 'annotation.remove'
|
|
2295
2184
|
| 'block.set'
|
|
2296
2185
|
| 'block.unset'
|
|
2297
|
-
| 'blur'
|
|
2298
2186
|
| 'decorator.add'
|
|
2299
2187
|
| 'decorator.remove'
|
|
2300
2188
|
| 'delete.backward'
|
|
@@ -2317,14 +2205,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2317
2205
|
}
|
|
2318
2206
|
| {
|
|
2319
2207
|
type: StrictExtract<
|
|
2320
|
-
| 'focus'
|
|
2321
2208
|
| 'delete'
|
|
2322
2209
|
| 'select'
|
|
2323
2210
|
| 'annotation.add'
|
|
2324
2211
|
| 'annotation.remove'
|
|
2325
2212
|
| 'block.set'
|
|
2326
2213
|
| 'block.unset'
|
|
2327
|
-
| 'blur'
|
|
2328
2214
|
| 'decorator.add'
|
|
2329
2215
|
| 'decorator.remove'
|
|
2330
2216
|
| 'delete.backward'
|
|
@@ -2347,42 +2233,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2347
2233
|
}
|
|
2348
2234
|
| {
|
|
2349
2235
|
type: StrictExtract<
|
|
2350
|
-
| 'focus'
|
|
2351
|
-
| 'delete'
|
|
2352
|
-
| 'select'
|
|
2353
|
-
| 'annotation.add'
|
|
2354
|
-
| 'annotation.remove'
|
|
2355
|
-
| 'block.set'
|
|
2356
|
-
| 'block.unset'
|
|
2357
|
-
| 'blur'
|
|
2358
|
-
| 'decorator.add'
|
|
2359
|
-
| 'decorator.remove'
|
|
2360
|
-
| 'delete.backward'
|
|
2361
|
-
| 'delete.block'
|
|
2362
|
-
| 'delete.forward'
|
|
2363
|
-
| 'history.redo'
|
|
2364
|
-
| 'history.undo'
|
|
2365
|
-
| 'insert.inline object'
|
|
2366
|
-
| 'insert.block'
|
|
2367
|
-
| 'insert.span'
|
|
2368
|
-
| 'insert.text'
|
|
2369
|
-
| 'move.backward'
|
|
2370
|
-
| 'move.block'
|
|
2371
|
-
| 'move.forward'
|
|
2372
|
-
| 'split.block',
|
|
2373
|
-
'blur'
|
|
2374
|
-
>
|
|
2375
|
-
}
|
|
2376
|
-
| {
|
|
2377
|
-
type: StrictExtract<
|
|
2378
|
-
| 'focus'
|
|
2379
2236
|
| 'delete'
|
|
2380
2237
|
| 'select'
|
|
2381
2238
|
| 'annotation.add'
|
|
2382
2239
|
| 'annotation.remove'
|
|
2383
2240
|
| 'block.set'
|
|
2384
2241
|
| 'block.unset'
|
|
2385
|
-
| 'blur'
|
|
2386
2242
|
| 'decorator.add'
|
|
2387
2243
|
| 'decorator.remove'
|
|
2388
2244
|
| 'delete.backward'
|
|
@@ -2408,14 +2264,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2408
2264
|
}
|
|
2409
2265
|
| {
|
|
2410
2266
|
type: StrictExtract<
|
|
2411
|
-
| 'focus'
|
|
2412
2267
|
| 'delete'
|
|
2413
2268
|
| 'select'
|
|
2414
2269
|
| 'annotation.add'
|
|
2415
2270
|
| 'annotation.remove'
|
|
2416
2271
|
| 'block.set'
|
|
2417
2272
|
| 'block.unset'
|
|
2418
|
-
| 'blur'
|
|
2419
2273
|
| 'decorator.add'
|
|
2420
2274
|
| 'decorator.remove'
|
|
2421
2275
|
| 'delete.backward'
|
|
@@ -2437,14 +2291,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2437
2291
|
}
|
|
2438
2292
|
| {
|
|
2439
2293
|
type: StrictExtract<
|
|
2440
|
-
| 'focus'
|
|
2441
2294
|
| 'delete'
|
|
2442
2295
|
| 'select'
|
|
2443
2296
|
| 'annotation.add'
|
|
2444
2297
|
| 'annotation.remove'
|
|
2445
2298
|
| 'block.set'
|
|
2446
2299
|
| 'block.unset'
|
|
2447
|
-
| 'blur'
|
|
2448
2300
|
| 'decorator.add'
|
|
2449
2301
|
| 'decorator.remove'
|
|
2450
2302
|
| 'delete.backward'
|
|
@@ -2466,14 +2318,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2466
2318
|
}
|
|
2467
2319
|
| {
|
|
2468
2320
|
type: StrictExtract<
|
|
2469
|
-
| 'focus'
|
|
2470
2321
|
| 'delete'
|
|
2471
2322
|
| 'select'
|
|
2472
2323
|
| 'annotation.add'
|
|
2473
2324
|
| 'annotation.remove'
|
|
2474
2325
|
| 'block.set'
|
|
2475
2326
|
| 'block.unset'
|
|
2476
|
-
| 'blur'
|
|
2477
2327
|
| 'decorator.add'
|
|
2478
2328
|
| 'decorator.remove'
|
|
2479
2329
|
| 'delete.backward'
|
|
@@ -2495,14 +2345,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2495
2345
|
}
|
|
2496
2346
|
| {
|
|
2497
2347
|
type: StrictExtract<
|
|
2498
|
-
| 'focus'
|
|
2499
2348
|
| 'delete'
|
|
2500
2349
|
| 'select'
|
|
2501
2350
|
| 'annotation.add'
|
|
2502
2351
|
| 'annotation.remove'
|
|
2503
2352
|
| 'block.set'
|
|
2504
2353
|
| 'block.unset'
|
|
2505
|
-
| 'blur'
|
|
2506
2354
|
| 'decorator.add'
|
|
2507
2355
|
| 'decorator.remove'
|
|
2508
2356
|
| 'delete.backward'
|
|
@@ -2524,14 +2372,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2524
2372
|
}
|
|
2525
2373
|
| {
|
|
2526
2374
|
type: StrictExtract<
|
|
2527
|
-
| 'focus'
|
|
2528
2375
|
| 'delete'
|
|
2529
2376
|
| 'select'
|
|
2530
2377
|
| 'annotation.add'
|
|
2531
2378
|
| 'annotation.remove'
|
|
2532
2379
|
| 'block.set'
|
|
2533
2380
|
| 'block.unset'
|
|
2534
|
-
| 'blur'
|
|
2535
2381
|
| 'decorator.add'
|
|
2536
2382
|
| 'decorator.remove'
|
|
2537
2383
|
| 'delete.backward'
|
|
@@ -2553,42 +2399,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2553
2399
|
}
|
|
2554
2400
|
| {
|
|
2555
2401
|
type: StrictExtract<
|
|
2556
|
-
| 'focus'
|
|
2557
|
-
| 'delete'
|
|
2558
|
-
| 'select'
|
|
2559
|
-
| 'annotation.add'
|
|
2560
|
-
| 'annotation.remove'
|
|
2561
|
-
| 'block.set'
|
|
2562
|
-
| 'block.unset'
|
|
2563
|
-
| 'blur'
|
|
2564
|
-
| 'decorator.add'
|
|
2565
|
-
| 'decorator.remove'
|
|
2566
|
-
| 'delete.backward'
|
|
2567
|
-
| 'delete.block'
|
|
2568
|
-
| 'delete.forward'
|
|
2569
|
-
| 'history.redo'
|
|
2570
|
-
| 'history.undo'
|
|
2571
|
-
| 'insert.inline object'
|
|
2572
|
-
| 'insert.block'
|
|
2573
|
-
| 'insert.span'
|
|
2574
|
-
| 'insert.text'
|
|
2575
|
-
| 'move.backward'
|
|
2576
|
-
| 'move.block'
|
|
2577
|
-
| 'move.forward'
|
|
2578
|
-
| 'split.block',
|
|
2579
|
-
'focus'
|
|
2580
|
-
>
|
|
2581
|
-
}
|
|
2582
|
-
| {
|
|
2583
|
-
type: StrictExtract<
|
|
2584
|
-
| 'focus'
|
|
2585
2402
|
| 'delete'
|
|
2586
2403
|
| 'select'
|
|
2587
2404
|
| 'annotation.add'
|
|
2588
2405
|
| 'annotation.remove'
|
|
2589
2406
|
| 'block.set'
|
|
2590
2407
|
| 'block.unset'
|
|
2591
|
-
| 'blur'
|
|
2592
2408
|
| 'decorator.add'
|
|
2593
2409
|
| 'decorator.remove'
|
|
2594
2410
|
| 'delete.backward'
|
|
@@ -2609,14 +2425,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2609
2425
|
}
|
|
2610
2426
|
| {
|
|
2611
2427
|
type: StrictExtract<
|
|
2612
|
-
| 'focus'
|
|
2613
2428
|
| 'delete'
|
|
2614
2429
|
| 'select'
|
|
2615
2430
|
| 'annotation.add'
|
|
2616
2431
|
| 'annotation.remove'
|
|
2617
2432
|
| 'block.set'
|
|
2618
2433
|
| 'block.unset'
|
|
2619
|
-
| 'blur'
|
|
2620
2434
|
| 'decorator.add'
|
|
2621
2435
|
| 'decorator.remove'
|
|
2622
2436
|
| 'delete.backward'
|
|
@@ -2637,14 +2451,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2637
2451
|
}
|
|
2638
2452
|
| {
|
|
2639
2453
|
type: StrictExtract<
|
|
2640
|
-
| 'focus'
|
|
2641
2454
|
| 'delete'
|
|
2642
2455
|
| 'select'
|
|
2643
2456
|
| 'annotation.add'
|
|
2644
2457
|
| 'annotation.remove'
|
|
2645
2458
|
| 'block.set'
|
|
2646
2459
|
| 'block.unset'
|
|
2647
|
-
| 'blur'
|
|
2648
2460
|
| 'decorator.add'
|
|
2649
2461
|
| 'decorator.remove'
|
|
2650
2462
|
| 'delete.backward'
|
|
@@ -2671,14 +2483,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2671
2483
|
}
|
|
2672
2484
|
| {
|
|
2673
2485
|
type: StrictExtract<
|
|
2674
|
-
| 'focus'
|
|
2675
2486
|
| 'delete'
|
|
2676
2487
|
| 'select'
|
|
2677
2488
|
| 'annotation.add'
|
|
2678
2489
|
| 'annotation.remove'
|
|
2679
2490
|
| 'block.set'
|
|
2680
2491
|
| 'block.unset'
|
|
2681
|
-
| 'blur'
|
|
2682
2492
|
| 'decorator.add'
|
|
2683
2493
|
| 'decorator.remove'
|
|
2684
2494
|
| 'delete.backward'
|
|
@@ -2702,14 +2512,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2702
2512
|
}
|
|
2703
2513
|
| {
|
|
2704
2514
|
type: StrictExtract<
|
|
2705
|
-
| 'focus'
|
|
2706
2515
|
| 'delete'
|
|
2707
2516
|
| 'select'
|
|
2708
2517
|
| 'annotation.add'
|
|
2709
2518
|
| 'annotation.remove'
|
|
2710
2519
|
| 'block.set'
|
|
2711
2520
|
| 'block.unset'
|
|
2712
|
-
| 'blur'
|
|
2713
2521
|
| 'decorator.add'
|
|
2714
2522
|
| 'decorator.remove'
|
|
2715
2523
|
| 'delete.backward'
|
|
@@ -2738,14 +2546,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2738
2546
|
}
|
|
2739
2547
|
| {
|
|
2740
2548
|
type: StrictExtract<
|
|
2741
|
-
| 'focus'
|
|
2742
2549
|
| 'delete'
|
|
2743
2550
|
| 'select'
|
|
2744
2551
|
| 'annotation.add'
|
|
2745
2552
|
| 'annotation.remove'
|
|
2746
2553
|
| 'block.set'
|
|
2747
2554
|
| 'block.unset'
|
|
2748
|
-
| 'blur'
|
|
2749
2555
|
| 'decorator.add'
|
|
2750
2556
|
| 'decorator.remove'
|
|
2751
2557
|
| 'delete.backward'
|
|
@@ -2767,14 +2573,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2767
2573
|
}
|
|
2768
2574
|
| {
|
|
2769
2575
|
type: StrictExtract<
|
|
2770
|
-
| 'focus'
|
|
2771
2576
|
| 'delete'
|
|
2772
2577
|
| 'select'
|
|
2773
2578
|
| 'annotation.add'
|
|
2774
2579
|
| 'annotation.remove'
|
|
2775
2580
|
| 'block.set'
|
|
2776
2581
|
| 'block.unset'
|
|
2777
|
-
| 'blur'
|
|
2778
2582
|
| 'decorator.add'
|
|
2779
2583
|
| 'decorator.remove'
|
|
2780
2584
|
| 'delete.backward'
|
|
@@ -2796,14 +2600,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2796
2600
|
}
|
|
2797
2601
|
| {
|
|
2798
2602
|
type: StrictExtract<
|
|
2799
|
-
| 'focus'
|
|
2800
2603
|
| 'delete'
|
|
2801
2604
|
| 'select'
|
|
2802
2605
|
| 'annotation.add'
|
|
2803
2606
|
| 'annotation.remove'
|
|
2804
2607
|
| 'block.set'
|
|
2805
2608
|
| 'block.unset'
|
|
2806
|
-
| 'blur'
|
|
2807
2609
|
| 'decorator.add'
|
|
2808
2610
|
| 'decorator.remove'
|
|
2809
2611
|
| 'delete.backward'
|
|
@@ -2826,14 +2628,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2826
2628
|
}
|
|
2827
2629
|
| {
|
|
2828
2630
|
type: StrictExtract<
|
|
2829
|
-
| 'focus'
|
|
2830
2631
|
| 'delete'
|
|
2831
2632
|
| 'select'
|
|
2832
2633
|
| 'annotation.add'
|
|
2833
2634
|
| 'annotation.remove'
|
|
2834
2635
|
| 'block.set'
|
|
2835
2636
|
| 'block.unset'
|
|
2836
|
-
| 'blur'
|
|
2837
2637
|
| 'decorator.add'
|
|
2838
2638
|
| 'decorator.remove'
|
|
2839
2639
|
| 'delete.backward'
|
|
@@ -2855,14 +2655,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2855
2655
|
}
|
|
2856
2656
|
| {
|
|
2857
2657
|
type: StrictExtract<
|
|
2858
|
-
| 'focus'
|
|
2859
2658
|
| 'delete'
|
|
2860
2659
|
| 'select'
|
|
2861
2660
|
| 'annotation.add'
|
|
2862
2661
|
| 'annotation.remove'
|
|
2863
2662
|
| 'block.set'
|
|
2864
2663
|
| 'block.unset'
|
|
2865
|
-
| 'blur'
|
|
2866
2664
|
| 'decorator.add'
|
|
2867
2665
|
| 'decorator.remove'
|
|
2868
2666
|
| 'delete.backward'
|
|
@@ -2884,14 +2682,12 @@ export declare function createCodeEditorBehaviors(
|
|
|
2884
2682
|
}
|
|
2885
2683
|
| {
|
|
2886
2684
|
type: StrictExtract<
|
|
2887
|
-
| 'focus'
|
|
2888
2685
|
| 'delete'
|
|
2889
2686
|
| 'select'
|
|
2890
2687
|
| 'annotation.add'
|
|
2891
2688
|
| 'annotation.remove'
|
|
2892
2689
|
| 'block.set'
|
|
2893
2690
|
| 'block.unset'
|
|
2894
|
-
| 'blur'
|
|
2895
2691
|
| 'decorator.add'
|
|
2896
2692
|
| 'decorator.remove'
|
|
2897
2693
|
| 'delete.backward'
|
|
@@ -3868,7 +3664,6 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3868
3664
|
| 'deserialize'
|
|
3869
3665
|
| 'deserialization.failure'
|
|
3870
3666
|
| 'deserialization.success'
|
|
3871
|
-
| 'focus'
|
|
3872
3667
|
| 'delete'
|
|
3873
3668
|
| 'select'
|
|
3874
3669
|
| '*'
|
|
@@ -3876,7 +3671,6 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3876
3671
|
| 'annotation.remove'
|
|
3877
3672
|
| 'block.set'
|
|
3878
3673
|
| 'block.unset'
|
|
3879
|
-
| 'blur'
|
|
3880
3674
|
| 'decorator.add'
|
|
3881
3675
|
| 'decorator.remove'
|
|
3882
3676
|
| 'delete.backward'
|
|
@@ -3922,14 +3716,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3922
3716
|
| 'serialize.*'
|
|
3923
3717
|
| 'deserialize.*'
|
|
3924
3718
|
| 'split.*'
|
|
3925
|
-
| 'focus.*'
|
|
3926
3719
|
| 'style.*'
|
|
3927
3720
|
| 'block.*'
|
|
3928
3721
|
| 'delete.*'
|
|
3929
3722
|
| 'move.*'
|
|
3930
3723
|
| 'select.*'
|
|
3931
3724
|
| 'history.*'
|
|
3932
|
-
| 'blur.*'
|
|
3933
3725
|
| 'annotation.*'
|
|
3934
3726
|
| 'decorator.*'
|
|
3935
3727
|
| 'insert.*'
|
|
@@ -3944,14 +3736,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3944
3736
|
true,
|
|
3945
3737
|
| {
|
|
3946
3738
|
type: StrictExtract<
|
|
3947
|
-
| 'focus'
|
|
3948
3739
|
| 'delete'
|
|
3949
3740
|
| 'select'
|
|
3950
3741
|
| 'annotation.add'
|
|
3951
3742
|
| 'annotation.remove'
|
|
3952
3743
|
| 'block.set'
|
|
3953
3744
|
| 'block.unset'
|
|
3954
|
-
| 'blur'
|
|
3955
3745
|
| 'decorator.add'
|
|
3956
3746
|
| 'decorator.remove'
|
|
3957
3747
|
| 'delete.backward'
|
|
@@ -3978,14 +3768,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3978
3768
|
}
|
|
3979
3769
|
| {
|
|
3980
3770
|
type: StrictExtract<
|
|
3981
|
-
| 'focus'
|
|
3982
3771
|
| 'delete'
|
|
3983
3772
|
| 'select'
|
|
3984
3773
|
| 'annotation.add'
|
|
3985
3774
|
| 'annotation.remove'
|
|
3986
3775
|
| 'block.set'
|
|
3987
3776
|
| 'block.unset'
|
|
3988
|
-
| 'blur'
|
|
3989
3777
|
| 'decorator.add'
|
|
3990
3778
|
| 'decorator.remove'
|
|
3991
3779
|
| 'delete.backward'
|
|
@@ -4009,14 +3797,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4009
3797
|
}
|
|
4010
3798
|
| {
|
|
4011
3799
|
type: StrictExtract<
|
|
4012
|
-
| 'focus'
|
|
4013
3800
|
| 'delete'
|
|
4014
3801
|
| 'select'
|
|
4015
3802
|
| 'annotation.add'
|
|
4016
3803
|
| 'annotation.remove'
|
|
4017
3804
|
| 'block.set'
|
|
4018
3805
|
| 'block.unset'
|
|
4019
|
-
| 'blur'
|
|
4020
3806
|
| 'decorator.add'
|
|
4021
3807
|
| 'decorator.remove'
|
|
4022
3808
|
| 'delete.backward'
|
|
@@ -4039,14 +3825,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4039
3825
|
}
|
|
4040
3826
|
| {
|
|
4041
3827
|
type: StrictExtract<
|
|
4042
|
-
| 'focus'
|
|
4043
3828
|
| 'delete'
|
|
4044
3829
|
| 'select'
|
|
4045
3830
|
| 'annotation.add'
|
|
4046
3831
|
| 'annotation.remove'
|
|
4047
3832
|
| 'block.set'
|
|
4048
3833
|
| 'block.unset'
|
|
4049
|
-
| 'blur'
|
|
4050
3834
|
| 'decorator.add'
|
|
4051
3835
|
| 'decorator.remove'
|
|
4052
3836
|
| 'delete.backward'
|
|
@@ -4069,42 +3853,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4069
3853
|
}
|
|
4070
3854
|
| {
|
|
4071
3855
|
type: StrictExtract<
|
|
4072
|
-
| 'focus'
|
|
4073
|
-
| 'delete'
|
|
4074
|
-
| 'select'
|
|
4075
|
-
| 'annotation.add'
|
|
4076
|
-
| 'annotation.remove'
|
|
4077
|
-
| 'block.set'
|
|
4078
|
-
| 'block.unset'
|
|
4079
|
-
| 'blur'
|
|
4080
|
-
| 'decorator.add'
|
|
4081
|
-
| 'decorator.remove'
|
|
4082
|
-
| 'delete.backward'
|
|
4083
|
-
| 'delete.block'
|
|
4084
|
-
| 'delete.forward'
|
|
4085
|
-
| 'history.redo'
|
|
4086
|
-
| 'history.undo'
|
|
4087
|
-
| 'insert.inline object'
|
|
4088
|
-
| 'insert.block'
|
|
4089
|
-
| 'insert.span'
|
|
4090
|
-
| 'insert.text'
|
|
4091
|
-
| 'move.backward'
|
|
4092
|
-
| 'move.block'
|
|
4093
|
-
| 'move.forward'
|
|
4094
|
-
| 'split.block',
|
|
4095
|
-
'blur'
|
|
4096
|
-
>
|
|
4097
|
-
}
|
|
4098
|
-
| {
|
|
4099
|
-
type: StrictExtract<
|
|
4100
|
-
| 'focus'
|
|
4101
3856
|
| 'delete'
|
|
4102
3857
|
| 'select'
|
|
4103
3858
|
| 'annotation.add'
|
|
4104
3859
|
| 'annotation.remove'
|
|
4105
3860
|
| 'block.set'
|
|
4106
3861
|
| 'block.unset'
|
|
4107
|
-
| 'blur'
|
|
4108
3862
|
| 'decorator.add'
|
|
4109
3863
|
| 'decorator.remove'
|
|
4110
3864
|
| 'delete.backward'
|
|
@@ -4130,14 +3884,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4130
3884
|
}
|
|
4131
3885
|
| {
|
|
4132
3886
|
type: StrictExtract<
|
|
4133
|
-
| 'focus'
|
|
4134
3887
|
| 'delete'
|
|
4135
3888
|
| 'select'
|
|
4136
3889
|
| 'annotation.add'
|
|
4137
3890
|
| 'annotation.remove'
|
|
4138
3891
|
| 'block.set'
|
|
4139
3892
|
| 'block.unset'
|
|
4140
|
-
| 'blur'
|
|
4141
3893
|
| 'decorator.add'
|
|
4142
3894
|
| 'decorator.remove'
|
|
4143
3895
|
| 'delete.backward'
|
|
@@ -4159,14 +3911,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4159
3911
|
}
|
|
4160
3912
|
| {
|
|
4161
3913
|
type: StrictExtract<
|
|
4162
|
-
| 'focus'
|
|
4163
3914
|
| 'delete'
|
|
4164
3915
|
| 'select'
|
|
4165
3916
|
| 'annotation.add'
|
|
4166
3917
|
| 'annotation.remove'
|
|
4167
3918
|
| 'block.set'
|
|
4168
3919
|
| 'block.unset'
|
|
4169
|
-
| 'blur'
|
|
4170
3920
|
| 'decorator.add'
|
|
4171
3921
|
| 'decorator.remove'
|
|
4172
3922
|
| 'delete.backward'
|
|
@@ -4188,14 +3938,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4188
3938
|
}
|
|
4189
3939
|
| {
|
|
4190
3940
|
type: StrictExtract<
|
|
4191
|
-
| 'focus'
|
|
4192
3941
|
| 'delete'
|
|
4193
3942
|
| 'select'
|
|
4194
3943
|
| 'annotation.add'
|
|
4195
3944
|
| 'annotation.remove'
|
|
4196
3945
|
| 'block.set'
|
|
4197
3946
|
| 'block.unset'
|
|
4198
|
-
| 'blur'
|
|
4199
3947
|
| 'decorator.add'
|
|
4200
3948
|
| 'decorator.remove'
|
|
4201
3949
|
| 'delete.backward'
|
|
@@ -4217,14 +3965,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4217
3965
|
}
|
|
4218
3966
|
| {
|
|
4219
3967
|
type: StrictExtract<
|
|
4220
|
-
| 'focus'
|
|
4221
3968
|
| 'delete'
|
|
4222
3969
|
| 'select'
|
|
4223
3970
|
| 'annotation.add'
|
|
4224
3971
|
| 'annotation.remove'
|
|
4225
3972
|
| 'block.set'
|
|
4226
3973
|
| 'block.unset'
|
|
4227
|
-
| 'blur'
|
|
4228
3974
|
| 'decorator.add'
|
|
4229
3975
|
| 'decorator.remove'
|
|
4230
3976
|
| 'delete.backward'
|
|
@@ -4246,14 +3992,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4246
3992
|
}
|
|
4247
3993
|
| {
|
|
4248
3994
|
type: StrictExtract<
|
|
4249
|
-
| 'focus'
|
|
4250
3995
|
| 'delete'
|
|
4251
3996
|
| 'select'
|
|
4252
3997
|
| 'annotation.add'
|
|
4253
3998
|
| 'annotation.remove'
|
|
4254
3999
|
| 'block.set'
|
|
4255
4000
|
| 'block.unset'
|
|
4256
|
-
| 'blur'
|
|
4257
4001
|
| 'decorator.add'
|
|
4258
4002
|
| 'decorator.remove'
|
|
4259
4003
|
| 'delete.backward'
|
|
@@ -4275,42 +4019,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4275
4019
|
}
|
|
4276
4020
|
| {
|
|
4277
4021
|
type: StrictExtract<
|
|
4278
|
-
| 'focus'
|
|
4279
|
-
| 'delete'
|
|
4280
|
-
| 'select'
|
|
4281
|
-
| 'annotation.add'
|
|
4282
|
-
| 'annotation.remove'
|
|
4283
|
-
| 'block.set'
|
|
4284
|
-
| 'block.unset'
|
|
4285
|
-
| 'blur'
|
|
4286
|
-
| 'decorator.add'
|
|
4287
|
-
| 'decorator.remove'
|
|
4288
|
-
| 'delete.backward'
|
|
4289
|
-
| 'delete.block'
|
|
4290
|
-
| 'delete.forward'
|
|
4291
|
-
| 'history.redo'
|
|
4292
|
-
| 'history.undo'
|
|
4293
|
-
| 'insert.inline object'
|
|
4294
|
-
| 'insert.block'
|
|
4295
|
-
| 'insert.span'
|
|
4296
|
-
| 'insert.text'
|
|
4297
|
-
| 'move.backward'
|
|
4298
|
-
| 'move.block'
|
|
4299
|
-
| 'move.forward'
|
|
4300
|
-
| 'split.block',
|
|
4301
|
-
'focus'
|
|
4302
|
-
>
|
|
4303
|
-
}
|
|
4304
|
-
| {
|
|
4305
|
-
type: StrictExtract<
|
|
4306
|
-
| 'focus'
|
|
4307
4022
|
| 'delete'
|
|
4308
4023
|
| 'select'
|
|
4309
4024
|
| 'annotation.add'
|
|
4310
4025
|
| 'annotation.remove'
|
|
4311
4026
|
| 'block.set'
|
|
4312
4027
|
| 'block.unset'
|
|
4313
|
-
| 'blur'
|
|
4314
4028
|
| 'decorator.add'
|
|
4315
4029
|
| 'decorator.remove'
|
|
4316
4030
|
| 'delete.backward'
|
|
@@ -4331,14 +4045,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4331
4045
|
}
|
|
4332
4046
|
| {
|
|
4333
4047
|
type: StrictExtract<
|
|
4334
|
-
| 'focus'
|
|
4335
4048
|
| 'delete'
|
|
4336
4049
|
| 'select'
|
|
4337
4050
|
| 'annotation.add'
|
|
4338
4051
|
| 'annotation.remove'
|
|
4339
4052
|
| 'block.set'
|
|
4340
4053
|
| 'block.unset'
|
|
4341
|
-
| 'blur'
|
|
4342
4054
|
| 'decorator.add'
|
|
4343
4055
|
| 'decorator.remove'
|
|
4344
4056
|
| 'delete.backward'
|
|
@@ -4359,14 +4071,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4359
4071
|
}
|
|
4360
4072
|
| {
|
|
4361
4073
|
type: StrictExtract<
|
|
4362
|
-
| 'focus'
|
|
4363
4074
|
| 'delete'
|
|
4364
4075
|
| 'select'
|
|
4365
4076
|
| 'annotation.add'
|
|
4366
4077
|
| 'annotation.remove'
|
|
4367
4078
|
| 'block.set'
|
|
4368
4079
|
| 'block.unset'
|
|
4369
|
-
| 'blur'
|
|
4370
4080
|
| 'decorator.add'
|
|
4371
4081
|
| 'decorator.remove'
|
|
4372
4082
|
| 'delete.backward'
|
|
@@ -4393,14 +4103,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4393
4103
|
}
|
|
4394
4104
|
| {
|
|
4395
4105
|
type: StrictExtract<
|
|
4396
|
-
| 'focus'
|
|
4397
4106
|
| 'delete'
|
|
4398
4107
|
| 'select'
|
|
4399
4108
|
| 'annotation.add'
|
|
4400
4109
|
| 'annotation.remove'
|
|
4401
4110
|
| 'block.set'
|
|
4402
4111
|
| 'block.unset'
|
|
4403
|
-
| 'blur'
|
|
4404
4112
|
| 'decorator.add'
|
|
4405
4113
|
| 'decorator.remove'
|
|
4406
4114
|
| 'delete.backward'
|
|
@@ -4424,14 +4132,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4424
4132
|
}
|
|
4425
4133
|
| {
|
|
4426
4134
|
type: StrictExtract<
|
|
4427
|
-
| 'focus'
|
|
4428
4135
|
| 'delete'
|
|
4429
4136
|
| 'select'
|
|
4430
4137
|
| 'annotation.add'
|
|
4431
4138
|
| 'annotation.remove'
|
|
4432
4139
|
| 'block.set'
|
|
4433
4140
|
| 'block.unset'
|
|
4434
|
-
| 'blur'
|
|
4435
4141
|
| 'decorator.add'
|
|
4436
4142
|
| 'decorator.remove'
|
|
4437
4143
|
| 'delete.backward'
|
|
@@ -4460,14 +4166,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4460
4166
|
}
|
|
4461
4167
|
| {
|
|
4462
4168
|
type: StrictExtract<
|
|
4463
|
-
| 'focus'
|
|
4464
4169
|
| 'delete'
|
|
4465
4170
|
| 'select'
|
|
4466
4171
|
| 'annotation.add'
|
|
4467
4172
|
| 'annotation.remove'
|
|
4468
4173
|
| 'block.set'
|
|
4469
4174
|
| 'block.unset'
|
|
4470
|
-
| 'blur'
|
|
4471
4175
|
| 'decorator.add'
|
|
4472
4176
|
| 'decorator.remove'
|
|
4473
4177
|
| 'delete.backward'
|
|
@@ -4489,14 +4193,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4489
4193
|
}
|
|
4490
4194
|
| {
|
|
4491
4195
|
type: StrictExtract<
|
|
4492
|
-
| 'focus'
|
|
4493
4196
|
| 'delete'
|
|
4494
4197
|
| 'select'
|
|
4495
4198
|
| 'annotation.add'
|
|
4496
4199
|
| 'annotation.remove'
|
|
4497
4200
|
| 'block.set'
|
|
4498
4201
|
| 'block.unset'
|
|
4499
|
-
| 'blur'
|
|
4500
4202
|
| 'decorator.add'
|
|
4501
4203
|
| 'decorator.remove'
|
|
4502
4204
|
| 'delete.backward'
|
|
@@ -4518,14 +4220,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4518
4220
|
}
|
|
4519
4221
|
| {
|
|
4520
4222
|
type: StrictExtract<
|
|
4521
|
-
| 'focus'
|
|
4522
4223
|
| 'delete'
|
|
4523
4224
|
| 'select'
|
|
4524
4225
|
| 'annotation.add'
|
|
4525
4226
|
| 'annotation.remove'
|
|
4526
4227
|
| 'block.set'
|
|
4527
4228
|
| 'block.unset'
|
|
4528
|
-
| 'blur'
|
|
4529
4229
|
| 'decorator.add'
|
|
4530
4230
|
| 'decorator.remove'
|
|
4531
4231
|
| 'delete.backward'
|
|
@@ -4548,14 +4248,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4548
4248
|
}
|
|
4549
4249
|
| {
|
|
4550
4250
|
type: StrictExtract<
|
|
4551
|
-
| 'focus'
|
|
4552
4251
|
| 'delete'
|
|
4553
4252
|
| 'select'
|
|
4554
4253
|
| 'annotation.add'
|
|
4555
4254
|
| 'annotation.remove'
|
|
4556
4255
|
| 'block.set'
|
|
4557
4256
|
| 'block.unset'
|
|
4558
|
-
| 'blur'
|
|
4559
4257
|
| 'decorator.add'
|
|
4560
4258
|
| 'decorator.remove'
|
|
4561
4259
|
| 'delete.backward'
|
|
@@ -4577,14 +4275,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4577
4275
|
}
|
|
4578
4276
|
| {
|
|
4579
4277
|
type: StrictExtract<
|
|
4580
|
-
| 'focus'
|
|
4581
4278
|
| 'delete'
|
|
4582
4279
|
| 'select'
|
|
4583
4280
|
| 'annotation.add'
|
|
4584
4281
|
| 'annotation.remove'
|
|
4585
4282
|
| 'block.set'
|
|
4586
4283
|
| 'block.unset'
|
|
4587
|
-
| 'blur'
|
|
4588
4284
|
| 'decorator.add'
|
|
4589
4285
|
| 'decorator.remove'
|
|
4590
4286
|
| 'delete.backward'
|
|
@@ -4606,14 +4302,12 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
4606
4302
|
}
|
|
4607
4303
|
| {
|
|
4608
4304
|
type: StrictExtract<
|
|
4609
|
-
| 'focus'
|
|
4610
4305
|
| 'delete'
|
|
4611
4306
|
| 'select'
|
|
4612
4307
|
| 'annotation.add'
|
|
4613
4308
|
| 'annotation.remove'
|
|
4614
4309
|
| 'block.set'
|
|
4615
4310
|
| 'block.unset'
|
|
4616
|
-
| 'blur'
|
|
4617
4311
|
| 'decorator.add'
|
|
4618
4312
|
| 'decorator.remove'
|
|
4619
4313
|
| 'delete.backward'
|
|
@@ -5590,7 +5284,6 @@ export declare function createLinkBehaviors(
|
|
|
5590
5284
|
| 'deserialize'
|
|
5591
5285
|
| 'deserialization.failure'
|
|
5592
5286
|
| 'deserialization.success'
|
|
5593
|
-
| 'focus'
|
|
5594
5287
|
| 'delete'
|
|
5595
5288
|
| 'select'
|
|
5596
5289
|
| '*'
|
|
@@ -5598,7 +5291,6 @@ export declare function createLinkBehaviors(
|
|
|
5598
5291
|
| 'annotation.remove'
|
|
5599
5292
|
| 'block.set'
|
|
5600
5293
|
| 'block.unset'
|
|
5601
|
-
| 'blur'
|
|
5602
5294
|
| 'decorator.add'
|
|
5603
5295
|
| 'decorator.remove'
|
|
5604
5296
|
| 'delete.backward'
|
|
@@ -5644,14 +5336,12 @@ export declare function createLinkBehaviors(
|
|
|
5644
5336
|
| 'serialize.*'
|
|
5645
5337
|
| 'deserialize.*'
|
|
5646
5338
|
| 'split.*'
|
|
5647
|
-
| 'focus.*'
|
|
5648
5339
|
| 'style.*'
|
|
5649
5340
|
| 'block.*'
|
|
5650
5341
|
| 'delete.*'
|
|
5651
5342
|
| 'move.*'
|
|
5652
5343
|
| 'select.*'
|
|
5653
5344
|
| 'history.*'
|
|
5654
|
-
| 'blur.*'
|
|
5655
5345
|
| 'annotation.*'
|
|
5656
5346
|
| 'decorator.*'
|
|
5657
5347
|
| 'insert.*'
|
|
@@ -5666,14 +5356,12 @@ export declare function createLinkBehaviors(
|
|
|
5666
5356
|
true,
|
|
5667
5357
|
| {
|
|
5668
5358
|
type: StrictExtract<
|
|
5669
|
-
| 'focus'
|
|
5670
5359
|
| 'delete'
|
|
5671
5360
|
| 'select'
|
|
5672
5361
|
| 'annotation.add'
|
|
5673
5362
|
| 'annotation.remove'
|
|
5674
5363
|
| 'block.set'
|
|
5675
5364
|
| 'block.unset'
|
|
5676
|
-
| 'blur'
|
|
5677
5365
|
| 'decorator.add'
|
|
5678
5366
|
| 'decorator.remove'
|
|
5679
5367
|
| 'delete.backward'
|
|
@@ -5700,14 +5388,12 @@ export declare function createLinkBehaviors(
|
|
|
5700
5388
|
}
|
|
5701
5389
|
| {
|
|
5702
5390
|
type: StrictExtract<
|
|
5703
|
-
| 'focus'
|
|
5704
5391
|
| 'delete'
|
|
5705
5392
|
| 'select'
|
|
5706
5393
|
| 'annotation.add'
|
|
5707
5394
|
| 'annotation.remove'
|
|
5708
5395
|
| 'block.set'
|
|
5709
5396
|
| 'block.unset'
|
|
5710
|
-
| 'blur'
|
|
5711
5397
|
| 'decorator.add'
|
|
5712
5398
|
| 'decorator.remove'
|
|
5713
5399
|
| 'delete.backward'
|
|
@@ -5731,14 +5417,12 @@ export declare function createLinkBehaviors(
|
|
|
5731
5417
|
}
|
|
5732
5418
|
| {
|
|
5733
5419
|
type: StrictExtract<
|
|
5734
|
-
| 'focus'
|
|
5735
5420
|
| 'delete'
|
|
5736
5421
|
| 'select'
|
|
5737
5422
|
| 'annotation.add'
|
|
5738
5423
|
| 'annotation.remove'
|
|
5739
5424
|
| 'block.set'
|
|
5740
5425
|
| 'block.unset'
|
|
5741
|
-
| 'blur'
|
|
5742
5426
|
| 'decorator.add'
|
|
5743
5427
|
| 'decorator.remove'
|
|
5744
5428
|
| 'delete.backward'
|
|
@@ -5761,14 +5445,12 @@ export declare function createLinkBehaviors(
|
|
|
5761
5445
|
}
|
|
5762
5446
|
| {
|
|
5763
5447
|
type: StrictExtract<
|
|
5764
|
-
| 'focus'
|
|
5765
5448
|
| 'delete'
|
|
5766
5449
|
| 'select'
|
|
5767
5450
|
| 'annotation.add'
|
|
5768
5451
|
| 'annotation.remove'
|
|
5769
5452
|
| 'block.set'
|
|
5770
5453
|
| 'block.unset'
|
|
5771
|
-
| 'blur'
|
|
5772
5454
|
| 'decorator.add'
|
|
5773
5455
|
| 'decorator.remove'
|
|
5774
5456
|
| 'delete.backward'
|
|
@@ -5791,42 +5473,12 @@ export declare function createLinkBehaviors(
|
|
|
5791
5473
|
}
|
|
5792
5474
|
| {
|
|
5793
5475
|
type: StrictExtract<
|
|
5794
|
-
| 'focus'
|
|
5795
|
-
| 'delete'
|
|
5796
|
-
| 'select'
|
|
5797
|
-
| 'annotation.add'
|
|
5798
|
-
| 'annotation.remove'
|
|
5799
|
-
| 'block.set'
|
|
5800
|
-
| 'block.unset'
|
|
5801
|
-
| 'blur'
|
|
5802
|
-
| 'decorator.add'
|
|
5803
|
-
| 'decorator.remove'
|
|
5804
|
-
| 'delete.backward'
|
|
5805
|
-
| 'delete.block'
|
|
5806
|
-
| 'delete.forward'
|
|
5807
|
-
| 'history.redo'
|
|
5808
|
-
| 'history.undo'
|
|
5809
|
-
| 'insert.inline object'
|
|
5810
|
-
| 'insert.block'
|
|
5811
|
-
| 'insert.span'
|
|
5812
|
-
| 'insert.text'
|
|
5813
|
-
| 'move.backward'
|
|
5814
|
-
| 'move.block'
|
|
5815
|
-
| 'move.forward'
|
|
5816
|
-
| 'split.block',
|
|
5817
|
-
'blur'
|
|
5818
|
-
>
|
|
5819
|
-
}
|
|
5820
|
-
| {
|
|
5821
|
-
type: StrictExtract<
|
|
5822
|
-
| 'focus'
|
|
5823
5476
|
| 'delete'
|
|
5824
5477
|
| 'select'
|
|
5825
5478
|
| 'annotation.add'
|
|
5826
5479
|
| 'annotation.remove'
|
|
5827
5480
|
| 'block.set'
|
|
5828
5481
|
| 'block.unset'
|
|
5829
|
-
| 'blur'
|
|
5830
5482
|
| 'decorator.add'
|
|
5831
5483
|
| 'decorator.remove'
|
|
5832
5484
|
| 'delete.backward'
|
|
@@ -5852,14 +5504,12 @@ export declare function createLinkBehaviors(
|
|
|
5852
5504
|
}
|
|
5853
5505
|
| {
|
|
5854
5506
|
type: StrictExtract<
|
|
5855
|
-
| 'focus'
|
|
5856
5507
|
| 'delete'
|
|
5857
5508
|
| 'select'
|
|
5858
5509
|
| 'annotation.add'
|
|
5859
5510
|
| 'annotation.remove'
|
|
5860
5511
|
| 'block.set'
|
|
5861
5512
|
| 'block.unset'
|
|
5862
|
-
| 'blur'
|
|
5863
5513
|
| 'decorator.add'
|
|
5864
5514
|
| 'decorator.remove'
|
|
5865
5515
|
| 'delete.backward'
|
|
@@ -5881,14 +5531,12 @@ export declare function createLinkBehaviors(
|
|
|
5881
5531
|
}
|
|
5882
5532
|
| {
|
|
5883
5533
|
type: StrictExtract<
|
|
5884
|
-
| 'focus'
|
|
5885
5534
|
| 'delete'
|
|
5886
5535
|
| 'select'
|
|
5887
5536
|
| 'annotation.add'
|
|
5888
5537
|
| 'annotation.remove'
|
|
5889
5538
|
| 'block.set'
|
|
5890
5539
|
| 'block.unset'
|
|
5891
|
-
| 'blur'
|
|
5892
5540
|
| 'decorator.add'
|
|
5893
5541
|
| 'decorator.remove'
|
|
5894
5542
|
| 'delete.backward'
|
|
@@ -5910,14 +5558,12 @@ export declare function createLinkBehaviors(
|
|
|
5910
5558
|
}
|
|
5911
5559
|
| {
|
|
5912
5560
|
type: StrictExtract<
|
|
5913
|
-
| 'focus'
|
|
5914
5561
|
| 'delete'
|
|
5915
5562
|
| 'select'
|
|
5916
5563
|
| 'annotation.add'
|
|
5917
5564
|
| 'annotation.remove'
|
|
5918
5565
|
| 'block.set'
|
|
5919
5566
|
| 'block.unset'
|
|
5920
|
-
| 'blur'
|
|
5921
5567
|
| 'decorator.add'
|
|
5922
5568
|
| 'decorator.remove'
|
|
5923
5569
|
| 'delete.backward'
|
|
@@ -5939,14 +5585,12 @@ export declare function createLinkBehaviors(
|
|
|
5939
5585
|
}
|
|
5940
5586
|
| {
|
|
5941
5587
|
type: StrictExtract<
|
|
5942
|
-
| 'focus'
|
|
5943
5588
|
| 'delete'
|
|
5944
5589
|
| 'select'
|
|
5945
5590
|
| 'annotation.add'
|
|
5946
5591
|
| 'annotation.remove'
|
|
5947
5592
|
| 'block.set'
|
|
5948
5593
|
| 'block.unset'
|
|
5949
|
-
| 'blur'
|
|
5950
5594
|
| 'decorator.add'
|
|
5951
5595
|
| 'decorator.remove'
|
|
5952
5596
|
| 'delete.backward'
|
|
@@ -5968,14 +5612,12 @@ export declare function createLinkBehaviors(
|
|
|
5968
5612
|
}
|
|
5969
5613
|
| {
|
|
5970
5614
|
type: StrictExtract<
|
|
5971
|
-
| 'focus'
|
|
5972
5615
|
| 'delete'
|
|
5973
5616
|
| 'select'
|
|
5974
5617
|
| 'annotation.add'
|
|
5975
5618
|
| 'annotation.remove'
|
|
5976
5619
|
| 'block.set'
|
|
5977
5620
|
| 'block.unset'
|
|
5978
|
-
| 'blur'
|
|
5979
5621
|
| 'decorator.add'
|
|
5980
5622
|
| 'decorator.remove'
|
|
5981
5623
|
| 'delete.backward'
|
|
@@ -5997,42 +5639,12 @@ export declare function createLinkBehaviors(
|
|
|
5997
5639
|
}
|
|
5998
5640
|
| {
|
|
5999
5641
|
type: StrictExtract<
|
|
6000
|
-
| 'focus'
|
|
6001
|
-
| 'delete'
|
|
6002
|
-
| 'select'
|
|
6003
|
-
| 'annotation.add'
|
|
6004
|
-
| 'annotation.remove'
|
|
6005
|
-
| 'block.set'
|
|
6006
|
-
| 'block.unset'
|
|
6007
|
-
| 'blur'
|
|
6008
|
-
| 'decorator.add'
|
|
6009
|
-
| 'decorator.remove'
|
|
6010
|
-
| 'delete.backward'
|
|
6011
|
-
| 'delete.block'
|
|
6012
|
-
| 'delete.forward'
|
|
6013
|
-
| 'history.redo'
|
|
6014
|
-
| 'history.undo'
|
|
6015
|
-
| 'insert.inline object'
|
|
6016
|
-
| 'insert.block'
|
|
6017
|
-
| 'insert.span'
|
|
6018
|
-
| 'insert.text'
|
|
6019
|
-
| 'move.backward'
|
|
6020
|
-
| 'move.block'
|
|
6021
|
-
| 'move.forward'
|
|
6022
|
-
| 'split.block',
|
|
6023
|
-
'focus'
|
|
6024
|
-
>
|
|
6025
|
-
}
|
|
6026
|
-
| {
|
|
6027
|
-
type: StrictExtract<
|
|
6028
|
-
| 'focus'
|
|
6029
5642
|
| 'delete'
|
|
6030
5643
|
| 'select'
|
|
6031
5644
|
| 'annotation.add'
|
|
6032
5645
|
| 'annotation.remove'
|
|
6033
5646
|
| 'block.set'
|
|
6034
5647
|
| 'block.unset'
|
|
6035
|
-
| 'blur'
|
|
6036
5648
|
| 'decorator.add'
|
|
6037
5649
|
| 'decorator.remove'
|
|
6038
5650
|
| 'delete.backward'
|
|
@@ -6053,14 +5665,12 @@ export declare function createLinkBehaviors(
|
|
|
6053
5665
|
}
|
|
6054
5666
|
| {
|
|
6055
5667
|
type: StrictExtract<
|
|
6056
|
-
| 'focus'
|
|
6057
5668
|
| 'delete'
|
|
6058
5669
|
| 'select'
|
|
6059
5670
|
| 'annotation.add'
|
|
6060
5671
|
| 'annotation.remove'
|
|
6061
5672
|
| 'block.set'
|
|
6062
5673
|
| 'block.unset'
|
|
6063
|
-
| 'blur'
|
|
6064
5674
|
| 'decorator.add'
|
|
6065
5675
|
| 'decorator.remove'
|
|
6066
5676
|
| 'delete.backward'
|
|
@@ -6081,14 +5691,12 @@ export declare function createLinkBehaviors(
|
|
|
6081
5691
|
}
|
|
6082
5692
|
| {
|
|
6083
5693
|
type: StrictExtract<
|
|
6084
|
-
| 'focus'
|
|
6085
5694
|
| 'delete'
|
|
6086
5695
|
| 'select'
|
|
6087
5696
|
| 'annotation.add'
|
|
6088
5697
|
| 'annotation.remove'
|
|
6089
5698
|
| 'block.set'
|
|
6090
5699
|
| 'block.unset'
|
|
6091
|
-
| 'blur'
|
|
6092
5700
|
| 'decorator.add'
|
|
6093
5701
|
| 'decorator.remove'
|
|
6094
5702
|
| 'delete.backward'
|
|
@@ -6115,14 +5723,12 @@ export declare function createLinkBehaviors(
|
|
|
6115
5723
|
}
|
|
6116
5724
|
| {
|
|
6117
5725
|
type: StrictExtract<
|
|
6118
|
-
| 'focus'
|
|
6119
5726
|
| 'delete'
|
|
6120
5727
|
| 'select'
|
|
6121
5728
|
| 'annotation.add'
|
|
6122
5729
|
| 'annotation.remove'
|
|
6123
5730
|
| 'block.set'
|
|
6124
5731
|
| 'block.unset'
|
|
6125
|
-
| 'blur'
|
|
6126
5732
|
| 'decorator.add'
|
|
6127
5733
|
| 'decorator.remove'
|
|
6128
5734
|
| 'delete.backward'
|
|
@@ -6146,14 +5752,12 @@ export declare function createLinkBehaviors(
|
|
|
6146
5752
|
}
|
|
6147
5753
|
| {
|
|
6148
5754
|
type: StrictExtract<
|
|
6149
|
-
| 'focus'
|
|
6150
5755
|
| 'delete'
|
|
6151
5756
|
| 'select'
|
|
6152
5757
|
| 'annotation.add'
|
|
6153
5758
|
| 'annotation.remove'
|
|
6154
5759
|
| 'block.set'
|
|
6155
5760
|
| 'block.unset'
|
|
6156
|
-
| 'blur'
|
|
6157
5761
|
| 'decorator.add'
|
|
6158
5762
|
| 'decorator.remove'
|
|
6159
5763
|
| 'delete.backward'
|
|
@@ -6182,14 +5786,12 @@ export declare function createLinkBehaviors(
|
|
|
6182
5786
|
}
|
|
6183
5787
|
| {
|
|
6184
5788
|
type: StrictExtract<
|
|
6185
|
-
| 'focus'
|
|
6186
5789
|
| 'delete'
|
|
6187
5790
|
| 'select'
|
|
6188
5791
|
| 'annotation.add'
|
|
6189
5792
|
| 'annotation.remove'
|
|
6190
5793
|
| 'block.set'
|
|
6191
5794
|
| 'block.unset'
|
|
6192
|
-
| 'blur'
|
|
6193
5795
|
| 'decorator.add'
|
|
6194
5796
|
| 'decorator.remove'
|
|
6195
5797
|
| 'delete.backward'
|
|
@@ -6211,14 +5813,12 @@ export declare function createLinkBehaviors(
|
|
|
6211
5813
|
}
|
|
6212
5814
|
| {
|
|
6213
5815
|
type: StrictExtract<
|
|
6214
|
-
| 'focus'
|
|
6215
5816
|
| 'delete'
|
|
6216
5817
|
| 'select'
|
|
6217
5818
|
| 'annotation.add'
|
|
6218
5819
|
| 'annotation.remove'
|
|
6219
5820
|
| 'block.set'
|
|
6220
5821
|
| 'block.unset'
|
|
6221
|
-
| 'blur'
|
|
6222
5822
|
| 'decorator.add'
|
|
6223
5823
|
| 'decorator.remove'
|
|
6224
5824
|
| 'delete.backward'
|
|
@@ -6240,14 +5840,12 @@ export declare function createLinkBehaviors(
|
|
|
6240
5840
|
}
|
|
6241
5841
|
| {
|
|
6242
5842
|
type: StrictExtract<
|
|
6243
|
-
| 'focus'
|
|
6244
5843
|
| 'delete'
|
|
6245
5844
|
| 'select'
|
|
6246
5845
|
| 'annotation.add'
|
|
6247
5846
|
| 'annotation.remove'
|
|
6248
5847
|
| 'block.set'
|
|
6249
5848
|
| 'block.unset'
|
|
6250
|
-
| 'blur'
|
|
6251
5849
|
| 'decorator.add'
|
|
6252
5850
|
| 'decorator.remove'
|
|
6253
5851
|
| 'delete.backward'
|
|
@@ -6270,14 +5868,12 @@ export declare function createLinkBehaviors(
|
|
|
6270
5868
|
}
|
|
6271
5869
|
| {
|
|
6272
5870
|
type: StrictExtract<
|
|
6273
|
-
| 'focus'
|
|
6274
5871
|
| 'delete'
|
|
6275
5872
|
| 'select'
|
|
6276
5873
|
| 'annotation.add'
|
|
6277
5874
|
| 'annotation.remove'
|
|
6278
5875
|
| 'block.set'
|
|
6279
5876
|
| 'block.unset'
|
|
6280
|
-
| 'blur'
|
|
6281
5877
|
| 'decorator.add'
|
|
6282
5878
|
| 'decorator.remove'
|
|
6283
5879
|
| 'delete.backward'
|
|
@@ -6299,14 +5895,12 @@ export declare function createLinkBehaviors(
|
|
|
6299
5895
|
}
|
|
6300
5896
|
| {
|
|
6301
5897
|
type: StrictExtract<
|
|
6302
|
-
| 'focus'
|
|
6303
5898
|
| 'delete'
|
|
6304
5899
|
| 'select'
|
|
6305
5900
|
| 'annotation.add'
|
|
6306
5901
|
| 'annotation.remove'
|
|
6307
5902
|
| 'block.set'
|
|
6308
5903
|
| 'block.unset'
|
|
6309
|
-
| 'blur'
|
|
6310
5904
|
| 'decorator.add'
|
|
6311
5905
|
| 'decorator.remove'
|
|
6312
5906
|
| 'delete.backward'
|
|
@@ -6328,14 +5922,12 @@ export declare function createLinkBehaviors(
|
|
|
6328
5922
|
}
|
|
6329
5923
|
| {
|
|
6330
5924
|
type: StrictExtract<
|
|
6331
|
-
| 'focus'
|
|
6332
5925
|
| 'delete'
|
|
6333
5926
|
| 'select'
|
|
6334
5927
|
| 'annotation.add'
|
|
6335
5928
|
| 'annotation.remove'
|
|
6336
5929
|
| 'block.set'
|
|
6337
5930
|
| 'block.unset'
|
|
6338
|
-
| 'blur'
|
|
6339
5931
|
| 'decorator.add'
|
|
6340
5932
|
| 'decorator.remove'
|
|
6341
5933
|
| 'delete.backward'
|
|
@@ -7354,7 +6946,6 @@ export declare function createMarkdownBehaviors(
|
|
|
7354
6946
|
| 'deserialize'
|
|
7355
6947
|
| 'deserialization.failure'
|
|
7356
6948
|
| 'deserialization.success'
|
|
7357
|
-
| 'focus'
|
|
7358
6949
|
| 'delete'
|
|
7359
6950
|
| 'select'
|
|
7360
6951
|
| '*'
|
|
@@ -7362,7 +6953,6 @@ export declare function createMarkdownBehaviors(
|
|
|
7362
6953
|
| 'annotation.remove'
|
|
7363
6954
|
| 'block.set'
|
|
7364
6955
|
| 'block.unset'
|
|
7365
|
-
| 'blur'
|
|
7366
6956
|
| 'decorator.add'
|
|
7367
6957
|
| 'decorator.remove'
|
|
7368
6958
|
| 'delete.backward'
|
|
@@ -7408,14 +6998,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7408
6998
|
| 'serialize.*'
|
|
7409
6999
|
| 'deserialize.*'
|
|
7410
7000
|
| 'split.*'
|
|
7411
|
-
| 'focus.*'
|
|
7412
7001
|
| 'style.*'
|
|
7413
7002
|
| 'block.*'
|
|
7414
7003
|
| 'delete.*'
|
|
7415
7004
|
| 'move.*'
|
|
7416
7005
|
| 'select.*'
|
|
7417
7006
|
| 'history.*'
|
|
7418
|
-
| 'blur.*'
|
|
7419
7007
|
| 'annotation.*'
|
|
7420
7008
|
| 'decorator.*'
|
|
7421
7009
|
| 'insert.*'
|
|
@@ -7430,14 +7018,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7430
7018
|
true,
|
|
7431
7019
|
| {
|
|
7432
7020
|
type: StrictExtract<
|
|
7433
|
-
| 'focus'
|
|
7434
7021
|
| 'delete'
|
|
7435
7022
|
| 'select'
|
|
7436
7023
|
| 'annotation.add'
|
|
7437
7024
|
| 'annotation.remove'
|
|
7438
7025
|
| 'block.set'
|
|
7439
7026
|
| 'block.unset'
|
|
7440
|
-
| 'blur'
|
|
7441
7027
|
| 'decorator.add'
|
|
7442
7028
|
| 'decorator.remove'
|
|
7443
7029
|
| 'delete.backward'
|
|
@@ -7464,14 +7050,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7464
7050
|
}
|
|
7465
7051
|
| {
|
|
7466
7052
|
type: StrictExtract<
|
|
7467
|
-
| 'focus'
|
|
7468
7053
|
| 'delete'
|
|
7469
7054
|
| 'select'
|
|
7470
7055
|
| 'annotation.add'
|
|
7471
7056
|
| 'annotation.remove'
|
|
7472
7057
|
| 'block.set'
|
|
7473
7058
|
| 'block.unset'
|
|
7474
|
-
| 'blur'
|
|
7475
7059
|
| 'decorator.add'
|
|
7476
7060
|
| 'decorator.remove'
|
|
7477
7061
|
| 'delete.backward'
|
|
@@ -7495,14 +7079,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7495
7079
|
}
|
|
7496
7080
|
| {
|
|
7497
7081
|
type: StrictExtract<
|
|
7498
|
-
| 'focus'
|
|
7499
7082
|
| 'delete'
|
|
7500
7083
|
| 'select'
|
|
7501
7084
|
| 'annotation.add'
|
|
7502
7085
|
| 'annotation.remove'
|
|
7503
7086
|
| 'block.set'
|
|
7504
7087
|
| 'block.unset'
|
|
7505
|
-
| 'blur'
|
|
7506
7088
|
| 'decorator.add'
|
|
7507
7089
|
| 'decorator.remove'
|
|
7508
7090
|
| 'delete.backward'
|
|
@@ -7525,14 +7107,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7525
7107
|
}
|
|
7526
7108
|
| {
|
|
7527
7109
|
type: StrictExtract<
|
|
7528
|
-
| 'focus'
|
|
7529
7110
|
| 'delete'
|
|
7530
7111
|
| 'select'
|
|
7531
7112
|
| 'annotation.add'
|
|
7532
7113
|
| 'annotation.remove'
|
|
7533
7114
|
| 'block.set'
|
|
7534
7115
|
| 'block.unset'
|
|
7535
|
-
| 'blur'
|
|
7536
7116
|
| 'decorator.add'
|
|
7537
7117
|
| 'decorator.remove'
|
|
7538
7118
|
| 'delete.backward'
|
|
@@ -7555,42 +7135,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7555
7135
|
}
|
|
7556
7136
|
| {
|
|
7557
7137
|
type: StrictExtract<
|
|
7558
|
-
| 'focus'
|
|
7559
|
-
| 'delete'
|
|
7560
|
-
| 'select'
|
|
7561
|
-
| 'annotation.add'
|
|
7562
|
-
| 'annotation.remove'
|
|
7563
|
-
| 'block.set'
|
|
7564
|
-
| 'block.unset'
|
|
7565
|
-
| 'blur'
|
|
7566
|
-
| 'decorator.add'
|
|
7567
|
-
| 'decorator.remove'
|
|
7568
|
-
| 'delete.backward'
|
|
7569
|
-
| 'delete.block'
|
|
7570
|
-
| 'delete.forward'
|
|
7571
|
-
| 'history.redo'
|
|
7572
|
-
| 'history.undo'
|
|
7573
|
-
| 'insert.inline object'
|
|
7574
|
-
| 'insert.block'
|
|
7575
|
-
| 'insert.span'
|
|
7576
|
-
| 'insert.text'
|
|
7577
|
-
| 'move.backward'
|
|
7578
|
-
| 'move.block'
|
|
7579
|
-
| 'move.forward'
|
|
7580
|
-
| 'split.block',
|
|
7581
|
-
'blur'
|
|
7582
|
-
>
|
|
7583
|
-
}
|
|
7584
|
-
| {
|
|
7585
|
-
type: StrictExtract<
|
|
7586
|
-
| 'focus'
|
|
7587
7138
|
| 'delete'
|
|
7588
7139
|
| 'select'
|
|
7589
7140
|
| 'annotation.add'
|
|
7590
7141
|
| 'annotation.remove'
|
|
7591
7142
|
| 'block.set'
|
|
7592
7143
|
| 'block.unset'
|
|
7593
|
-
| 'blur'
|
|
7594
7144
|
| 'decorator.add'
|
|
7595
7145
|
| 'decorator.remove'
|
|
7596
7146
|
| 'delete.backward'
|
|
@@ -7616,14 +7166,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7616
7166
|
}
|
|
7617
7167
|
| {
|
|
7618
7168
|
type: StrictExtract<
|
|
7619
|
-
| 'focus'
|
|
7620
7169
|
| 'delete'
|
|
7621
7170
|
| 'select'
|
|
7622
7171
|
| 'annotation.add'
|
|
7623
7172
|
| 'annotation.remove'
|
|
7624
7173
|
| 'block.set'
|
|
7625
7174
|
| 'block.unset'
|
|
7626
|
-
| 'blur'
|
|
7627
7175
|
| 'decorator.add'
|
|
7628
7176
|
| 'decorator.remove'
|
|
7629
7177
|
| 'delete.backward'
|
|
@@ -7645,14 +7193,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7645
7193
|
}
|
|
7646
7194
|
| {
|
|
7647
7195
|
type: StrictExtract<
|
|
7648
|
-
| 'focus'
|
|
7649
7196
|
| 'delete'
|
|
7650
7197
|
| 'select'
|
|
7651
7198
|
| 'annotation.add'
|
|
7652
7199
|
| 'annotation.remove'
|
|
7653
7200
|
| 'block.set'
|
|
7654
7201
|
| 'block.unset'
|
|
7655
|
-
| 'blur'
|
|
7656
7202
|
| 'decorator.add'
|
|
7657
7203
|
| 'decorator.remove'
|
|
7658
7204
|
| 'delete.backward'
|
|
@@ -7674,14 +7220,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7674
7220
|
}
|
|
7675
7221
|
| {
|
|
7676
7222
|
type: StrictExtract<
|
|
7677
|
-
| 'focus'
|
|
7678
7223
|
| 'delete'
|
|
7679
7224
|
| 'select'
|
|
7680
7225
|
| 'annotation.add'
|
|
7681
7226
|
| 'annotation.remove'
|
|
7682
7227
|
| 'block.set'
|
|
7683
7228
|
| 'block.unset'
|
|
7684
|
-
| 'blur'
|
|
7685
7229
|
| 'decorator.add'
|
|
7686
7230
|
| 'decorator.remove'
|
|
7687
7231
|
| 'delete.backward'
|
|
@@ -7703,14 +7247,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7703
7247
|
}
|
|
7704
7248
|
| {
|
|
7705
7249
|
type: StrictExtract<
|
|
7706
|
-
| 'focus'
|
|
7707
7250
|
| 'delete'
|
|
7708
7251
|
| 'select'
|
|
7709
7252
|
| 'annotation.add'
|
|
7710
7253
|
| 'annotation.remove'
|
|
7711
7254
|
| 'block.set'
|
|
7712
7255
|
| 'block.unset'
|
|
7713
|
-
| 'blur'
|
|
7714
7256
|
| 'decorator.add'
|
|
7715
7257
|
| 'decorator.remove'
|
|
7716
7258
|
| 'delete.backward'
|
|
@@ -7732,14 +7274,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7732
7274
|
}
|
|
7733
7275
|
| {
|
|
7734
7276
|
type: StrictExtract<
|
|
7735
|
-
| 'focus'
|
|
7736
7277
|
| 'delete'
|
|
7737
7278
|
| 'select'
|
|
7738
7279
|
| 'annotation.add'
|
|
7739
7280
|
| 'annotation.remove'
|
|
7740
7281
|
| 'block.set'
|
|
7741
7282
|
| 'block.unset'
|
|
7742
|
-
| 'blur'
|
|
7743
7283
|
| 'decorator.add'
|
|
7744
7284
|
| 'decorator.remove'
|
|
7745
7285
|
| 'delete.backward'
|
|
@@ -7761,42 +7301,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7761
7301
|
}
|
|
7762
7302
|
| {
|
|
7763
7303
|
type: StrictExtract<
|
|
7764
|
-
| 'focus'
|
|
7765
|
-
| 'delete'
|
|
7766
|
-
| 'select'
|
|
7767
|
-
| 'annotation.add'
|
|
7768
|
-
| 'annotation.remove'
|
|
7769
|
-
| 'block.set'
|
|
7770
|
-
| 'block.unset'
|
|
7771
|
-
| 'blur'
|
|
7772
|
-
| 'decorator.add'
|
|
7773
|
-
| 'decorator.remove'
|
|
7774
|
-
| 'delete.backward'
|
|
7775
|
-
| 'delete.block'
|
|
7776
|
-
| 'delete.forward'
|
|
7777
|
-
| 'history.redo'
|
|
7778
|
-
| 'history.undo'
|
|
7779
|
-
| 'insert.inline object'
|
|
7780
|
-
| 'insert.block'
|
|
7781
|
-
| 'insert.span'
|
|
7782
|
-
| 'insert.text'
|
|
7783
|
-
| 'move.backward'
|
|
7784
|
-
| 'move.block'
|
|
7785
|
-
| 'move.forward'
|
|
7786
|
-
| 'split.block',
|
|
7787
|
-
'focus'
|
|
7788
|
-
>
|
|
7789
|
-
}
|
|
7790
|
-
| {
|
|
7791
|
-
type: StrictExtract<
|
|
7792
|
-
| 'focus'
|
|
7793
7304
|
| 'delete'
|
|
7794
7305
|
| 'select'
|
|
7795
7306
|
| 'annotation.add'
|
|
7796
7307
|
| 'annotation.remove'
|
|
7797
7308
|
| 'block.set'
|
|
7798
7309
|
| 'block.unset'
|
|
7799
|
-
| 'blur'
|
|
7800
7310
|
| 'decorator.add'
|
|
7801
7311
|
| 'decorator.remove'
|
|
7802
7312
|
| 'delete.backward'
|
|
@@ -7817,14 +7327,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7817
7327
|
}
|
|
7818
7328
|
| {
|
|
7819
7329
|
type: StrictExtract<
|
|
7820
|
-
| 'focus'
|
|
7821
7330
|
| 'delete'
|
|
7822
7331
|
| 'select'
|
|
7823
7332
|
| 'annotation.add'
|
|
7824
7333
|
| 'annotation.remove'
|
|
7825
7334
|
| 'block.set'
|
|
7826
7335
|
| 'block.unset'
|
|
7827
|
-
| 'blur'
|
|
7828
7336
|
| 'decorator.add'
|
|
7829
7337
|
| 'decorator.remove'
|
|
7830
7338
|
| 'delete.backward'
|
|
@@ -7845,14 +7353,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7845
7353
|
}
|
|
7846
7354
|
| {
|
|
7847
7355
|
type: StrictExtract<
|
|
7848
|
-
| 'focus'
|
|
7849
7356
|
| 'delete'
|
|
7850
7357
|
| 'select'
|
|
7851
7358
|
| 'annotation.add'
|
|
7852
7359
|
| 'annotation.remove'
|
|
7853
7360
|
| 'block.set'
|
|
7854
7361
|
| 'block.unset'
|
|
7855
|
-
| 'blur'
|
|
7856
7362
|
| 'decorator.add'
|
|
7857
7363
|
| 'decorator.remove'
|
|
7858
7364
|
| 'delete.backward'
|
|
@@ -7879,14 +7385,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7879
7385
|
}
|
|
7880
7386
|
| {
|
|
7881
7387
|
type: StrictExtract<
|
|
7882
|
-
| 'focus'
|
|
7883
7388
|
| 'delete'
|
|
7884
7389
|
| 'select'
|
|
7885
7390
|
| 'annotation.add'
|
|
7886
7391
|
| 'annotation.remove'
|
|
7887
7392
|
| 'block.set'
|
|
7888
7393
|
| 'block.unset'
|
|
7889
|
-
| 'blur'
|
|
7890
7394
|
| 'decorator.add'
|
|
7891
7395
|
| 'decorator.remove'
|
|
7892
7396
|
| 'delete.backward'
|
|
@@ -7910,14 +7414,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7910
7414
|
}
|
|
7911
7415
|
| {
|
|
7912
7416
|
type: StrictExtract<
|
|
7913
|
-
| 'focus'
|
|
7914
7417
|
| 'delete'
|
|
7915
7418
|
| 'select'
|
|
7916
7419
|
| 'annotation.add'
|
|
7917
7420
|
| 'annotation.remove'
|
|
7918
7421
|
| 'block.set'
|
|
7919
7422
|
| 'block.unset'
|
|
7920
|
-
| 'blur'
|
|
7921
7423
|
| 'decorator.add'
|
|
7922
7424
|
| 'decorator.remove'
|
|
7923
7425
|
| 'delete.backward'
|
|
@@ -7946,14 +7448,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7946
7448
|
}
|
|
7947
7449
|
| {
|
|
7948
7450
|
type: StrictExtract<
|
|
7949
|
-
| 'focus'
|
|
7950
7451
|
| 'delete'
|
|
7951
7452
|
| 'select'
|
|
7952
7453
|
| 'annotation.add'
|
|
7953
7454
|
| 'annotation.remove'
|
|
7954
7455
|
| 'block.set'
|
|
7955
7456
|
| 'block.unset'
|
|
7956
|
-
| 'blur'
|
|
7957
7457
|
| 'decorator.add'
|
|
7958
7458
|
| 'decorator.remove'
|
|
7959
7459
|
| 'delete.backward'
|
|
@@ -7975,14 +7475,12 @@ export declare function createMarkdownBehaviors(
|
|
|
7975
7475
|
}
|
|
7976
7476
|
| {
|
|
7977
7477
|
type: StrictExtract<
|
|
7978
|
-
| 'focus'
|
|
7979
7478
|
| 'delete'
|
|
7980
7479
|
| 'select'
|
|
7981
7480
|
| 'annotation.add'
|
|
7982
7481
|
| 'annotation.remove'
|
|
7983
7482
|
| 'block.set'
|
|
7984
7483
|
| 'block.unset'
|
|
7985
|
-
| 'blur'
|
|
7986
7484
|
| 'decorator.add'
|
|
7987
7485
|
| 'decorator.remove'
|
|
7988
7486
|
| 'delete.backward'
|
|
@@ -8004,14 +7502,12 @@ export declare function createMarkdownBehaviors(
|
|
|
8004
7502
|
}
|
|
8005
7503
|
| {
|
|
8006
7504
|
type: StrictExtract<
|
|
8007
|
-
| 'focus'
|
|
8008
7505
|
| 'delete'
|
|
8009
7506
|
| 'select'
|
|
8010
7507
|
| 'annotation.add'
|
|
8011
7508
|
| 'annotation.remove'
|
|
8012
7509
|
| 'block.set'
|
|
8013
7510
|
| 'block.unset'
|
|
8014
|
-
| 'blur'
|
|
8015
7511
|
| 'decorator.add'
|
|
8016
7512
|
| 'decorator.remove'
|
|
8017
7513
|
| 'delete.backward'
|
|
@@ -8034,14 +7530,12 @@ export declare function createMarkdownBehaviors(
|
|
|
8034
7530
|
}
|
|
8035
7531
|
| {
|
|
8036
7532
|
type: StrictExtract<
|
|
8037
|
-
| 'focus'
|
|
8038
7533
|
| 'delete'
|
|
8039
7534
|
| 'select'
|
|
8040
7535
|
| 'annotation.add'
|
|
8041
7536
|
| 'annotation.remove'
|
|
8042
7537
|
| 'block.set'
|
|
8043
7538
|
| 'block.unset'
|
|
8044
|
-
| 'blur'
|
|
8045
7539
|
| 'decorator.add'
|
|
8046
7540
|
| 'decorator.remove'
|
|
8047
7541
|
| 'delete.backward'
|
|
@@ -8063,14 +7557,12 @@ export declare function createMarkdownBehaviors(
|
|
|
8063
7557
|
}
|
|
8064
7558
|
| {
|
|
8065
7559
|
type: StrictExtract<
|
|
8066
|
-
| 'focus'
|
|
8067
7560
|
| 'delete'
|
|
8068
7561
|
| 'select'
|
|
8069
7562
|
| 'annotation.add'
|
|
8070
7563
|
| 'annotation.remove'
|
|
8071
7564
|
| 'block.set'
|
|
8072
7565
|
| 'block.unset'
|
|
8073
|
-
| 'blur'
|
|
8074
7566
|
| 'decorator.add'
|
|
8075
7567
|
| 'decorator.remove'
|
|
8076
7568
|
| 'delete.backward'
|
|
@@ -8092,14 +7584,12 @@ export declare function createMarkdownBehaviors(
|
|
|
8092
7584
|
}
|
|
8093
7585
|
| {
|
|
8094
7586
|
type: StrictExtract<
|
|
8095
|
-
| 'focus'
|
|
8096
7587
|
| 'delete'
|
|
8097
7588
|
| 'select'
|
|
8098
7589
|
| 'annotation.add'
|
|
8099
7590
|
| 'annotation.remove'
|
|
8100
7591
|
| 'block.set'
|
|
8101
7592
|
| 'block.unset'
|
|
8102
|
-
| 'blur'
|
|
8103
7593
|
| 'decorator.add'
|
|
8104
7594
|
| 'decorator.remove'
|
|
8105
7595
|
| 'delete.backward'
|
|
@@ -9299,6 +8789,7 @@ declare const editorMachine: StateMachine<
|
|
|
9299
8789
|
ghost?: HTMLElement
|
|
9300
8790
|
origin: Pick<EventPosition_2, 'selection'>
|
|
9301
8791
|
}
|
|
8792
|
+
slateEditor?: PortableTextSlateEditor
|
|
9302
8793
|
},
|
|
9303
8794
|
| InternalPatchEvent
|
|
9304
8795
|
| MutationEvent
|
|
@@ -9335,6 +8826,14 @@ declare const editorMachine: StateMachine<
|
|
|
9335
8826
|
maxBlocks: number | undefined
|
|
9336
8827
|
}
|
|
9337
8828
|
| PatchesEvent
|
|
8829
|
+
| {
|
|
8830
|
+
type: 'blur'
|
|
8831
|
+
editor: PortableTextSlateEditor
|
|
8832
|
+
}
|
|
8833
|
+
| {
|
|
8834
|
+
type: 'focus'
|
|
8835
|
+
editor: PortableTextSlateEditor
|
|
8836
|
+
}
|
|
9338
8837
|
| {
|
|
9339
8838
|
type: 'normalizing'
|
|
9340
8839
|
}
|
|
@@ -9348,7 +8847,6 @@ declare const editorMachine: StateMachine<
|
|
|
9348
8847
|
type: 'behavior event'
|
|
9349
8848
|
behaviorEvent: BehaviorEvent
|
|
9350
8849
|
editor: PortableTextSlateEditor
|
|
9351
|
-
defaultActionCallback?: () => void
|
|
9352
8850
|
nativeEvent?: {
|
|
9353
8851
|
preventDefault: () => void
|
|
9354
8852
|
}
|
|
@@ -9471,17 +8969,33 @@ declare const editorMachine: StateMachine<
|
|
|
9471
8969
|
type: 'clear pending events'
|
|
9472
8970
|
params: NonReducibleUnknown
|
|
9473
8971
|
}
|
|
8972
|
+
'handle blur': {
|
|
8973
|
+
type: 'handle blur'
|
|
8974
|
+
params: unknown
|
|
8975
|
+
}
|
|
8976
|
+
'handle focus': {
|
|
8977
|
+
type: 'handle focus'
|
|
8978
|
+
params: unknown
|
|
8979
|
+
}
|
|
9474
8980
|
'handle behavior event': {
|
|
9475
8981
|
type: 'handle behavior event'
|
|
9476
8982
|
params: unknown
|
|
9477
8983
|
}
|
|
9478
8984
|
}>,
|
|
9479
|
-
|
|
8985
|
+
{
|
|
8986
|
+
type: 'slate is busy'
|
|
8987
|
+
params: unknown
|
|
8988
|
+
},
|
|
9480
8989
|
never,
|
|
9481
8990
|
{
|
|
9482
8991
|
'edit mode':
|
|
9483
8992
|
| {
|
|
9484
|
-
editable:
|
|
8993
|
+
editable:
|
|
8994
|
+
| 'dragging internally'
|
|
8995
|
+
| 'idle'
|
|
8996
|
+
| {
|
|
8997
|
+
focusing: 'checking if busy' | 'busy'
|
|
8998
|
+
}
|
|
9485
8999
|
}
|
|
9486
9000
|
| {
|
|
9487
9001
|
'read only': 'read only' | 'determine initial edit mode'
|
|
@@ -9604,6 +9118,7 @@ declare const editorMachine: StateMachine<
|
|
|
9604
9118
|
ghost?: HTMLElement
|
|
9605
9119
|
origin: Pick<EventPosition_2, 'selection'>
|
|
9606
9120
|
}
|
|
9121
|
+
slateEditor?: PortableTextSlateEditor
|
|
9607
9122
|
},
|
|
9608
9123
|
| InternalPatchEvent
|
|
9609
9124
|
| MutationEvent
|
|
@@ -9640,6 +9155,14 @@ declare const editorMachine: StateMachine<
|
|
|
9640
9155
|
maxBlocks: number | undefined
|
|
9641
9156
|
}
|
|
9642
9157
|
| PatchesEvent
|
|
9158
|
+
| {
|
|
9159
|
+
type: 'blur'
|
|
9160
|
+
editor: PortableTextSlateEditor
|
|
9161
|
+
}
|
|
9162
|
+
| {
|
|
9163
|
+
type: 'focus'
|
|
9164
|
+
editor: PortableTextSlateEditor
|
|
9165
|
+
}
|
|
9643
9166
|
| {
|
|
9644
9167
|
type: 'normalizing'
|
|
9645
9168
|
}
|
|
@@ -9653,7 +9176,6 @@ declare const editorMachine: StateMachine<
|
|
|
9653
9176
|
type: 'behavior event'
|
|
9654
9177
|
behaviorEvent: BehaviorEvent
|
|
9655
9178
|
editor: PortableTextSlateEditor
|
|
9656
|
-
defaultActionCallback?: () => void
|
|
9657
9179
|
nativeEvent?: {
|
|
9658
9180
|
preventDefault: () => void
|
|
9659
9181
|
}
|
|
@@ -9767,6 +9289,14 @@ declare const editorMachine: StateMachine<
|
|
|
9767
9289
|
maxBlocks: number | undefined
|
|
9768
9290
|
}
|
|
9769
9291
|
| PatchesEvent
|
|
9292
|
+
| {
|
|
9293
|
+
type: 'blur'
|
|
9294
|
+
editor: PortableTextSlateEditor
|
|
9295
|
+
}
|
|
9296
|
+
| {
|
|
9297
|
+
type: 'focus'
|
|
9298
|
+
editor: PortableTextSlateEditor
|
|
9299
|
+
}
|
|
9770
9300
|
| {
|
|
9771
9301
|
type: 'normalizing'
|
|
9772
9302
|
}
|
|
@@ -9780,7 +9310,6 @@ declare const editorMachine: StateMachine<
|
|
|
9780
9310
|
type: 'behavior event'
|
|
9781
9311
|
behaviorEvent: BehaviorEvent
|
|
9782
9312
|
editor: PortableTextSlateEditor
|
|
9783
|
-
defaultActionCallback?: () => void
|
|
9784
9313
|
nativeEvent?: {
|
|
9785
9314
|
preventDefault: () => void
|
|
9786
9315
|
}
|
|
@@ -9882,6 +9411,7 @@ declare const editorMachine: StateMachine<
|
|
|
9882
9411
|
ghost?: HTMLElement
|
|
9883
9412
|
origin: Pick<EventPosition_2, 'selection'>
|
|
9884
9413
|
}
|
|
9414
|
+
slateEditor?: PortableTextSlateEditor
|
|
9885
9415
|
},
|
|
9886
9416
|
{
|
|
9887
9417
|
type: 'notify.blurred'
|
|
@@ -9922,6 +9452,14 @@ declare const editorMachine: StateMachine<
|
|
|
9922
9452
|
maxBlocks: number | undefined
|
|
9923
9453
|
}
|
|
9924
9454
|
| PatchesEvent
|
|
9455
|
+
| {
|
|
9456
|
+
type: 'blur'
|
|
9457
|
+
editor: PortableTextSlateEditor
|
|
9458
|
+
}
|
|
9459
|
+
| {
|
|
9460
|
+
type: 'focus'
|
|
9461
|
+
editor: PortableTextSlateEditor
|
|
9462
|
+
}
|
|
9925
9463
|
| {
|
|
9926
9464
|
type: 'normalizing'
|
|
9927
9465
|
}
|
|
@@ -9935,7 +9473,6 @@ declare const editorMachine: StateMachine<
|
|
|
9935
9473
|
type: 'behavior event'
|
|
9936
9474
|
behaviorEvent: BehaviorEvent
|
|
9937
9475
|
editor: PortableTextSlateEditor
|
|
9938
|
-
defaultActionCallback?: () => void
|
|
9939
9476
|
nativeEvent?: {
|
|
9940
9477
|
preventDefault: () => void
|
|
9941
9478
|
}
|
|
@@ -10077,6 +9614,7 @@ declare const editorMachine: StateMachine<
|
|
|
10077
9614
|
ghost?: HTMLElement
|
|
10078
9615
|
origin: Pick<EventPosition_2, 'selection'>
|
|
10079
9616
|
}
|
|
9617
|
+
slateEditor?: PortableTextSlateEditor
|
|
10080
9618
|
},
|
|
10081
9619
|
{
|
|
10082
9620
|
type: 'notify.done loading'
|
|
@@ -10116,6 +9654,14 @@ declare const editorMachine: StateMachine<
|
|
|
10116
9654
|
maxBlocks: number | undefined
|
|
10117
9655
|
}
|
|
10118
9656
|
| PatchesEvent
|
|
9657
|
+
| {
|
|
9658
|
+
type: 'blur'
|
|
9659
|
+
editor: PortableTextSlateEditor
|
|
9660
|
+
}
|
|
9661
|
+
| {
|
|
9662
|
+
type: 'focus'
|
|
9663
|
+
editor: PortableTextSlateEditor
|
|
9664
|
+
}
|
|
10119
9665
|
| {
|
|
10120
9666
|
type: 'normalizing'
|
|
10121
9667
|
}
|
|
@@ -10129,7 +9675,6 @@ declare const editorMachine: StateMachine<
|
|
|
10129
9675
|
type: 'behavior event'
|
|
10130
9676
|
behaviorEvent: BehaviorEvent
|
|
10131
9677
|
editor: PortableTextSlateEditor
|
|
10132
|
-
defaultActionCallback?: () => void
|
|
10133
9678
|
nativeEvent?: {
|
|
10134
9679
|
preventDefault: () => void
|
|
10135
9680
|
}
|
|
@@ -10271,6 +9816,7 @@ declare const editorMachine: StateMachine<
|
|
|
10271
9816
|
ghost?: HTMLElement
|
|
10272
9817
|
origin: Pick<EventPosition_2, 'selection'>
|
|
10273
9818
|
}
|
|
9819
|
+
slateEditor?: PortableTextSlateEditor
|
|
10274
9820
|
},
|
|
10275
9821
|
{
|
|
10276
9822
|
type: 'notify.error'
|
|
@@ -10313,6 +9859,14 @@ declare const editorMachine: StateMachine<
|
|
|
10313
9859
|
maxBlocks: number | undefined
|
|
10314
9860
|
}
|
|
10315
9861
|
| PatchesEvent
|
|
9862
|
+
| {
|
|
9863
|
+
type: 'blur'
|
|
9864
|
+
editor: PortableTextSlateEditor
|
|
9865
|
+
}
|
|
9866
|
+
| {
|
|
9867
|
+
type: 'focus'
|
|
9868
|
+
editor: PortableTextSlateEditor
|
|
9869
|
+
}
|
|
10316
9870
|
| {
|
|
10317
9871
|
type: 'normalizing'
|
|
10318
9872
|
}
|
|
@@ -10326,7 +9880,6 @@ declare const editorMachine: StateMachine<
|
|
|
10326
9880
|
type: 'behavior event'
|
|
10327
9881
|
behaviorEvent: BehaviorEvent
|
|
10328
9882
|
editor: PortableTextSlateEditor
|
|
10329
|
-
defaultActionCallback?: () => void
|
|
10330
9883
|
nativeEvent?: {
|
|
10331
9884
|
preventDefault: () => void
|
|
10332
9885
|
}
|
|
@@ -10468,6 +10021,7 @@ declare const editorMachine: StateMachine<
|
|
|
10468
10021
|
ghost?: HTMLElement
|
|
10469
10022
|
origin: Pick<EventPosition_2, 'selection'>
|
|
10470
10023
|
}
|
|
10024
|
+
slateEditor?: PortableTextSlateEditor
|
|
10471
10025
|
},
|
|
10472
10026
|
{
|
|
10473
10027
|
type: 'notify.invalid value'
|
|
@@ -10509,6 +10063,14 @@ declare const editorMachine: StateMachine<
|
|
|
10509
10063
|
maxBlocks: number | undefined
|
|
10510
10064
|
}
|
|
10511
10065
|
| PatchesEvent
|
|
10066
|
+
| {
|
|
10067
|
+
type: 'blur'
|
|
10068
|
+
editor: PortableTextSlateEditor
|
|
10069
|
+
}
|
|
10070
|
+
| {
|
|
10071
|
+
type: 'focus'
|
|
10072
|
+
editor: PortableTextSlateEditor
|
|
10073
|
+
}
|
|
10512
10074
|
| {
|
|
10513
10075
|
type: 'normalizing'
|
|
10514
10076
|
}
|
|
@@ -10522,7 +10084,6 @@ declare const editorMachine: StateMachine<
|
|
|
10522
10084
|
type: 'behavior event'
|
|
10523
10085
|
behaviorEvent: BehaviorEvent
|
|
10524
10086
|
editor: PortableTextSlateEditor
|
|
10525
|
-
defaultActionCallback?: () => void
|
|
10526
10087
|
nativeEvent?: {
|
|
10527
10088
|
preventDefault: () => void
|
|
10528
10089
|
}
|
|
@@ -10664,6 +10225,7 @@ declare const editorMachine: StateMachine<
|
|
|
10664
10225
|
ghost?: HTMLElement
|
|
10665
10226
|
origin: Pick<EventPosition_2, 'selection'>
|
|
10666
10227
|
}
|
|
10228
|
+
slateEditor?: PortableTextSlateEditor
|
|
10667
10229
|
},
|
|
10668
10230
|
{
|
|
10669
10231
|
type: 'notify.focused'
|
|
@@ -10704,6 +10266,14 @@ declare const editorMachine: StateMachine<
|
|
|
10704
10266
|
maxBlocks: number | undefined
|
|
10705
10267
|
}
|
|
10706
10268
|
| PatchesEvent
|
|
10269
|
+
| {
|
|
10270
|
+
type: 'blur'
|
|
10271
|
+
editor: PortableTextSlateEditor
|
|
10272
|
+
}
|
|
10273
|
+
| {
|
|
10274
|
+
type: 'focus'
|
|
10275
|
+
editor: PortableTextSlateEditor
|
|
10276
|
+
}
|
|
10707
10277
|
| {
|
|
10708
10278
|
type: 'normalizing'
|
|
10709
10279
|
}
|
|
@@ -10717,7 +10287,6 @@ declare const editorMachine: StateMachine<
|
|
|
10717
10287
|
type: 'behavior event'
|
|
10718
10288
|
behaviorEvent: BehaviorEvent
|
|
10719
10289
|
editor: PortableTextSlateEditor
|
|
10720
|
-
defaultActionCallback?: () => void
|
|
10721
10290
|
nativeEvent?: {
|
|
10722
10291
|
preventDefault: () => void
|
|
10723
10292
|
}
|
|
@@ -10860,6 +10429,7 @@ declare const editorMachine: StateMachine<
|
|
|
10860
10429
|
ghost?: HTMLElement
|
|
10861
10430
|
origin: Pick<EventPosition_2, 'selection'>
|
|
10862
10431
|
}
|
|
10432
|
+
slateEditor?: PortableTextSlateEditor
|
|
10863
10433
|
},
|
|
10864
10434
|
{
|
|
10865
10435
|
type: 'notify.selection'
|
|
@@ -10900,6 +10470,14 @@ declare const editorMachine: StateMachine<
|
|
|
10900
10470
|
maxBlocks: number | undefined
|
|
10901
10471
|
}
|
|
10902
10472
|
| PatchesEvent
|
|
10473
|
+
| {
|
|
10474
|
+
type: 'blur'
|
|
10475
|
+
editor: PortableTextSlateEditor
|
|
10476
|
+
}
|
|
10477
|
+
| {
|
|
10478
|
+
type: 'focus'
|
|
10479
|
+
editor: PortableTextSlateEditor
|
|
10480
|
+
}
|
|
10903
10481
|
| {
|
|
10904
10482
|
type: 'normalizing'
|
|
10905
10483
|
}
|
|
@@ -10913,7 +10491,6 @@ declare const editorMachine: StateMachine<
|
|
|
10913
10491
|
type: 'behavior event'
|
|
10914
10492
|
behaviorEvent: BehaviorEvent
|
|
10915
10493
|
editor: PortableTextSlateEditor
|
|
10916
|
-
defaultActionCallback?: () => void
|
|
10917
10494
|
nativeEvent?: {
|
|
10918
10495
|
preventDefault: () => void
|
|
10919
10496
|
}
|
|
@@ -11007,6 +10584,7 @@ declare const editorMachine: StateMachine<
|
|
|
11007
10584
|
ghost?: HTMLElement
|
|
11008
10585
|
origin: Pick<EventPosition_2, 'selection'>
|
|
11009
10586
|
}
|
|
10587
|
+
slateEditor?: PortableTextSlateEditor
|
|
11010
10588
|
},
|
|
11011
10589
|
{
|
|
11012
10590
|
type: 'notify.selection'
|
|
@@ -11047,6 +10625,14 @@ declare const editorMachine: StateMachine<
|
|
|
11047
10625
|
maxBlocks: number | undefined
|
|
11048
10626
|
}
|
|
11049
10627
|
| PatchesEvent
|
|
10628
|
+
| {
|
|
10629
|
+
type: 'blur'
|
|
10630
|
+
editor: PortableTextSlateEditor
|
|
10631
|
+
}
|
|
10632
|
+
| {
|
|
10633
|
+
type: 'focus'
|
|
10634
|
+
editor: PortableTextSlateEditor
|
|
10635
|
+
}
|
|
11050
10636
|
| {
|
|
11051
10637
|
type: 'normalizing'
|
|
11052
10638
|
}
|
|
@@ -11060,7 +10646,6 @@ declare const editorMachine: StateMachine<
|
|
|
11060
10646
|
type: 'behavior event'
|
|
11061
10647
|
behaviorEvent: BehaviorEvent
|
|
11062
10648
|
editor: PortableTextSlateEditor
|
|
11063
|
-
defaultActionCallback?: () => void
|
|
11064
10649
|
nativeEvent?: {
|
|
11065
10650
|
preventDefault: () => void
|
|
11066
10651
|
}
|
|
@@ -11203,6 +10788,7 @@ declare const editorMachine: StateMachine<
|
|
|
11203
10788
|
ghost?: HTMLElement
|
|
11204
10789
|
origin: Pick<EventPosition_2, 'selection'>
|
|
11205
10790
|
}
|
|
10791
|
+
slateEditor?: PortableTextSlateEditor
|
|
11206
10792
|
},
|
|
11207
10793
|
{
|
|
11208
10794
|
type: 'notify.unset'
|
|
@@ -11243,6 +10829,14 @@ declare const editorMachine: StateMachine<
|
|
|
11243
10829
|
maxBlocks: number | undefined
|
|
11244
10830
|
}
|
|
11245
10831
|
| PatchesEvent
|
|
10832
|
+
| {
|
|
10833
|
+
type: 'blur'
|
|
10834
|
+
editor: PortableTextSlateEditor
|
|
10835
|
+
}
|
|
10836
|
+
| {
|
|
10837
|
+
type: 'focus'
|
|
10838
|
+
editor: PortableTextSlateEditor
|
|
10839
|
+
}
|
|
11246
10840
|
| {
|
|
11247
10841
|
type: 'normalizing'
|
|
11248
10842
|
}
|
|
@@ -11256,7 +10850,6 @@ declare const editorMachine: StateMachine<
|
|
|
11256
10850
|
type: 'behavior event'
|
|
11257
10851
|
behaviorEvent: BehaviorEvent
|
|
11258
10852
|
editor: PortableTextSlateEditor
|
|
11259
|
-
defaultActionCallback?: () => void
|
|
11260
10853
|
nativeEvent?: {
|
|
11261
10854
|
preventDefault: () => void
|
|
11262
10855
|
}
|
|
@@ -11398,6 +10991,7 @@ declare const editorMachine: StateMachine<
|
|
|
11398
10991
|
ghost?: HTMLElement
|
|
11399
10992
|
origin: Pick<EventPosition_2, 'selection'>
|
|
11400
10993
|
}
|
|
10994
|
+
slateEditor?: PortableTextSlateEditor
|
|
11401
10995
|
},
|
|
11402
10996
|
{
|
|
11403
10997
|
type: 'notify.loading'
|
|
@@ -11437,6 +11031,14 @@ declare const editorMachine: StateMachine<
|
|
|
11437
11031
|
maxBlocks: number | undefined
|
|
11438
11032
|
}
|
|
11439
11033
|
| PatchesEvent
|
|
11034
|
+
| {
|
|
11035
|
+
type: 'blur'
|
|
11036
|
+
editor: PortableTextSlateEditor
|
|
11037
|
+
}
|
|
11038
|
+
| {
|
|
11039
|
+
type: 'focus'
|
|
11040
|
+
editor: PortableTextSlateEditor
|
|
11041
|
+
}
|
|
11440
11042
|
| {
|
|
11441
11043
|
type: 'normalizing'
|
|
11442
11044
|
}
|
|
@@ -11450,7 +11052,6 @@ declare const editorMachine: StateMachine<
|
|
|
11450
11052
|
type: 'behavior event'
|
|
11451
11053
|
behaviorEvent: BehaviorEvent
|
|
11452
11054
|
editor: PortableTextSlateEditor
|
|
11453
|
-
defaultActionCallback?: () => void
|
|
11454
11055
|
nativeEvent?: {
|
|
11455
11056
|
preventDefault: () => void
|
|
11456
11057
|
}
|
|
@@ -11592,6 +11193,7 @@ declare const editorMachine: StateMachine<
|
|
|
11592
11193
|
ghost?: HTMLElement
|
|
11593
11194
|
origin: Pick<EventPosition_2, 'selection'>
|
|
11594
11195
|
}
|
|
11196
|
+
slateEditor?: PortableTextSlateEditor
|
|
11595
11197
|
},
|
|
11596
11198
|
{
|
|
11597
11199
|
type: 'notify.value changed'
|
|
@@ -11632,6 +11234,14 @@ declare const editorMachine: StateMachine<
|
|
|
11632
11234
|
maxBlocks: number | undefined
|
|
11633
11235
|
}
|
|
11634
11236
|
| PatchesEvent
|
|
11237
|
+
| {
|
|
11238
|
+
type: 'blur'
|
|
11239
|
+
editor: PortableTextSlateEditor
|
|
11240
|
+
}
|
|
11241
|
+
| {
|
|
11242
|
+
type: 'focus'
|
|
11243
|
+
editor: PortableTextSlateEditor
|
|
11244
|
+
}
|
|
11635
11245
|
| {
|
|
11636
11246
|
type: 'normalizing'
|
|
11637
11247
|
}
|
|
@@ -11645,7 +11255,6 @@ declare const editorMachine: StateMachine<
|
|
|
11645
11255
|
type: 'behavior event'
|
|
11646
11256
|
behaviorEvent: BehaviorEvent
|
|
11647
11257
|
editor: PortableTextSlateEditor
|
|
11648
|
-
defaultActionCallback?: () => void
|
|
11649
11258
|
nativeEvent?: {
|
|
11650
11259
|
preventDefault: () => void
|
|
11651
11260
|
}
|
|
@@ -11793,6 +11402,7 @@ declare const editorMachine: StateMachine<
|
|
|
11793
11402
|
ghost?: HTMLElement
|
|
11794
11403
|
origin: Pick<EventPosition_2, 'selection'>
|
|
11795
11404
|
}
|
|
11405
|
+
slateEditor?: PortableTextSlateEditor
|
|
11796
11406
|
},
|
|
11797
11407
|
PatchesEvent,
|
|
11798
11408
|
| InternalPatchEvent
|
|
@@ -11830,6 +11440,14 @@ declare const editorMachine: StateMachine<
|
|
|
11830
11440
|
maxBlocks: number | undefined
|
|
11831
11441
|
}
|
|
11832
11442
|
| PatchesEvent
|
|
11443
|
+
| {
|
|
11444
|
+
type: 'blur'
|
|
11445
|
+
editor: PortableTextSlateEditor
|
|
11446
|
+
}
|
|
11447
|
+
| {
|
|
11448
|
+
type: 'focus'
|
|
11449
|
+
editor: PortableTextSlateEditor
|
|
11450
|
+
}
|
|
11833
11451
|
| {
|
|
11834
11452
|
type: 'normalizing'
|
|
11835
11453
|
}
|
|
@@ -11843,7 +11461,6 @@ declare const editorMachine: StateMachine<
|
|
|
11843
11461
|
type: 'behavior event'
|
|
11844
11462
|
behaviorEvent: BehaviorEvent
|
|
11845
11463
|
editor: PortableTextSlateEditor
|
|
11846
|
-
defaultActionCallback?: () => void
|
|
11847
11464
|
nativeEvent?: {
|
|
11848
11465
|
preventDefault: () => void
|
|
11849
11466
|
}
|
|
@@ -11988,6 +11605,7 @@ declare const editorMachine: StateMachine<
|
|
|
11988
11605
|
ghost?: HTMLElement
|
|
11989
11606
|
origin: Pick<EventPosition_2, 'selection'>
|
|
11990
11607
|
}
|
|
11608
|
+
slateEditor?: PortableTextSlateEditor
|
|
11991
11609
|
},
|
|
11992
11610
|
{
|
|
11993
11611
|
type: 'update key generator'
|
|
@@ -12028,6 +11646,14 @@ declare const editorMachine: StateMachine<
|
|
|
12028
11646
|
maxBlocks: number | undefined
|
|
12029
11647
|
}
|
|
12030
11648
|
| PatchesEvent
|
|
11649
|
+
| {
|
|
11650
|
+
type: 'blur'
|
|
11651
|
+
editor: PortableTextSlateEditor
|
|
11652
|
+
}
|
|
11653
|
+
| {
|
|
11654
|
+
type: 'focus'
|
|
11655
|
+
editor: PortableTextSlateEditor
|
|
11656
|
+
}
|
|
12031
11657
|
| {
|
|
12032
11658
|
type: 'normalizing'
|
|
12033
11659
|
}
|
|
@@ -12041,7 +11667,6 @@ declare const editorMachine: StateMachine<
|
|
|
12041
11667
|
type: 'behavior event'
|
|
12042
11668
|
behaviorEvent: BehaviorEvent
|
|
12043
11669
|
editor: PortableTextSlateEditor
|
|
12044
|
-
defaultActionCallback?: () => void
|
|
12045
11670
|
nativeEvent?: {
|
|
12046
11671
|
preventDefault: () => void
|
|
12047
11672
|
}
|
|
@@ -12140,6 +11765,7 @@ declare const editorMachine: StateMachine<
|
|
|
12140
11765
|
ghost?: HTMLElement
|
|
12141
11766
|
origin: Pick<EventPosition_2, 'selection'>
|
|
12142
11767
|
}
|
|
11768
|
+
slateEditor?: PortableTextSlateEditor
|
|
12143
11769
|
},
|
|
12144
11770
|
{
|
|
12145
11771
|
type: 'update value'
|
|
@@ -12180,6 +11806,14 @@ declare const editorMachine: StateMachine<
|
|
|
12180
11806
|
maxBlocks: number | undefined
|
|
12181
11807
|
}
|
|
12182
11808
|
| PatchesEvent
|
|
11809
|
+
| {
|
|
11810
|
+
type: 'blur'
|
|
11811
|
+
editor: PortableTextSlateEditor
|
|
11812
|
+
}
|
|
11813
|
+
| {
|
|
11814
|
+
type: 'focus'
|
|
11815
|
+
editor: PortableTextSlateEditor
|
|
11816
|
+
}
|
|
12183
11817
|
| {
|
|
12184
11818
|
type: 'normalizing'
|
|
12185
11819
|
}
|
|
@@ -12193,7 +11827,6 @@ declare const editorMachine: StateMachine<
|
|
|
12193
11827
|
type: 'behavior event'
|
|
12194
11828
|
behaviorEvent: BehaviorEvent
|
|
12195
11829
|
editor: PortableTextSlateEditor
|
|
12196
|
-
defaultActionCallback?: () => void
|
|
12197
11830
|
nativeEvent?: {
|
|
12198
11831
|
preventDefault: () => void
|
|
12199
11832
|
}
|
|
@@ -12289,6 +11922,7 @@ declare const editorMachine: StateMachine<
|
|
|
12289
11922
|
ghost?: HTMLElement
|
|
12290
11923
|
origin: Pick<EventPosition_2, 'selection'>
|
|
12291
11924
|
}
|
|
11925
|
+
slateEditor?: PortableTextSlateEditor
|
|
12292
11926
|
},
|
|
12293
11927
|
{
|
|
12294
11928
|
type: 'update maxBlocks'
|
|
@@ -12329,6 +11963,14 @@ declare const editorMachine: StateMachine<
|
|
|
12329
11963
|
maxBlocks: number | undefined
|
|
12330
11964
|
}
|
|
12331
11965
|
| PatchesEvent
|
|
11966
|
+
| {
|
|
11967
|
+
type: 'blur'
|
|
11968
|
+
editor: PortableTextSlateEditor
|
|
11969
|
+
}
|
|
11970
|
+
| {
|
|
11971
|
+
type: 'focus'
|
|
11972
|
+
editor: PortableTextSlateEditor
|
|
11973
|
+
}
|
|
12332
11974
|
| {
|
|
12333
11975
|
type: 'normalizing'
|
|
12334
11976
|
}
|
|
@@ -12342,7 +11984,6 @@ declare const editorMachine: StateMachine<
|
|
|
12342
11984
|
type: 'behavior event'
|
|
12343
11985
|
behaviorEvent: BehaviorEvent
|
|
12344
11986
|
editor: PortableTextSlateEditor
|
|
12345
|
-
defaultActionCallback?: () => void
|
|
12346
11987
|
nativeEvent?: {
|
|
12347
11988
|
preventDefault: () => void
|
|
12348
11989
|
}
|
|
@@ -12450,12 +12091,12 @@ declare const editorMachine: StateMachine<
|
|
|
12450
12091
|
ghost?: HTMLElement
|
|
12451
12092
|
origin: Pick<EventPosition_2, 'selection'>
|
|
12452
12093
|
}
|
|
12094
|
+
slateEditor?: PortableTextSlateEditor
|
|
12453
12095
|
},
|
|
12454
12096
|
{
|
|
12455
12097
|
type: 'behavior event'
|
|
12456
12098
|
behaviorEvent: BehaviorEvent
|
|
12457
12099
|
editor: PortableTextSlateEditor
|
|
12458
|
-
defaultActionCallback?: () => void
|
|
12459
12100
|
nativeEvent?: {
|
|
12460
12101
|
preventDefault: () => void
|
|
12461
12102
|
}
|
|
@@ -12488,6 +12129,7 @@ declare const editorMachine: StateMachine<
|
|
|
12488
12129
|
ghost?: HTMLElement
|
|
12489
12130
|
origin: Pick<EventPosition_2, 'selection'>
|
|
12490
12131
|
}
|
|
12132
|
+
slateEditor?: PortableTextSlateEditor
|
|
12491
12133
|
},
|
|
12492
12134
|
{
|
|
12493
12135
|
type: 'done syncing initial value'
|
|
@@ -12520,6 +12162,7 @@ declare const editorMachine: StateMachine<
|
|
|
12520
12162
|
ghost?: HTMLElement
|
|
12521
12163
|
origin: Pick<EventPosition_2, 'selection'>
|
|
12522
12164
|
}
|
|
12165
|
+
slateEditor?: PortableTextSlateEditor
|
|
12523
12166
|
},
|
|
12524
12167
|
{
|
|
12525
12168
|
type: 'update readOnly'
|
|
@@ -12553,6 +12196,7 @@ declare const editorMachine: StateMachine<
|
|
|
12553
12196
|
ghost?: HTMLElement
|
|
12554
12197
|
origin: Pick<EventPosition_2, 'selection'>
|
|
12555
12198
|
}
|
|
12199
|
+
slateEditor?: PortableTextSlateEditor
|
|
12556
12200
|
},
|
|
12557
12201
|
{
|
|
12558
12202
|
type: 'update readOnly'
|
|
@@ -12565,6 +12209,169 @@ declare const editorMachine: StateMachine<
|
|
|
12565
12209
|
readonly 'behavior event': {
|
|
12566
12210
|
readonly actions: 'handle behavior event'
|
|
12567
12211
|
}
|
|
12212
|
+
readonly 'blur': {
|
|
12213
|
+
readonly actions: 'handle blur'
|
|
12214
|
+
}
|
|
12215
|
+
readonly 'focus': {
|
|
12216
|
+
readonly target: '.focusing'
|
|
12217
|
+
readonly actions: readonly [
|
|
12218
|
+
ActionFunction<
|
|
12219
|
+
{
|
|
12220
|
+
behaviors: Set<Behavior>
|
|
12221
|
+
converters: Set<Converter>
|
|
12222
|
+
keyGenerator: () => string
|
|
12223
|
+
pendingEvents: Array<InternalPatchEvent | MutationEvent>
|
|
12224
|
+
schema: EditorSchema
|
|
12225
|
+
initialReadOnly: boolean
|
|
12226
|
+
maxBlocks: number | undefined
|
|
12227
|
+
selection: EditorSelection_2
|
|
12228
|
+
incomingValue: Array<PortableTextBlock> | undefined
|
|
12229
|
+
internalDrag?: {
|
|
12230
|
+
ghost?: HTMLElement
|
|
12231
|
+
origin: Pick<EventPosition_2, 'selection'>
|
|
12232
|
+
}
|
|
12233
|
+
slateEditor?: PortableTextSlateEditor
|
|
12234
|
+
},
|
|
12235
|
+
{
|
|
12236
|
+
type: 'focus'
|
|
12237
|
+
editor: PortableTextSlateEditor
|
|
12238
|
+
},
|
|
12239
|
+
| InternalPatchEvent
|
|
12240
|
+
| MutationEvent
|
|
12241
|
+
| {
|
|
12242
|
+
type: 'add behavior'
|
|
12243
|
+
behavior: Behavior
|
|
12244
|
+
}
|
|
12245
|
+
| {
|
|
12246
|
+
type: 'remove behavior'
|
|
12247
|
+
behavior: Behavior
|
|
12248
|
+
}
|
|
12249
|
+
| {
|
|
12250
|
+
type: 'update readOnly'
|
|
12251
|
+
readOnly: boolean
|
|
12252
|
+
}
|
|
12253
|
+
| {
|
|
12254
|
+
type: 'update schema'
|
|
12255
|
+
schema: EditorSchema
|
|
12256
|
+
}
|
|
12257
|
+
| {
|
|
12258
|
+
type: 'update behaviors'
|
|
12259
|
+
behaviors: Array<Behavior>
|
|
12260
|
+
}
|
|
12261
|
+
| {
|
|
12262
|
+
type: 'update key generator'
|
|
12263
|
+
keyGenerator: () => string
|
|
12264
|
+
}
|
|
12265
|
+
| {
|
|
12266
|
+
type: 'update value'
|
|
12267
|
+
value: Array<PortableTextBlock> | undefined
|
|
12268
|
+
}
|
|
12269
|
+
| {
|
|
12270
|
+
type: 'update maxBlocks'
|
|
12271
|
+
maxBlocks: number | undefined
|
|
12272
|
+
}
|
|
12273
|
+
| PatchesEvent
|
|
12274
|
+
| {
|
|
12275
|
+
type: 'blur'
|
|
12276
|
+
editor: PortableTextSlateEditor
|
|
12277
|
+
}
|
|
12278
|
+
| {
|
|
12279
|
+
type: 'focus'
|
|
12280
|
+
editor: PortableTextSlateEditor
|
|
12281
|
+
}
|
|
12282
|
+
| {
|
|
12283
|
+
type: 'normalizing'
|
|
12284
|
+
}
|
|
12285
|
+
| {
|
|
12286
|
+
type: 'done normalizing'
|
|
12287
|
+
}
|
|
12288
|
+
| {
|
|
12289
|
+
type: 'done syncing initial value'
|
|
12290
|
+
}
|
|
12291
|
+
| {
|
|
12292
|
+
type: 'behavior event'
|
|
12293
|
+
behaviorEvent: BehaviorEvent
|
|
12294
|
+
editor: PortableTextSlateEditor
|
|
12295
|
+
nativeEvent?: {
|
|
12296
|
+
preventDefault: () => void
|
|
12297
|
+
}
|
|
12298
|
+
}
|
|
12299
|
+
| {
|
|
12300
|
+
type: 'notify.patch'
|
|
12301
|
+
patch: Patch
|
|
12302
|
+
}
|
|
12303
|
+
| {
|
|
12304
|
+
type: 'notify.mutation'
|
|
12305
|
+
patches: Array<Patch>
|
|
12306
|
+
snapshot: Array<PortableTextBlock> | undefined
|
|
12307
|
+
value: Array<PortableTextBlock> | undefined
|
|
12308
|
+
}
|
|
12309
|
+
| {
|
|
12310
|
+
type: 'notify.blurred'
|
|
12311
|
+
event: FocusEvent_2<HTMLDivElement, Element>
|
|
12312
|
+
}
|
|
12313
|
+
| {
|
|
12314
|
+
type: 'notify.done loading'
|
|
12315
|
+
}
|
|
12316
|
+
| {
|
|
12317
|
+
type: 'notify.editable'
|
|
12318
|
+
}
|
|
12319
|
+
| {
|
|
12320
|
+
type: 'notify.error'
|
|
12321
|
+
name: string
|
|
12322
|
+
description: string
|
|
12323
|
+
data: unknown
|
|
12324
|
+
}
|
|
12325
|
+
| {
|
|
12326
|
+
type: 'notify.focused'
|
|
12327
|
+
event: FocusEvent_2<HTMLDivElement, Element>
|
|
12328
|
+
}
|
|
12329
|
+
| {
|
|
12330
|
+
type: 'notify.invalid value'
|
|
12331
|
+
resolution: InvalidValueResolution | null
|
|
12332
|
+
value: Array<PortableTextBlock> | undefined
|
|
12333
|
+
}
|
|
12334
|
+
| {
|
|
12335
|
+
type: 'notify.loading'
|
|
12336
|
+
}
|
|
12337
|
+
| {
|
|
12338
|
+
type: 'notify.read only'
|
|
12339
|
+
}
|
|
12340
|
+
| {
|
|
12341
|
+
type: 'notify.ready'
|
|
12342
|
+
}
|
|
12343
|
+
| {
|
|
12344
|
+
type: 'notify.selection'
|
|
12345
|
+
selection: EditorSelection_2
|
|
12346
|
+
}
|
|
12347
|
+
| {
|
|
12348
|
+
type: 'notify.value changed'
|
|
12349
|
+
value: Array<PortableTextBlock> | undefined
|
|
12350
|
+
}
|
|
12351
|
+
| {
|
|
12352
|
+
type: 'notify.unset'
|
|
12353
|
+
previousValue: Array<PortableTextBlock>
|
|
12354
|
+
}
|
|
12355
|
+
| {
|
|
12356
|
+
type: 'dragstart'
|
|
12357
|
+
origin: Pick<EventPosition_2, 'selection'>
|
|
12358
|
+
ghost?: HTMLElement
|
|
12359
|
+
}
|
|
12360
|
+
| {
|
|
12361
|
+
type: 'dragend'
|
|
12362
|
+
}
|
|
12363
|
+
| {
|
|
12364
|
+
type: 'drop'
|
|
12365
|
+
},
|
|
12366
|
+
undefined,
|
|
12367
|
+
never,
|
|
12368
|
+
never,
|
|
12369
|
+
never,
|
|
12370
|
+
never,
|
|
12371
|
+
never
|
|
12372
|
+
>,
|
|
12373
|
+
]
|
|
12374
|
+
}
|
|
12568
12375
|
}
|
|
12569
12376
|
readonly initial: 'idle'
|
|
12570
12377
|
readonly states: {
|
|
@@ -12589,6 +12396,7 @@ declare const editorMachine: StateMachine<
|
|
|
12589
12396
|
ghost?: HTMLElement
|
|
12590
12397
|
origin: Pick<EventPosition_2, 'selection'>
|
|
12591
12398
|
}
|
|
12399
|
+
slateEditor?: PortableTextSlateEditor
|
|
12592
12400
|
},
|
|
12593
12401
|
{
|
|
12594
12402
|
type: 'dragstart'
|
|
@@ -12630,6 +12438,14 @@ declare const editorMachine: StateMachine<
|
|
|
12630
12438
|
maxBlocks: number | undefined
|
|
12631
12439
|
}
|
|
12632
12440
|
| PatchesEvent
|
|
12441
|
+
| {
|
|
12442
|
+
type: 'blur'
|
|
12443
|
+
editor: PortableTextSlateEditor
|
|
12444
|
+
}
|
|
12445
|
+
| {
|
|
12446
|
+
type: 'focus'
|
|
12447
|
+
editor: PortableTextSlateEditor
|
|
12448
|
+
}
|
|
12633
12449
|
| {
|
|
12634
12450
|
type: 'normalizing'
|
|
12635
12451
|
}
|
|
@@ -12643,7 +12459,6 @@ declare const editorMachine: StateMachine<
|
|
|
12643
12459
|
type: 'behavior event'
|
|
12644
12460
|
behaviorEvent: BehaviorEvent
|
|
12645
12461
|
editor: PortableTextSlateEditor
|
|
12646
|
-
defaultActionCallback?: () => void
|
|
12647
12462
|
nativeEvent?: {
|
|
12648
12463
|
preventDefault: () => void
|
|
12649
12464
|
}
|
|
@@ -12727,6 +12542,30 @@ declare const editorMachine: StateMachine<
|
|
|
12727
12542
|
}
|
|
12728
12543
|
}
|
|
12729
12544
|
}
|
|
12545
|
+
readonly 'focusing': {
|
|
12546
|
+
readonly initial: 'checking if busy'
|
|
12547
|
+
readonly states: {
|
|
12548
|
+
readonly 'checking if busy': {
|
|
12549
|
+
readonly always: readonly [
|
|
12550
|
+
{
|
|
12551
|
+
readonly guard: 'slate is busy'
|
|
12552
|
+
readonly target: 'busy'
|
|
12553
|
+
},
|
|
12554
|
+
{
|
|
12555
|
+
readonly target: '#editor.edit mode.editable.idle'
|
|
12556
|
+
readonly actions: readonly ['handle focus']
|
|
12557
|
+
},
|
|
12558
|
+
]
|
|
12559
|
+
}
|
|
12560
|
+
readonly 'busy': {
|
|
12561
|
+
readonly after: {
|
|
12562
|
+
readonly 10: {
|
|
12563
|
+
readonly target: 'checking if busy'
|
|
12564
|
+
}
|
|
12565
|
+
}
|
|
12566
|
+
}
|
|
12567
|
+
}
|
|
12568
|
+
}
|
|
12730
12569
|
readonly 'dragging internally': {
|
|
12731
12570
|
readonly exit: readonly [
|
|
12732
12571
|
({
|
|
@@ -12746,6 +12585,7 @@ declare const editorMachine: StateMachine<
|
|
|
12746
12585
|
ghost?: HTMLElement
|
|
12747
12586
|
origin: Pick<EventPosition_2, 'selection'>
|
|
12748
12587
|
}
|
|
12588
|
+
slateEditor?: PortableTextSlateEditor
|
|
12749
12589
|
},
|
|
12750
12590
|
| InternalPatchEvent
|
|
12751
12591
|
| MutationEvent
|
|
@@ -12782,6 +12622,14 @@ declare const editorMachine: StateMachine<
|
|
|
12782
12622
|
maxBlocks: number | undefined
|
|
12783
12623
|
}
|
|
12784
12624
|
| PatchesEvent
|
|
12625
|
+
| {
|
|
12626
|
+
type: 'blur'
|
|
12627
|
+
editor: PortableTextSlateEditor
|
|
12628
|
+
}
|
|
12629
|
+
| {
|
|
12630
|
+
type: 'focus'
|
|
12631
|
+
editor: PortableTextSlateEditor
|
|
12632
|
+
}
|
|
12785
12633
|
| {
|
|
12786
12634
|
type: 'normalizing'
|
|
12787
12635
|
}
|
|
@@ -12795,7 +12643,6 @@ declare const editorMachine: StateMachine<
|
|
|
12795
12643
|
type: 'behavior event'
|
|
12796
12644
|
behaviorEvent: BehaviorEvent
|
|
12797
12645
|
editor: PortableTextSlateEditor
|
|
12798
|
-
defaultActionCallback?: () => void
|
|
12799
12646
|
nativeEvent?: {
|
|
12800
12647
|
preventDefault: () => void
|
|
12801
12648
|
}
|
|
@@ -12902,6 +12749,14 @@ declare const editorMachine: StateMachine<
|
|
|
12902
12749
|
maxBlocks: number | undefined
|
|
12903
12750
|
}
|
|
12904
12751
|
| PatchesEvent
|
|
12752
|
+
| {
|
|
12753
|
+
type: 'blur'
|
|
12754
|
+
editor: PortableTextSlateEditor
|
|
12755
|
+
}
|
|
12756
|
+
| {
|
|
12757
|
+
type: 'focus'
|
|
12758
|
+
editor: PortableTextSlateEditor
|
|
12759
|
+
}
|
|
12905
12760
|
| {
|
|
12906
12761
|
type: 'normalizing'
|
|
12907
12762
|
}
|
|
@@ -12915,7 +12770,6 @@ declare const editorMachine: StateMachine<
|
|
|
12915
12770
|
type: 'behavior event'
|
|
12916
12771
|
behaviorEvent: BehaviorEvent
|
|
12917
12772
|
editor: PortableTextSlateEditor
|
|
12918
|
-
defaultActionCallback?: () => void
|
|
12919
12773
|
nativeEvent?: {
|
|
12920
12774
|
preventDefault: () => void
|
|
12921
12775
|
}
|
|
@@ -13003,6 +12857,7 @@ declare const editorMachine: StateMachine<
|
|
|
13003
12857
|
ghost?: HTMLElement
|
|
13004
12858
|
origin: Pick<EventPosition_2, 'selection'>
|
|
13005
12859
|
}
|
|
12860
|
+
slateEditor?: PortableTextSlateEditor
|
|
13006
12861
|
},
|
|
13007
12862
|
| InternalPatchEvent
|
|
13008
12863
|
| MutationEvent
|
|
@@ -13039,6 +12894,14 @@ declare const editorMachine: StateMachine<
|
|
|
13039
12894
|
maxBlocks: number | undefined
|
|
13040
12895
|
}
|
|
13041
12896
|
| PatchesEvent
|
|
12897
|
+
| {
|
|
12898
|
+
type: 'blur'
|
|
12899
|
+
editor: PortableTextSlateEditor
|
|
12900
|
+
}
|
|
12901
|
+
| {
|
|
12902
|
+
type: 'focus'
|
|
12903
|
+
editor: PortableTextSlateEditor
|
|
12904
|
+
}
|
|
13042
12905
|
| {
|
|
13043
12906
|
type: 'normalizing'
|
|
13044
12907
|
}
|
|
@@ -13052,7 +12915,6 @@ declare const editorMachine: StateMachine<
|
|
|
13052
12915
|
type: 'behavior event'
|
|
13053
12916
|
behaviorEvent: BehaviorEvent
|
|
13054
12917
|
editor: PortableTextSlateEditor
|
|
13055
|
-
defaultActionCallback?: () => void
|
|
13056
12918
|
nativeEvent?: {
|
|
13057
12919
|
preventDefault: () => void
|
|
13058
12920
|
}
|
|
@@ -13159,6 +13021,14 @@ declare const editorMachine: StateMachine<
|
|
|
13159
13021
|
maxBlocks: number | undefined
|
|
13160
13022
|
}
|
|
13161
13023
|
| PatchesEvent
|
|
13024
|
+
| {
|
|
13025
|
+
type: 'blur'
|
|
13026
|
+
editor: PortableTextSlateEditor
|
|
13027
|
+
}
|
|
13028
|
+
| {
|
|
13029
|
+
type: 'focus'
|
|
13030
|
+
editor: PortableTextSlateEditor
|
|
13031
|
+
}
|
|
13162
13032
|
| {
|
|
13163
13033
|
type: 'normalizing'
|
|
13164
13034
|
}
|
|
@@ -13172,7 +13042,6 @@ declare const editorMachine: StateMachine<
|
|
|
13172
13042
|
type: 'behavior event'
|
|
13173
13043
|
behaviorEvent: BehaviorEvent
|
|
13174
13044
|
editor: PortableTextSlateEditor
|
|
13175
|
-
defaultActionCallback?: () => void
|
|
13176
13045
|
nativeEvent?: {
|
|
13177
13046
|
preventDefault: () => void
|
|
13178
13047
|
}
|
|
@@ -13799,9 +13668,6 @@ export declare type SyntheticBehaviorEvent =
|
|
|
13799
13668
|
at: [KeyedSegment]
|
|
13800
13669
|
props: Array<string>
|
|
13801
13670
|
}
|
|
13802
|
-
| {
|
|
13803
|
-
type: StrictExtract_2<SyntheticBehaviorEventType, 'blur'>
|
|
13804
|
-
}
|
|
13805
13671
|
| {
|
|
13806
13672
|
type: StrictExtract_2<SyntheticBehaviorEventType, 'decorator.add'>
|
|
13807
13673
|
decorator: string
|
|
@@ -13830,9 +13696,6 @@ export declare type SyntheticBehaviorEvent =
|
|
|
13830
13696
|
type: StrictExtract_2<SyntheticBehaviorEventType, 'delete.forward'>
|
|
13831
13697
|
unit: TextUnit
|
|
13832
13698
|
}
|
|
13833
|
-
| {
|
|
13834
|
-
type: StrictExtract_2<SyntheticBehaviorEventType, 'focus'>
|
|
13835
|
-
}
|
|
13836
13699
|
| {
|
|
13837
13700
|
type: StrictExtract_2<SyntheticBehaviorEventType, 'history.redo'>
|
|
13838
13701
|
}
|
|
@@ -13904,14 +13767,12 @@ declare const syntheticBehaviorEventTypes: readonly [
|
|
|
13904
13767
|
'annotation.remove',
|
|
13905
13768
|
'block.set',
|
|
13906
13769
|
'block.unset',
|
|
13907
|
-
'blur',
|
|
13908
13770
|
'decorator.add',
|
|
13909
13771
|
'decorator.remove',
|
|
13910
13772
|
'delete',
|
|
13911
13773
|
'delete.backward',
|
|
13912
13774
|
'delete.block',
|
|
13913
13775
|
'delete.forward',
|
|
13914
|
-
'focus',
|
|
13915
13776
|
'history.redo',
|
|
13916
13777
|
'history.undo',
|
|
13917
13778
|
'insert.inline object',
|