@portabletext/editor 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_chunks-cjs/behavior.core.cjs +131 -36
- package/lib/_chunks-cjs/behavior.core.cjs.map +1 -1
- package/lib/_chunks-cjs/selector.get-text-before.cjs +8 -8
- package/lib/_chunks-cjs/selector.get-text-before.cjs.map +1 -1
- package/lib/_chunks-cjs/{selector.is-active-style.cjs → selector.is-at-the-start-of-block.cjs} +29 -3
- package/lib/_chunks-cjs/selector.is-at-the-start-of-block.cjs.map +1 -0
- package/lib/_chunks-cjs/util.is-empty-text-block.cjs +2 -2
- package/lib/_chunks-cjs/util.is-empty-text-block.cjs.map +1 -1
- package/lib/_chunks-cjs/util.is-equal-selection-points.cjs +46 -0
- package/lib/_chunks-cjs/util.is-equal-selection-points.cjs.map +1 -0
- package/lib/_chunks-cjs/util.reverse-selection.cjs +0 -16
- package/lib/_chunks-cjs/util.reverse-selection.cjs.map +1 -1
- package/lib/_chunks-es/behavior.core.js +99 -4
- package/lib/_chunks-es/behavior.core.js.map +1 -1
- package/lib/_chunks-es/selector.get-text-before.js +2 -2
- package/lib/_chunks-es/{selector.is-active-style.js → selector.is-at-the-start-of-block.js} +29 -2
- package/lib/_chunks-es/selector.is-at-the-start-of-block.js.map +1 -0
- package/lib/_chunks-es/util.is-empty-text-block.js +1 -1
- package/lib/_chunks-es/util.is-equal-selection-points.js +47 -0
- package/lib/_chunks-es/util.is-equal-selection-points.js.map +1 -0
- package/lib/_chunks-es/util.reverse-selection.js +0 -16
- package/lib/_chunks-es/util.reverse-selection.js.map +1 -1
- package/lib/behaviors/index.cjs +27 -27
- package/lib/behaviors/index.cjs.map +1 -1
- package/lib/behaviors/index.d.cts +413 -0
- package/lib/behaviors/index.d.ts +413 -0
- package/lib/behaviors/index.js +1 -1
- package/lib/index.cjs +147 -106
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1653 -222
- package/lib/index.d.ts +1653 -222
- package/lib/index.js +143 -102
- package/lib/index.js.map +1 -1
- package/lib/selectors/index.cjs +25 -23
- package/lib/selectors/index.cjs.map +1 -1
- package/lib/selectors/index.d.cts +16 -0
- package/lib/selectors/index.d.ts +16 -0
- package/lib/selectors/index.js +3 -1
- package/lib/utils/index.cjs +5 -3
- package/lib/utils/index.cjs.map +1 -1
- package/lib/utils/index.d.cts +19 -0
- package/lib/utils/index.d.ts +19 -0
- package/lib/utils/index.js +4 -2
- package/package.json +1 -1
- package/src/behavior-actions/behavior.action-utils.insert-block.ts +3 -3
- package/src/behavior-actions/behavior.action.block.set.ts +23 -0
- package/src/behavior-actions/behavior.action.block.unset.ts +21 -0
- package/src/behavior-actions/behavior.action.insert-break.ts +2 -69
- package/src/behavior-actions/behavior.action.insert.block.ts +29 -0
- package/src/behavior-actions/behavior.actions.ts +28 -9
- package/src/behaviors/behavior.core.insert-break.ts +122 -0
- package/src/behaviors/behavior.core.ts +6 -2
- package/src/behaviors/behavior.types.ts +16 -1
- package/src/converters/converter.json.ts +4 -4
- package/src/converters/converter.portable-text.deserialize.test.ts +1 -1
- package/src/converters/converter.portable-text.ts +4 -4
- package/src/converters/converter.text-html.deserialize.test.ts +1 -1
- package/src/converters/converter.text-html.serialize.test.ts +1 -1
- package/src/converters/converter.text-html.ts +4 -4
- package/src/converters/converter.text-plain.test.ts +1 -1
- package/src/converters/converter.text-plain.ts +3 -3
- package/src/converters/{converter.ts → converter.types.ts} +6 -0
- package/src/editor/create-editor.ts +4 -1
- package/src/editor/editor-machine.ts +8 -2
- package/src/editor/editor-snapshot.ts +1 -1
- package/src/editor/plugins/__tests__/withPortableTextMarkModel.test.tsx +2 -2
- package/src/editor/plugins/create-with-event-listeners.ts +3 -0
- package/src/selectors/index.ts +2 -0
- package/src/selectors/selector.is-at-the-end-of-block.ts +22 -0
- package/src/selectors/selector.is-at-the-start-of-block.ts +25 -0
- package/src/selectors/selector.is-selection-collapsed.ts +6 -2
- package/src/utils/index.ts +2 -0
- package/src/utils/util.get-block-end-point.ts +34 -0
- package/src/utils/util.is-equal-selection-points.ts +13 -0
- package/lib/_chunks-cjs/selector.is-active-style.cjs.map +0 -1
- package/lib/_chunks-cjs/util.is-keyed-segment.cjs +0 -6
- package/lib/_chunks-cjs/util.is-keyed-segment.cjs.map +0 -1
- package/lib/_chunks-es/selector.is-active-style.js.map +0 -1
- package/lib/_chunks-es/util.is-keyed-segment.js +0 -7
- package/lib/_chunks-es/util.is-keyed-segment.js.map +0 -1
- /package/src/converters/{converters.ts → converters.core.ts} +0 -0
|
@@ -166,6 +166,8 @@ export declare const coreBehavior: {
|
|
|
166
166
|
| 'annotation.add'
|
|
167
167
|
| 'annotation.remove'
|
|
168
168
|
| 'annotation.toggle'
|
|
169
|
+
| 'block.set'
|
|
170
|
+
| 'block.unset'
|
|
169
171
|
| 'blur'
|
|
170
172
|
| 'data transfer.set'
|
|
171
173
|
| 'decorator.add'
|
|
@@ -180,6 +182,7 @@ export declare const coreBehavior: {
|
|
|
180
182
|
| 'insert.inline object'
|
|
181
183
|
| 'insert.break'
|
|
182
184
|
| 'insert.soft break'
|
|
185
|
+
| 'insert.block'
|
|
183
186
|
| 'insert.span'
|
|
184
187
|
| 'insert.text'
|
|
185
188
|
| 'insert.text block'
|
|
@@ -216,6 +219,8 @@ export declare const coreBehavior: {
|
|
|
216
219
|
| 'annotation.add'
|
|
217
220
|
| 'annotation.remove'
|
|
218
221
|
| 'annotation.toggle'
|
|
222
|
+
| 'block.set'
|
|
223
|
+
| 'block.unset'
|
|
219
224
|
| 'blur'
|
|
220
225
|
| 'data transfer.set'
|
|
221
226
|
| 'decorator.add'
|
|
@@ -230,6 +235,7 @@ export declare const coreBehavior: {
|
|
|
230
235
|
| 'insert.inline object'
|
|
231
236
|
| 'insert.break'
|
|
232
237
|
| 'insert.soft break'
|
|
238
|
+
| 'insert.block'
|
|
233
239
|
| 'insert.span'
|
|
234
240
|
| 'insert.text'
|
|
235
241
|
| 'insert.text block'
|
|
@@ -265,6 +271,8 @@ export declare const coreBehavior: {
|
|
|
265
271
|
| 'annotation.add'
|
|
266
272
|
| 'annotation.remove'
|
|
267
273
|
| 'annotation.toggle'
|
|
274
|
+
| 'block.set'
|
|
275
|
+
| 'block.unset'
|
|
268
276
|
| 'blur'
|
|
269
277
|
| 'data transfer.set'
|
|
270
278
|
| 'decorator.add'
|
|
@@ -279,6 +287,7 @@ export declare const coreBehavior: {
|
|
|
279
287
|
| 'insert.inline object'
|
|
280
288
|
| 'insert.break'
|
|
281
289
|
| 'insert.soft break'
|
|
290
|
+
| 'insert.block'
|
|
282
291
|
| 'insert.span'
|
|
283
292
|
| 'insert.text'
|
|
284
293
|
| 'insert.text block'
|
|
@@ -315,6 +324,8 @@ export declare const coreBehavior: {
|
|
|
315
324
|
| 'annotation.add'
|
|
316
325
|
| 'annotation.remove'
|
|
317
326
|
| 'annotation.toggle'
|
|
327
|
+
| 'block.set'
|
|
328
|
+
| 'block.unset'
|
|
318
329
|
| 'blur'
|
|
319
330
|
| 'data transfer.set'
|
|
320
331
|
| 'decorator.add'
|
|
@@ -329,6 +340,7 @@ export declare const coreBehavior: {
|
|
|
329
340
|
| 'insert.inline object'
|
|
330
341
|
| 'insert.break'
|
|
331
342
|
| 'insert.soft break'
|
|
343
|
+
| 'insert.block'
|
|
332
344
|
| 'insert.span'
|
|
333
345
|
| 'insert.text'
|
|
334
346
|
| 'insert.text block'
|
|
@@ -365,6 +377,8 @@ export declare const coreBehavior: {
|
|
|
365
377
|
| 'annotation.add'
|
|
366
378
|
| 'annotation.remove'
|
|
367
379
|
| 'annotation.toggle'
|
|
380
|
+
| 'block.set'
|
|
381
|
+
| 'block.unset'
|
|
368
382
|
| 'blur'
|
|
369
383
|
| 'data transfer.set'
|
|
370
384
|
| 'decorator.add'
|
|
@@ -379,6 +393,7 @@ export declare const coreBehavior: {
|
|
|
379
393
|
| 'insert.inline object'
|
|
380
394
|
| 'insert.break'
|
|
381
395
|
| 'insert.soft break'
|
|
396
|
+
| 'insert.block'
|
|
382
397
|
| 'insert.span'
|
|
383
398
|
| 'insert.text'
|
|
384
399
|
| 'insert.text block'
|
|
@@ -415,6 +430,8 @@ export declare const coreBehavior: {
|
|
|
415
430
|
| 'annotation.add'
|
|
416
431
|
| 'annotation.remove'
|
|
417
432
|
| 'annotation.toggle'
|
|
433
|
+
| 'block.set'
|
|
434
|
+
| 'block.unset'
|
|
418
435
|
| 'blur'
|
|
419
436
|
| 'data transfer.set'
|
|
420
437
|
| 'decorator.add'
|
|
@@ -429,6 +446,7 @@ export declare const coreBehavior: {
|
|
|
429
446
|
| 'insert.inline object'
|
|
430
447
|
| 'insert.break'
|
|
431
448
|
| 'insert.soft break'
|
|
449
|
+
| 'insert.block'
|
|
432
450
|
| 'insert.span'
|
|
433
451
|
| 'insert.text'
|
|
434
452
|
| 'insert.text block'
|
|
@@ -464,6 +482,8 @@ export declare const coreBehavior: {
|
|
|
464
482
|
| 'annotation.add'
|
|
465
483
|
| 'annotation.remove'
|
|
466
484
|
| 'annotation.toggle'
|
|
485
|
+
| 'block.set'
|
|
486
|
+
| 'block.unset'
|
|
467
487
|
| 'blur'
|
|
468
488
|
| 'data transfer.set'
|
|
469
489
|
| 'decorator.add'
|
|
@@ -478,6 +498,7 @@ export declare const coreBehavior: {
|
|
|
478
498
|
| 'insert.inline object'
|
|
479
499
|
| 'insert.break'
|
|
480
500
|
| 'insert.soft break'
|
|
501
|
+
| 'insert.block'
|
|
481
502
|
| 'insert.span'
|
|
482
503
|
| 'insert.text'
|
|
483
504
|
| 'insert.text block'
|
|
@@ -514,6 +535,8 @@ export declare const coreBehavior: {
|
|
|
514
535
|
| 'annotation.add'
|
|
515
536
|
| 'annotation.remove'
|
|
516
537
|
| 'annotation.toggle'
|
|
538
|
+
| 'block.set'
|
|
539
|
+
| 'block.unset'
|
|
517
540
|
| 'blur'
|
|
518
541
|
| 'data transfer.set'
|
|
519
542
|
| 'decorator.add'
|
|
@@ -528,6 +551,7 @@ export declare const coreBehavior: {
|
|
|
528
551
|
| 'insert.inline object'
|
|
529
552
|
| 'insert.break'
|
|
530
553
|
| 'insert.soft break'
|
|
554
|
+
| 'insert.block'
|
|
531
555
|
| 'insert.span'
|
|
532
556
|
| 'insert.text'
|
|
533
557
|
| 'insert.text block'
|
|
@@ -563,6 +587,8 @@ export declare const coreBehavior: {
|
|
|
563
587
|
| 'annotation.add'
|
|
564
588
|
| 'annotation.remove'
|
|
565
589
|
| 'annotation.toggle'
|
|
590
|
+
| 'block.set'
|
|
591
|
+
| 'block.unset'
|
|
566
592
|
| 'blur'
|
|
567
593
|
| 'data transfer.set'
|
|
568
594
|
| 'decorator.add'
|
|
@@ -577,6 +603,7 @@ export declare const coreBehavior: {
|
|
|
577
603
|
| 'insert.inline object'
|
|
578
604
|
| 'insert.break'
|
|
579
605
|
| 'insert.soft break'
|
|
606
|
+
| 'insert.block'
|
|
580
607
|
| 'insert.span'
|
|
581
608
|
| 'insert.text'
|
|
582
609
|
| 'insert.text block'
|
|
@@ -613,6 +640,8 @@ export declare const coreBehavior: {
|
|
|
613
640
|
| 'annotation.add'
|
|
614
641
|
| 'annotation.remove'
|
|
615
642
|
| 'annotation.toggle'
|
|
643
|
+
| 'block.set'
|
|
644
|
+
| 'block.unset'
|
|
616
645
|
| 'blur'
|
|
617
646
|
| 'data transfer.set'
|
|
618
647
|
| 'decorator.add'
|
|
@@ -627,6 +656,7 @@ export declare const coreBehavior: {
|
|
|
627
656
|
| 'insert.inline object'
|
|
628
657
|
| 'insert.break'
|
|
629
658
|
| 'insert.soft break'
|
|
659
|
+
| 'insert.block'
|
|
630
660
|
| 'insert.span'
|
|
631
661
|
| 'insert.text'
|
|
632
662
|
| 'insert.text block'
|
|
@@ -663,6 +693,8 @@ export declare const coreBehavior: {
|
|
|
663
693
|
| 'annotation.add'
|
|
664
694
|
| 'annotation.remove'
|
|
665
695
|
| 'annotation.toggle'
|
|
696
|
+
| 'block.set'
|
|
697
|
+
| 'block.unset'
|
|
666
698
|
| 'blur'
|
|
667
699
|
| 'data transfer.set'
|
|
668
700
|
| 'decorator.add'
|
|
@@ -677,6 +709,7 @@ export declare const coreBehavior: {
|
|
|
677
709
|
| 'insert.inline object'
|
|
678
710
|
| 'insert.break'
|
|
679
711
|
| 'insert.soft break'
|
|
712
|
+
| 'insert.block'
|
|
680
713
|
| 'insert.span'
|
|
681
714
|
| 'insert.text'
|
|
682
715
|
| 'insert.text block'
|
|
@@ -713,6 +746,8 @@ export declare const coreBehavior: {
|
|
|
713
746
|
| 'annotation.add'
|
|
714
747
|
| 'annotation.remove'
|
|
715
748
|
| 'annotation.toggle'
|
|
749
|
+
| 'block.set'
|
|
750
|
+
| 'block.unset'
|
|
716
751
|
| 'blur'
|
|
717
752
|
| 'data transfer.set'
|
|
718
753
|
| 'decorator.add'
|
|
@@ -727,6 +762,7 @@ export declare const coreBehavior: {
|
|
|
727
762
|
| 'insert.inline object'
|
|
728
763
|
| 'insert.break'
|
|
729
764
|
| 'insert.soft break'
|
|
765
|
+
| 'insert.block'
|
|
730
766
|
| 'insert.span'
|
|
731
767
|
| 'insert.text'
|
|
732
768
|
| 'insert.text block'
|
|
@@ -762,6 +798,8 @@ export declare const coreBehavior: {
|
|
|
762
798
|
| 'annotation.add'
|
|
763
799
|
| 'annotation.remove'
|
|
764
800
|
| 'annotation.toggle'
|
|
801
|
+
| 'block.set'
|
|
802
|
+
| 'block.unset'
|
|
765
803
|
| 'blur'
|
|
766
804
|
| 'data transfer.set'
|
|
767
805
|
| 'decorator.add'
|
|
@@ -776,6 +814,7 @@ export declare const coreBehavior: {
|
|
|
776
814
|
| 'insert.inline object'
|
|
777
815
|
| 'insert.break'
|
|
778
816
|
| 'insert.soft break'
|
|
817
|
+
| 'insert.block'
|
|
779
818
|
| 'insert.span'
|
|
780
819
|
| 'insert.text'
|
|
781
820
|
| 'insert.text block'
|
|
@@ -812,6 +851,8 @@ export declare const coreBehavior: {
|
|
|
812
851
|
| 'annotation.add'
|
|
813
852
|
| 'annotation.remove'
|
|
814
853
|
| 'annotation.toggle'
|
|
854
|
+
| 'block.set'
|
|
855
|
+
| 'block.unset'
|
|
815
856
|
| 'blur'
|
|
816
857
|
| 'data transfer.set'
|
|
817
858
|
| 'decorator.add'
|
|
@@ -826,6 +867,7 @@ export declare const coreBehavior: {
|
|
|
826
867
|
| 'insert.inline object'
|
|
827
868
|
| 'insert.break'
|
|
828
869
|
| 'insert.soft break'
|
|
870
|
+
| 'insert.block'
|
|
829
871
|
| 'insert.span'
|
|
830
872
|
| 'insert.text'
|
|
831
873
|
| 'insert.text block'
|
|
@@ -863,6 +905,8 @@ export declare const coreBehavior: {
|
|
|
863
905
|
| 'annotation.add'
|
|
864
906
|
| 'annotation.remove'
|
|
865
907
|
| 'annotation.toggle'
|
|
908
|
+
| 'block.set'
|
|
909
|
+
| 'block.unset'
|
|
866
910
|
| 'blur'
|
|
867
911
|
| 'data transfer.set'
|
|
868
912
|
| 'decorator.add'
|
|
@@ -877,6 +921,7 @@ export declare const coreBehavior: {
|
|
|
877
921
|
| 'insert.inline object'
|
|
878
922
|
| 'insert.break'
|
|
879
923
|
| 'insert.soft break'
|
|
924
|
+
| 'insert.block'
|
|
880
925
|
| 'insert.span'
|
|
881
926
|
| 'insert.text'
|
|
882
927
|
| 'insert.text block'
|
|
@@ -913,6 +958,8 @@ export declare const coreBehavior: {
|
|
|
913
958
|
| 'annotation.add'
|
|
914
959
|
| 'annotation.remove'
|
|
915
960
|
| 'annotation.toggle'
|
|
961
|
+
| 'block.set'
|
|
962
|
+
| 'block.unset'
|
|
916
963
|
| 'blur'
|
|
917
964
|
| 'data transfer.set'
|
|
918
965
|
| 'decorator.add'
|
|
@@ -927,6 +974,7 @@ export declare const coreBehavior: {
|
|
|
927
974
|
| 'insert.inline object'
|
|
928
975
|
| 'insert.break'
|
|
929
976
|
| 'insert.soft break'
|
|
977
|
+
| 'insert.block'
|
|
930
978
|
| 'insert.span'
|
|
931
979
|
| 'insert.text'
|
|
932
980
|
| 'insert.text block'
|
|
@@ -962,6 +1010,8 @@ export declare const coreBehavior: {
|
|
|
962
1010
|
| 'annotation.add'
|
|
963
1011
|
| 'annotation.remove'
|
|
964
1012
|
| 'annotation.toggle'
|
|
1013
|
+
| 'block.set'
|
|
1014
|
+
| 'block.unset'
|
|
965
1015
|
| 'blur'
|
|
966
1016
|
| 'data transfer.set'
|
|
967
1017
|
| 'decorator.add'
|
|
@@ -976,6 +1026,7 @@ export declare const coreBehavior: {
|
|
|
976
1026
|
| 'insert.inline object'
|
|
977
1027
|
| 'insert.break'
|
|
978
1028
|
| 'insert.soft break'
|
|
1029
|
+
| 'insert.block'
|
|
979
1030
|
| 'insert.span'
|
|
980
1031
|
| 'insert.text'
|
|
981
1032
|
| 'insert.text block'
|
|
@@ -1012,6 +1063,8 @@ export declare const coreBehavior: {
|
|
|
1012
1063
|
| 'annotation.add'
|
|
1013
1064
|
| 'annotation.remove'
|
|
1014
1065
|
| 'annotation.toggle'
|
|
1066
|
+
| 'block.set'
|
|
1067
|
+
| 'block.unset'
|
|
1015
1068
|
| 'blur'
|
|
1016
1069
|
| 'data transfer.set'
|
|
1017
1070
|
| 'decorator.add'
|
|
@@ -1026,6 +1079,7 @@ export declare const coreBehavior: {
|
|
|
1026
1079
|
| 'insert.inline object'
|
|
1027
1080
|
| 'insert.break'
|
|
1028
1081
|
| 'insert.soft break'
|
|
1082
|
+
| 'insert.block'
|
|
1029
1083
|
| 'insert.span'
|
|
1030
1084
|
| 'insert.text'
|
|
1031
1085
|
| 'insert.text block'
|
|
@@ -1061,6 +1115,8 @@ export declare const coreBehavior: {
|
|
|
1061
1115
|
| 'annotation.add'
|
|
1062
1116
|
| 'annotation.remove'
|
|
1063
1117
|
| 'annotation.toggle'
|
|
1118
|
+
| 'block.set'
|
|
1119
|
+
| 'block.unset'
|
|
1064
1120
|
| 'blur'
|
|
1065
1121
|
| 'data transfer.set'
|
|
1066
1122
|
| 'decorator.add'
|
|
@@ -1075,6 +1131,7 @@ export declare const coreBehavior: {
|
|
|
1075
1131
|
| 'insert.inline object'
|
|
1076
1132
|
| 'insert.break'
|
|
1077
1133
|
| 'insert.soft break'
|
|
1134
|
+
| 'insert.block'
|
|
1078
1135
|
| 'insert.span'
|
|
1079
1136
|
| 'insert.text'
|
|
1080
1137
|
| 'insert.text block'
|
|
@@ -1111,6 +1168,8 @@ export declare const coreBehavior: {
|
|
|
1111
1168
|
| 'annotation.add'
|
|
1112
1169
|
| 'annotation.remove'
|
|
1113
1170
|
| 'annotation.toggle'
|
|
1171
|
+
| 'block.set'
|
|
1172
|
+
| 'block.unset'
|
|
1114
1173
|
| 'blur'
|
|
1115
1174
|
| 'data transfer.set'
|
|
1116
1175
|
| 'decorator.add'
|
|
@@ -1125,6 +1184,7 @@ export declare const coreBehavior: {
|
|
|
1125
1184
|
| 'insert.inline object'
|
|
1126
1185
|
| 'insert.break'
|
|
1127
1186
|
| 'insert.soft break'
|
|
1187
|
+
| 'insert.block'
|
|
1128
1188
|
| 'insert.span'
|
|
1129
1189
|
| 'insert.text'
|
|
1130
1190
|
| 'insert.text block'
|
|
@@ -1160,6 +1220,8 @@ export declare const coreBehavior: {
|
|
|
1160
1220
|
| 'annotation.add'
|
|
1161
1221
|
| 'annotation.remove'
|
|
1162
1222
|
| 'annotation.toggle'
|
|
1223
|
+
| 'block.set'
|
|
1224
|
+
| 'block.unset'
|
|
1163
1225
|
| 'blur'
|
|
1164
1226
|
| 'data transfer.set'
|
|
1165
1227
|
| 'decorator.add'
|
|
@@ -1174,6 +1236,7 @@ export declare const coreBehavior: {
|
|
|
1174
1236
|
| 'insert.inline object'
|
|
1175
1237
|
| 'insert.break'
|
|
1176
1238
|
| 'insert.soft break'
|
|
1239
|
+
| 'insert.block'
|
|
1177
1240
|
| 'insert.span'
|
|
1178
1241
|
| 'insert.text'
|
|
1179
1242
|
| 'insert.text block'
|
|
@@ -1210,6 +1273,8 @@ export declare const coreBehavior: {
|
|
|
1210
1273
|
| 'annotation.add'
|
|
1211
1274
|
| 'annotation.remove'
|
|
1212
1275
|
| 'annotation.toggle'
|
|
1276
|
+
| 'block.set'
|
|
1277
|
+
| 'block.unset'
|
|
1213
1278
|
| 'blur'
|
|
1214
1279
|
| 'data transfer.set'
|
|
1215
1280
|
| 'decorator.add'
|
|
@@ -1224,6 +1289,7 @@ export declare const coreBehavior: {
|
|
|
1224
1289
|
| 'insert.inline object'
|
|
1225
1290
|
| 'insert.break'
|
|
1226
1291
|
| 'insert.soft break'
|
|
1292
|
+
| 'insert.block'
|
|
1227
1293
|
| 'insert.span'
|
|
1228
1294
|
| 'insert.text'
|
|
1229
1295
|
| 'insert.text block'
|
|
@@ -1259,6 +1325,8 @@ export declare const coreBehavior: {
|
|
|
1259
1325
|
| 'annotation.add'
|
|
1260
1326
|
| 'annotation.remove'
|
|
1261
1327
|
| 'annotation.toggle'
|
|
1328
|
+
| 'block.set'
|
|
1329
|
+
| 'block.unset'
|
|
1262
1330
|
| 'blur'
|
|
1263
1331
|
| 'data transfer.set'
|
|
1264
1332
|
| 'decorator.add'
|
|
@@ -1273,6 +1341,7 @@ export declare const coreBehavior: {
|
|
|
1273
1341
|
| 'insert.inline object'
|
|
1274
1342
|
| 'insert.break'
|
|
1275
1343
|
| 'insert.soft break'
|
|
1344
|
+
| 'insert.block'
|
|
1276
1345
|
| 'insert.span'
|
|
1277
1346
|
| 'insert.text'
|
|
1278
1347
|
| 'insert.text block'
|
|
@@ -1309,6 +1378,8 @@ export declare const coreBehavior: {
|
|
|
1309
1378
|
| 'annotation.add'
|
|
1310
1379
|
| 'annotation.remove'
|
|
1311
1380
|
| 'annotation.toggle'
|
|
1381
|
+
| 'block.set'
|
|
1382
|
+
| 'block.unset'
|
|
1312
1383
|
| 'blur'
|
|
1313
1384
|
| 'data transfer.set'
|
|
1314
1385
|
| 'decorator.add'
|
|
@@ -1323,6 +1394,7 @@ export declare const coreBehavior: {
|
|
|
1323
1394
|
| 'insert.inline object'
|
|
1324
1395
|
| 'insert.break'
|
|
1325
1396
|
| 'insert.soft break'
|
|
1397
|
+
| 'insert.block'
|
|
1326
1398
|
| 'insert.span'
|
|
1327
1399
|
| 'insert.text'
|
|
1328
1400
|
| 'insert.text block'
|
|
@@ -1358,6 +1430,8 @@ export declare const coreBehavior: {
|
|
|
1358
1430
|
| 'annotation.add'
|
|
1359
1431
|
| 'annotation.remove'
|
|
1360
1432
|
| 'annotation.toggle'
|
|
1433
|
+
| 'block.set'
|
|
1434
|
+
| 'block.unset'
|
|
1361
1435
|
| 'blur'
|
|
1362
1436
|
| 'data transfer.set'
|
|
1363
1437
|
| 'decorator.add'
|
|
@@ -1372,6 +1446,7 @@ export declare const coreBehavior: {
|
|
|
1372
1446
|
| 'insert.inline object'
|
|
1373
1447
|
| 'insert.break'
|
|
1374
1448
|
| 'insert.soft break'
|
|
1449
|
+
| 'insert.block'
|
|
1375
1450
|
| 'insert.span'
|
|
1376
1451
|
| 'insert.text'
|
|
1377
1452
|
| 'insert.text block'
|
|
@@ -1408,6 +1483,8 @@ export declare const coreBehavior: {
|
|
|
1408
1483
|
| 'annotation.add'
|
|
1409
1484
|
| 'annotation.remove'
|
|
1410
1485
|
| 'annotation.toggle'
|
|
1486
|
+
| 'block.set'
|
|
1487
|
+
| 'block.unset'
|
|
1411
1488
|
| 'blur'
|
|
1412
1489
|
| 'data transfer.set'
|
|
1413
1490
|
| 'decorator.add'
|
|
@@ -1422,6 +1499,7 @@ export declare const coreBehavior: {
|
|
|
1422
1499
|
| 'insert.inline object'
|
|
1423
1500
|
| 'insert.break'
|
|
1424
1501
|
| 'insert.soft break'
|
|
1502
|
+
| 'insert.block'
|
|
1425
1503
|
| 'insert.span'
|
|
1426
1504
|
| 'insert.text'
|
|
1427
1505
|
| 'insert.text block'
|
|
@@ -1458,6 +1536,8 @@ export declare const coreBehavior: {
|
|
|
1458
1536
|
| 'annotation.add'
|
|
1459
1537
|
| 'annotation.remove'
|
|
1460
1538
|
| 'annotation.toggle'
|
|
1539
|
+
| 'block.set'
|
|
1540
|
+
| 'block.unset'
|
|
1461
1541
|
| 'blur'
|
|
1462
1542
|
| 'data transfer.set'
|
|
1463
1543
|
| 'decorator.add'
|
|
@@ -1472,6 +1552,7 @@ export declare const coreBehavior: {
|
|
|
1472
1552
|
| 'insert.inline object'
|
|
1473
1553
|
| 'insert.break'
|
|
1474
1554
|
| 'insert.soft break'
|
|
1555
|
+
| 'insert.block'
|
|
1475
1556
|
| 'insert.span'
|
|
1476
1557
|
| 'insert.text'
|
|
1477
1558
|
| 'insert.text block'
|
|
@@ -1508,6 +1589,8 @@ export declare const coreBehavior: {
|
|
|
1508
1589
|
| 'annotation.add'
|
|
1509
1590
|
| 'annotation.remove'
|
|
1510
1591
|
| 'annotation.toggle'
|
|
1592
|
+
| 'block.set'
|
|
1593
|
+
| 'block.unset'
|
|
1511
1594
|
| 'blur'
|
|
1512
1595
|
| 'data transfer.set'
|
|
1513
1596
|
| 'decorator.add'
|
|
@@ -1522,6 +1605,7 @@ export declare const coreBehavior: {
|
|
|
1522
1605
|
| 'insert.inline object'
|
|
1523
1606
|
| 'insert.break'
|
|
1524
1607
|
| 'insert.soft break'
|
|
1608
|
+
| 'insert.block'
|
|
1525
1609
|
| 'insert.span'
|
|
1526
1610
|
| 'insert.text'
|
|
1527
1611
|
| 'insert.text block'
|
|
@@ -1558,6 +1642,8 @@ export declare const coreBehavior: {
|
|
|
1558
1642
|
| 'annotation.add'
|
|
1559
1643
|
| 'annotation.remove'
|
|
1560
1644
|
| 'annotation.toggle'
|
|
1645
|
+
| 'block.set'
|
|
1646
|
+
| 'block.unset'
|
|
1561
1647
|
| 'blur'
|
|
1562
1648
|
| 'data transfer.set'
|
|
1563
1649
|
| 'decorator.add'
|
|
@@ -1572,6 +1658,7 @@ export declare const coreBehavior: {
|
|
|
1572
1658
|
| 'insert.inline object'
|
|
1573
1659
|
| 'insert.break'
|
|
1574
1660
|
| 'insert.soft break'
|
|
1661
|
+
| 'insert.block'
|
|
1575
1662
|
| 'insert.span'
|
|
1576
1663
|
| 'insert.text'
|
|
1577
1664
|
| 'insert.text block'
|
|
@@ -1608,6 +1695,8 @@ export declare const coreBehavior: {
|
|
|
1608
1695
|
| 'annotation.add'
|
|
1609
1696
|
| 'annotation.remove'
|
|
1610
1697
|
| 'annotation.toggle'
|
|
1698
|
+
| 'block.set'
|
|
1699
|
+
| 'block.unset'
|
|
1611
1700
|
| 'blur'
|
|
1612
1701
|
| 'data transfer.set'
|
|
1613
1702
|
| 'decorator.add'
|
|
@@ -1622,6 +1711,7 @@ export declare const coreBehavior: {
|
|
|
1622
1711
|
| 'insert.inline object'
|
|
1623
1712
|
| 'insert.break'
|
|
1624
1713
|
| 'insert.soft break'
|
|
1714
|
+
| 'insert.block'
|
|
1625
1715
|
| 'insert.span'
|
|
1626
1716
|
| 'insert.text'
|
|
1627
1717
|
| 'insert.text block'
|
|
@@ -1657,6 +1747,8 @@ export declare const coreBehavior: {
|
|
|
1657
1747
|
| 'annotation.add'
|
|
1658
1748
|
| 'annotation.remove'
|
|
1659
1749
|
| 'annotation.toggle'
|
|
1750
|
+
| 'block.set'
|
|
1751
|
+
| 'block.unset'
|
|
1660
1752
|
| 'blur'
|
|
1661
1753
|
| 'data transfer.set'
|
|
1662
1754
|
| 'decorator.add'
|
|
@@ -1671,6 +1763,7 @@ export declare const coreBehavior: {
|
|
|
1671
1763
|
| 'insert.inline object'
|
|
1672
1764
|
| 'insert.break'
|
|
1673
1765
|
| 'insert.soft break'
|
|
1766
|
+
| 'insert.block'
|
|
1674
1767
|
| 'insert.span'
|
|
1675
1768
|
| 'insert.text'
|
|
1676
1769
|
| 'insert.text block'
|
|
@@ -1707,6 +1800,8 @@ export declare const coreBehavior: {
|
|
|
1707
1800
|
| 'annotation.add'
|
|
1708
1801
|
| 'annotation.remove'
|
|
1709
1802
|
| 'annotation.toggle'
|
|
1803
|
+
| 'block.set'
|
|
1804
|
+
| 'block.unset'
|
|
1710
1805
|
| 'blur'
|
|
1711
1806
|
| 'data transfer.set'
|
|
1712
1807
|
| 'decorator.add'
|
|
@@ -1721,6 +1816,7 @@ export declare const coreBehavior: {
|
|
|
1721
1816
|
| 'insert.inline object'
|
|
1722
1817
|
| 'insert.break'
|
|
1723
1818
|
| 'insert.soft break'
|
|
1819
|
+
| 'insert.block'
|
|
1724
1820
|
| 'insert.span'
|
|
1725
1821
|
| 'insert.text'
|
|
1726
1822
|
| 'insert.text block'
|
|
@@ -1756,6 +1852,8 @@ export declare const coreBehavior: {
|
|
|
1756
1852
|
| 'annotation.add'
|
|
1757
1853
|
| 'annotation.remove'
|
|
1758
1854
|
| 'annotation.toggle'
|
|
1855
|
+
| 'block.set'
|
|
1856
|
+
| 'block.unset'
|
|
1759
1857
|
| 'blur'
|
|
1760
1858
|
| 'data transfer.set'
|
|
1761
1859
|
| 'decorator.add'
|
|
@@ -1770,6 +1868,7 @@ export declare const coreBehavior: {
|
|
|
1770
1868
|
| 'insert.inline object'
|
|
1771
1869
|
| 'insert.break'
|
|
1772
1870
|
| 'insert.soft break'
|
|
1871
|
+
| 'insert.block'
|
|
1773
1872
|
| 'insert.span'
|
|
1774
1873
|
| 'insert.text'
|
|
1775
1874
|
| 'insert.text block'
|
|
@@ -1806,6 +1905,8 @@ export declare const coreBehavior: {
|
|
|
1806
1905
|
| 'annotation.add'
|
|
1807
1906
|
| 'annotation.remove'
|
|
1808
1907
|
| 'annotation.toggle'
|
|
1908
|
+
| 'block.set'
|
|
1909
|
+
| 'block.unset'
|
|
1809
1910
|
| 'blur'
|
|
1810
1911
|
| 'data transfer.set'
|
|
1811
1912
|
| 'decorator.add'
|
|
@@ -1820,6 +1921,7 @@ export declare const coreBehavior: {
|
|
|
1820
1921
|
| 'insert.inline object'
|
|
1821
1922
|
| 'insert.break'
|
|
1822
1923
|
| 'insert.soft break'
|
|
1924
|
+
| 'insert.block'
|
|
1823
1925
|
| 'insert.span'
|
|
1824
1926
|
| 'insert.text'
|
|
1825
1927
|
| 'insert.text block'
|
|
@@ -1855,6 +1957,8 @@ export declare const coreBehavior: {
|
|
|
1855
1957
|
| 'annotation.add'
|
|
1856
1958
|
| 'annotation.remove'
|
|
1857
1959
|
| 'annotation.toggle'
|
|
1960
|
+
| 'block.set'
|
|
1961
|
+
| 'block.unset'
|
|
1858
1962
|
| 'blur'
|
|
1859
1963
|
| 'data transfer.set'
|
|
1860
1964
|
| 'decorator.add'
|
|
@@ -1869,6 +1973,7 @@ export declare const coreBehavior: {
|
|
|
1869
1973
|
| 'insert.inline object'
|
|
1870
1974
|
| 'insert.break'
|
|
1871
1975
|
| 'insert.soft break'
|
|
1976
|
+
| 'insert.block'
|
|
1872
1977
|
| 'insert.span'
|
|
1873
1978
|
| 'insert.text'
|
|
1874
1979
|
| 'insert.text block'
|
|
@@ -1905,6 +2010,8 @@ export declare const coreBehavior: {
|
|
|
1905
2010
|
| 'annotation.add'
|
|
1906
2011
|
| 'annotation.remove'
|
|
1907
2012
|
| 'annotation.toggle'
|
|
2013
|
+
| 'block.set'
|
|
2014
|
+
| 'block.unset'
|
|
1908
2015
|
| 'blur'
|
|
1909
2016
|
| 'data transfer.set'
|
|
1910
2017
|
| 'decorator.add'
|
|
@@ -1919,6 +2026,7 @@ export declare const coreBehavior: {
|
|
|
1919
2026
|
| 'insert.inline object'
|
|
1920
2027
|
| 'insert.break'
|
|
1921
2028
|
| 'insert.soft break'
|
|
2029
|
+
| 'insert.block'
|
|
1922
2030
|
| 'insert.span'
|
|
1923
2031
|
| 'insert.text'
|
|
1924
2032
|
| 'insert.text block'
|
|
@@ -1954,6 +2062,8 @@ export declare const coreBehavior: {
|
|
|
1954
2062
|
| 'annotation.add'
|
|
1955
2063
|
| 'annotation.remove'
|
|
1956
2064
|
| 'annotation.toggle'
|
|
2065
|
+
| 'block.set'
|
|
2066
|
+
| 'block.unset'
|
|
1957
2067
|
| 'blur'
|
|
1958
2068
|
| 'data transfer.set'
|
|
1959
2069
|
| 'decorator.add'
|
|
@@ -1968,6 +2078,7 @@ export declare const coreBehavior: {
|
|
|
1968
2078
|
| 'insert.inline object'
|
|
1969
2079
|
| 'insert.break'
|
|
1970
2080
|
| 'insert.soft break'
|
|
2081
|
+
| 'insert.block'
|
|
1971
2082
|
| 'insert.span'
|
|
1972
2083
|
| 'insert.text'
|
|
1973
2084
|
| 'insert.text block'
|
|
@@ -2004,6 +2115,8 @@ export declare const coreBehavior: {
|
|
|
2004
2115
|
| 'annotation.add'
|
|
2005
2116
|
| 'annotation.remove'
|
|
2006
2117
|
| 'annotation.toggle'
|
|
2118
|
+
| 'block.set'
|
|
2119
|
+
| 'block.unset'
|
|
2007
2120
|
| 'blur'
|
|
2008
2121
|
| 'data transfer.set'
|
|
2009
2122
|
| 'decorator.add'
|
|
@@ -2018,6 +2131,219 @@ export declare const coreBehavior: {
|
|
|
2018
2131
|
| 'insert.inline object'
|
|
2019
2132
|
| 'insert.break'
|
|
2020
2133
|
| 'insert.soft break'
|
|
2134
|
+
| 'insert.block'
|
|
2135
|
+
| 'insert.span'
|
|
2136
|
+
| 'insert.text'
|
|
2137
|
+
| 'insert.text block'
|
|
2138
|
+
| 'list item.add'
|
|
2139
|
+
| 'list item.remove'
|
|
2140
|
+
| 'list item.toggle'
|
|
2141
|
+
| 'move.block'
|
|
2142
|
+
| 'move.block down'
|
|
2143
|
+
| 'move.block up'
|
|
2144
|
+
| 'select.previous block'
|
|
2145
|
+
| 'select.next block'
|
|
2146
|
+
| 'style.add'
|
|
2147
|
+
| 'style.remove'
|
|
2148
|
+
| 'style.toggle'
|
|
2149
|
+
| 'text block.set'
|
|
2150
|
+
| 'text block.unset'
|
|
2151
|
+
| 'key.down'
|
|
2152
|
+
| 'key.up'
|
|
2153
|
+
| 'paste'
|
|
2154
|
+
| `custom.${string}`
|
|
2155
|
+
>
|
|
2156
|
+
>
|
|
2157
|
+
}
|
|
2158
|
+
'insertBreak': {
|
|
2159
|
+
atTheEndOfTextBlock: Behavior_2<
|
|
2160
|
+
| 'focus'
|
|
2161
|
+
| 'select'
|
|
2162
|
+
| 'serialize'
|
|
2163
|
+
| 'copy'
|
|
2164
|
+
| 'serialization.failure'
|
|
2165
|
+
| 'serialization.success'
|
|
2166
|
+
| 'deserialize'
|
|
2167
|
+
| 'deserialization.failure'
|
|
2168
|
+
| 'deserialization.success'
|
|
2169
|
+
| 'annotation.add'
|
|
2170
|
+
| 'annotation.remove'
|
|
2171
|
+
| 'annotation.toggle'
|
|
2172
|
+
| 'block.set'
|
|
2173
|
+
| 'block.unset'
|
|
2174
|
+
| 'blur'
|
|
2175
|
+
| 'data transfer.set'
|
|
2176
|
+
| 'decorator.add'
|
|
2177
|
+
| 'decorator.remove'
|
|
2178
|
+
| 'decorator.toggle'
|
|
2179
|
+
| 'delete.backward'
|
|
2180
|
+
| 'delete.block'
|
|
2181
|
+
| 'delete.forward'
|
|
2182
|
+
| 'delete.text'
|
|
2183
|
+
| 'insert.blocks'
|
|
2184
|
+
| 'insert.block object'
|
|
2185
|
+
| 'insert.inline object'
|
|
2186
|
+
| 'insert.break'
|
|
2187
|
+
| 'insert.soft break'
|
|
2188
|
+
| 'insert.block'
|
|
2189
|
+
| 'insert.span'
|
|
2190
|
+
| 'insert.text'
|
|
2191
|
+
| 'insert.text block'
|
|
2192
|
+
| 'list item.add'
|
|
2193
|
+
| 'list item.remove'
|
|
2194
|
+
| 'list item.toggle'
|
|
2195
|
+
| 'move.block'
|
|
2196
|
+
| 'move.block down'
|
|
2197
|
+
| 'move.block up'
|
|
2198
|
+
| 'select.previous block'
|
|
2199
|
+
| 'select.next block'
|
|
2200
|
+
| 'style.add'
|
|
2201
|
+
| 'style.remove'
|
|
2202
|
+
| 'style.toggle'
|
|
2203
|
+
| 'text block.set'
|
|
2204
|
+
| 'text block.unset'
|
|
2205
|
+
| 'key.down'
|
|
2206
|
+
| 'key.up'
|
|
2207
|
+
| 'paste'
|
|
2208
|
+
| `custom.${string}`,
|
|
2209
|
+
true,
|
|
2210
|
+
PickFromUnion_2<
|
|
2211
|
+
BehaviorEvent_2,
|
|
2212
|
+
'type',
|
|
2213
|
+
| 'focus'
|
|
2214
|
+
| 'select'
|
|
2215
|
+
| 'serialize'
|
|
2216
|
+
| 'copy'
|
|
2217
|
+
| 'serialization.failure'
|
|
2218
|
+
| 'serialization.success'
|
|
2219
|
+
| 'deserialize'
|
|
2220
|
+
| 'deserialization.failure'
|
|
2221
|
+
| 'deserialization.success'
|
|
2222
|
+
| 'annotation.add'
|
|
2223
|
+
| 'annotation.remove'
|
|
2224
|
+
| 'annotation.toggle'
|
|
2225
|
+
| 'block.set'
|
|
2226
|
+
| 'block.unset'
|
|
2227
|
+
| 'blur'
|
|
2228
|
+
| 'data transfer.set'
|
|
2229
|
+
| 'decorator.add'
|
|
2230
|
+
| 'decorator.remove'
|
|
2231
|
+
| 'decorator.toggle'
|
|
2232
|
+
| 'delete.backward'
|
|
2233
|
+
| 'delete.block'
|
|
2234
|
+
| 'delete.forward'
|
|
2235
|
+
| 'delete.text'
|
|
2236
|
+
| 'insert.blocks'
|
|
2237
|
+
| 'insert.block object'
|
|
2238
|
+
| 'insert.inline object'
|
|
2239
|
+
| 'insert.break'
|
|
2240
|
+
| 'insert.soft break'
|
|
2241
|
+
| 'insert.block'
|
|
2242
|
+
| 'insert.span'
|
|
2243
|
+
| 'insert.text'
|
|
2244
|
+
| 'insert.text block'
|
|
2245
|
+
| 'list item.add'
|
|
2246
|
+
| 'list item.remove'
|
|
2247
|
+
| 'list item.toggle'
|
|
2248
|
+
| 'move.block'
|
|
2249
|
+
| 'move.block down'
|
|
2250
|
+
| 'move.block up'
|
|
2251
|
+
| 'select.previous block'
|
|
2252
|
+
| 'select.next block'
|
|
2253
|
+
| 'style.add'
|
|
2254
|
+
| 'style.remove'
|
|
2255
|
+
| 'style.toggle'
|
|
2256
|
+
| 'text block.set'
|
|
2257
|
+
| 'text block.unset'
|
|
2258
|
+
| 'key.down'
|
|
2259
|
+
| 'key.up'
|
|
2260
|
+
| 'paste'
|
|
2261
|
+
| `custom.${string}`
|
|
2262
|
+
>
|
|
2263
|
+
>
|
|
2264
|
+
atTheStartOfTextBlock: Behavior_2<
|
|
2265
|
+
| 'focus'
|
|
2266
|
+
| 'select'
|
|
2267
|
+
| 'serialize'
|
|
2268
|
+
| 'copy'
|
|
2269
|
+
| 'serialization.failure'
|
|
2270
|
+
| 'serialization.success'
|
|
2271
|
+
| 'deserialize'
|
|
2272
|
+
| 'deserialization.failure'
|
|
2273
|
+
| 'deserialization.success'
|
|
2274
|
+
| 'annotation.add'
|
|
2275
|
+
| 'annotation.remove'
|
|
2276
|
+
| 'annotation.toggle'
|
|
2277
|
+
| 'block.set'
|
|
2278
|
+
| 'block.unset'
|
|
2279
|
+
| 'blur'
|
|
2280
|
+
| 'data transfer.set'
|
|
2281
|
+
| 'decorator.add'
|
|
2282
|
+
| 'decorator.remove'
|
|
2283
|
+
| 'decorator.toggle'
|
|
2284
|
+
| 'delete.backward'
|
|
2285
|
+
| 'delete.block'
|
|
2286
|
+
| 'delete.forward'
|
|
2287
|
+
| 'delete.text'
|
|
2288
|
+
| 'insert.blocks'
|
|
2289
|
+
| 'insert.block object'
|
|
2290
|
+
| 'insert.inline object'
|
|
2291
|
+
| 'insert.break'
|
|
2292
|
+
| 'insert.soft break'
|
|
2293
|
+
| 'insert.block'
|
|
2294
|
+
| 'insert.span'
|
|
2295
|
+
| 'insert.text'
|
|
2296
|
+
| 'insert.text block'
|
|
2297
|
+
| 'list item.add'
|
|
2298
|
+
| 'list item.remove'
|
|
2299
|
+
| 'list item.toggle'
|
|
2300
|
+
| 'move.block'
|
|
2301
|
+
| 'move.block down'
|
|
2302
|
+
| 'move.block up'
|
|
2303
|
+
| 'select.previous block'
|
|
2304
|
+
| 'select.next block'
|
|
2305
|
+
| 'style.add'
|
|
2306
|
+
| 'style.remove'
|
|
2307
|
+
| 'style.toggle'
|
|
2308
|
+
| 'text block.set'
|
|
2309
|
+
| 'text block.unset'
|
|
2310
|
+
| 'key.down'
|
|
2311
|
+
| 'key.up'
|
|
2312
|
+
| 'paste'
|
|
2313
|
+
| `custom.${string}`,
|
|
2314
|
+
true,
|
|
2315
|
+
PickFromUnion_2<
|
|
2316
|
+
BehaviorEvent_2,
|
|
2317
|
+
'type',
|
|
2318
|
+
| 'focus'
|
|
2319
|
+
| 'select'
|
|
2320
|
+
| 'serialize'
|
|
2321
|
+
| 'copy'
|
|
2322
|
+
| 'serialization.failure'
|
|
2323
|
+
| 'serialization.success'
|
|
2324
|
+
| 'deserialize'
|
|
2325
|
+
| 'deserialization.failure'
|
|
2326
|
+
| 'deserialization.success'
|
|
2327
|
+
| 'annotation.add'
|
|
2328
|
+
| 'annotation.remove'
|
|
2329
|
+
| 'annotation.toggle'
|
|
2330
|
+
| 'block.set'
|
|
2331
|
+
| 'block.unset'
|
|
2332
|
+
| 'blur'
|
|
2333
|
+
| 'data transfer.set'
|
|
2334
|
+
| 'decorator.add'
|
|
2335
|
+
| 'decorator.remove'
|
|
2336
|
+
| 'decorator.toggle'
|
|
2337
|
+
| 'delete.backward'
|
|
2338
|
+
| 'delete.block'
|
|
2339
|
+
| 'delete.forward'
|
|
2340
|
+
| 'delete.text'
|
|
2341
|
+
| 'insert.blocks'
|
|
2342
|
+
| 'insert.block object'
|
|
2343
|
+
| 'insert.inline object'
|
|
2344
|
+
| 'insert.break'
|
|
2345
|
+
| 'insert.soft break'
|
|
2346
|
+
| 'insert.block'
|
|
2021
2347
|
| 'insert.span'
|
|
2022
2348
|
| 'insert.text'
|
|
2023
2349
|
| 'insert.text block'
|
|
@@ -2055,6 +2381,8 @@ export declare const coreBehavior: {
|
|
|
2055
2381
|
| 'annotation.add'
|
|
2056
2382
|
| 'annotation.remove'
|
|
2057
2383
|
| 'annotation.toggle'
|
|
2384
|
+
| 'block.set'
|
|
2385
|
+
| 'block.unset'
|
|
2058
2386
|
| 'blur'
|
|
2059
2387
|
| 'data transfer.set'
|
|
2060
2388
|
| 'decorator.add'
|
|
@@ -2069,6 +2397,7 @@ export declare const coreBehavior: {
|
|
|
2069
2397
|
| 'insert.inline object'
|
|
2070
2398
|
| 'insert.break'
|
|
2071
2399
|
| 'insert.soft break'
|
|
2400
|
+
| 'insert.block'
|
|
2072
2401
|
| 'insert.span'
|
|
2073
2402
|
| 'insert.text'
|
|
2074
2403
|
| 'insert.text block'
|
|
@@ -2105,6 +2434,8 @@ export declare const coreBehavior: {
|
|
|
2105
2434
|
| 'annotation.add'
|
|
2106
2435
|
| 'annotation.remove'
|
|
2107
2436
|
| 'annotation.toggle'
|
|
2437
|
+
| 'block.set'
|
|
2438
|
+
| 'block.unset'
|
|
2108
2439
|
| 'blur'
|
|
2109
2440
|
| 'data transfer.set'
|
|
2110
2441
|
| 'decorator.add'
|
|
@@ -2119,6 +2450,7 @@ export declare const coreBehavior: {
|
|
|
2119
2450
|
| 'insert.inline object'
|
|
2120
2451
|
| 'insert.break'
|
|
2121
2452
|
| 'insert.soft break'
|
|
2453
|
+
| 'insert.block'
|
|
2122
2454
|
| 'insert.span'
|
|
2123
2455
|
| 'insert.text'
|
|
2124
2456
|
| 'insert.text block'
|
|
@@ -2154,6 +2486,8 @@ export declare const coreBehavior: {
|
|
|
2154
2486
|
| 'annotation.add'
|
|
2155
2487
|
| 'annotation.remove'
|
|
2156
2488
|
| 'annotation.toggle'
|
|
2489
|
+
| 'block.set'
|
|
2490
|
+
| 'block.unset'
|
|
2157
2491
|
| 'blur'
|
|
2158
2492
|
| 'data transfer.set'
|
|
2159
2493
|
| 'decorator.add'
|
|
@@ -2168,6 +2502,7 @@ export declare const coreBehavior: {
|
|
|
2168
2502
|
| 'insert.inline object'
|
|
2169
2503
|
| 'insert.break'
|
|
2170
2504
|
| 'insert.soft break'
|
|
2505
|
+
| 'insert.block'
|
|
2171
2506
|
| 'insert.span'
|
|
2172
2507
|
| 'insert.text'
|
|
2173
2508
|
| 'insert.text block'
|
|
@@ -2204,6 +2539,8 @@ export declare const coreBehavior: {
|
|
|
2204
2539
|
| 'annotation.add'
|
|
2205
2540
|
| 'annotation.remove'
|
|
2206
2541
|
| 'annotation.toggle'
|
|
2542
|
+
| 'block.set'
|
|
2543
|
+
| 'block.unset'
|
|
2207
2544
|
| 'blur'
|
|
2208
2545
|
| 'data transfer.set'
|
|
2209
2546
|
| 'decorator.add'
|
|
@@ -2218,6 +2555,7 @@ export declare const coreBehavior: {
|
|
|
2218
2555
|
| 'insert.inline object'
|
|
2219
2556
|
| 'insert.break'
|
|
2220
2557
|
| 'insert.soft break'
|
|
2558
|
+
| 'insert.block'
|
|
2221
2559
|
| 'insert.span'
|
|
2222
2560
|
| 'insert.text'
|
|
2223
2561
|
| 'insert.text block'
|
|
@@ -2253,6 +2591,8 @@ export declare const coreBehavior: {
|
|
|
2253
2591
|
| 'annotation.add'
|
|
2254
2592
|
| 'annotation.remove'
|
|
2255
2593
|
| 'annotation.toggle'
|
|
2594
|
+
| 'block.set'
|
|
2595
|
+
| 'block.unset'
|
|
2256
2596
|
| 'blur'
|
|
2257
2597
|
| 'data transfer.set'
|
|
2258
2598
|
| 'decorator.add'
|
|
@@ -2267,6 +2607,7 @@ export declare const coreBehavior: {
|
|
|
2267
2607
|
| 'insert.inline object'
|
|
2268
2608
|
| 'insert.break'
|
|
2269
2609
|
| 'insert.soft break'
|
|
2610
|
+
| 'insert.block'
|
|
2270
2611
|
| 'insert.span'
|
|
2271
2612
|
| 'insert.text'
|
|
2272
2613
|
| 'insert.text block'
|
|
@@ -2303,6 +2644,8 @@ export declare const coreBehavior: {
|
|
|
2303
2644
|
| 'annotation.add'
|
|
2304
2645
|
| 'annotation.remove'
|
|
2305
2646
|
| 'annotation.toggle'
|
|
2647
|
+
| 'block.set'
|
|
2648
|
+
| 'block.unset'
|
|
2306
2649
|
| 'blur'
|
|
2307
2650
|
| 'data transfer.set'
|
|
2308
2651
|
| 'decorator.add'
|
|
@@ -2317,6 +2660,7 @@ export declare const coreBehavior: {
|
|
|
2317
2660
|
| 'insert.inline object'
|
|
2318
2661
|
| 'insert.break'
|
|
2319
2662
|
| 'insert.soft break'
|
|
2663
|
+
| 'insert.block'
|
|
2320
2664
|
| 'insert.span'
|
|
2321
2665
|
| 'insert.text'
|
|
2322
2666
|
| 'insert.text block'
|
|
@@ -2352,6 +2696,8 @@ export declare const coreBehavior: {
|
|
|
2352
2696
|
| 'annotation.add'
|
|
2353
2697
|
| 'annotation.remove'
|
|
2354
2698
|
| 'annotation.toggle'
|
|
2699
|
+
| 'block.set'
|
|
2700
|
+
| 'block.unset'
|
|
2355
2701
|
| 'blur'
|
|
2356
2702
|
| 'data transfer.set'
|
|
2357
2703
|
| 'decorator.add'
|
|
@@ -2366,6 +2712,7 @@ export declare const coreBehavior: {
|
|
|
2366
2712
|
| 'insert.inline object'
|
|
2367
2713
|
| 'insert.break'
|
|
2368
2714
|
| 'insert.soft break'
|
|
2715
|
+
| 'insert.block'
|
|
2369
2716
|
| 'insert.span'
|
|
2370
2717
|
| 'insert.text'
|
|
2371
2718
|
| 'insert.text block'
|
|
@@ -2402,6 +2749,8 @@ export declare const coreBehavior: {
|
|
|
2402
2749
|
| 'annotation.add'
|
|
2403
2750
|
| 'annotation.remove'
|
|
2404
2751
|
| 'annotation.toggle'
|
|
2752
|
+
| 'block.set'
|
|
2753
|
+
| 'block.unset'
|
|
2405
2754
|
| 'blur'
|
|
2406
2755
|
| 'data transfer.set'
|
|
2407
2756
|
| 'decorator.add'
|
|
@@ -2416,6 +2765,7 @@ export declare const coreBehavior: {
|
|
|
2416
2765
|
| 'insert.inline object'
|
|
2417
2766
|
| 'insert.break'
|
|
2418
2767
|
| 'insert.soft break'
|
|
2768
|
+
| 'insert.block'
|
|
2419
2769
|
| 'insert.span'
|
|
2420
2770
|
| 'insert.text'
|
|
2421
2771
|
| 'insert.text block'
|
|
@@ -2451,6 +2801,8 @@ export declare const coreBehavior: {
|
|
|
2451
2801
|
| 'annotation.add'
|
|
2452
2802
|
| 'annotation.remove'
|
|
2453
2803
|
| 'annotation.toggle'
|
|
2804
|
+
| 'block.set'
|
|
2805
|
+
| 'block.unset'
|
|
2454
2806
|
| 'blur'
|
|
2455
2807
|
| 'data transfer.set'
|
|
2456
2808
|
| 'decorator.add'
|
|
@@ -2465,6 +2817,7 @@ export declare const coreBehavior: {
|
|
|
2465
2817
|
| 'insert.inline object'
|
|
2466
2818
|
| 'insert.break'
|
|
2467
2819
|
| 'insert.soft break'
|
|
2820
|
+
| 'insert.block'
|
|
2468
2821
|
| 'insert.span'
|
|
2469
2822
|
| 'insert.text'
|
|
2470
2823
|
| 'insert.text block'
|
|
@@ -2501,6 +2854,8 @@ export declare const coreBehavior: {
|
|
|
2501
2854
|
| 'annotation.add'
|
|
2502
2855
|
| 'annotation.remove'
|
|
2503
2856
|
| 'annotation.toggle'
|
|
2857
|
+
| 'block.set'
|
|
2858
|
+
| 'block.unset'
|
|
2504
2859
|
| 'blur'
|
|
2505
2860
|
| 'data transfer.set'
|
|
2506
2861
|
| 'decorator.add'
|
|
@@ -2515,6 +2870,7 @@ export declare const coreBehavior: {
|
|
|
2515
2870
|
| 'insert.inline object'
|
|
2516
2871
|
| 'insert.break'
|
|
2517
2872
|
| 'insert.soft break'
|
|
2873
|
+
| 'insert.block'
|
|
2518
2874
|
| 'insert.span'
|
|
2519
2875
|
| 'insert.text'
|
|
2520
2876
|
| 'insert.text block'
|
|
@@ -2550,6 +2906,8 @@ export declare const coreBehavior: {
|
|
|
2550
2906
|
| 'annotation.add'
|
|
2551
2907
|
| 'annotation.remove'
|
|
2552
2908
|
| 'annotation.toggle'
|
|
2909
|
+
| 'block.set'
|
|
2910
|
+
| 'block.unset'
|
|
2553
2911
|
| 'blur'
|
|
2554
2912
|
| 'data transfer.set'
|
|
2555
2913
|
| 'decorator.add'
|
|
@@ -2564,6 +2922,7 @@ export declare const coreBehavior: {
|
|
|
2564
2922
|
| 'insert.inline object'
|
|
2565
2923
|
| 'insert.break'
|
|
2566
2924
|
| 'insert.soft break'
|
|
2925
|
+
| 'insert.block'
|
|
2567
2926
|
| 'insert.span'
|
|
2568
2927
|
| 'insert.text'
|
|
2569
2928
|
| 'insert.text block'
|
|
@@ -2600,6 +2959,8 @@ export declare const coreBehavior: {
|
|
|
2600
2959
|
| 'annotation.add'
|
|
2601
2960
|
| 'annotation.remove'
|
|
2602
2961
|
| 'annotation.toggle'
|
|
2962
|
+
| 'block.set'
|
|
2963
|
+
| 'block.unset'
|
|
2603
2964
|
| 'blur'
|
|
2604
2965
|
| 'data transfer.set'
|
|
2605
2966
|
| 'decorator.add'
|
|
@@ -2614,6 +2975,7 @@ export declare const coreBehavior: {
|
|
|
2614
2975
|
| 'insert.inline object'
|
|
2615
2976
|
| 'insert.break'
|
|
2616
2977
|
| 'insert.soft break'
|
|
2978
|
+
| 'insert.block'
|
|
2617
2979
|
| 'insert.span'
|
|
2618
2980
|
| 'insert.text'
|
|
2619
2981
|
| 'insert.text block'
|
|
@@ -2649,6 +3011,8 @@ export declare const coreBehavior: {
|
|
|
2649
3011
|
| 'annotation.add'
|
|
2650
3012
|
| 'annotation.remove'
|
|
2651
3013
|
| 'annotation.toggle'
|
|
3014
|
+
| 'block.set'
|
|
3015
|
+
| 'block.unset'
|
|
2652
3016
|
| 'blur'
|
|
2653
3017
|
| 'data transfer.set'
|
|
2654
3018
|
| 'decorator.add'
|
|
@@ -2663,6 +3027,7 @@ export declare const coreBehavior: {
|
|
|
2663
3027
|
| 'insert.inline object'
|
|
2664
3028
|
| 'insert.break'
|
|
2665
3029
|
| 'insert.soft break'
|
|
3030
|
+
| 'insert.block'
|
|
2666
3031
|
| 'insert.span'
|
|
2667
3032
|
| 'insert.text'
|
|
2668
3033
|
| 'insert.text block'
|
|
@@ -2699,6 +3064,8 @@ export declare const coreBehavior: {
|
|
|
2699
3064
|
| 'annotation.add'
|
|
2700
3065
|
| 'annotation.remove'
|
|
2701
3066
|
| 'annotation.toggle'
|
|
3067
|
+
| 'block.set'
|
|
3068
|
+
| 'block.unset'
|
|
2702
3069
|
| 'blur'
|
|
2703
3070
|
| 'data transfer.set'
|
|
2704
3071
|
| 'decorator.add'
|
|
@@ -2713,6 +3080,7 @@ export declare const coreBehavior: {
|
|
|
2713
3080
|
| 'insert.inline object'
|
|
2714
3081
|
| 'insert.break'
|
|
2715
3082
|
| 'insert.soft break'
|
|
3083
|
+
| 'insert.block'
|
|
2716
3084
|
| 'insert.span'
|
|
2717
3085
|
| 'insert.text'
|
|
2718
3086
|
| 'insert.text block'
|
|
@@ -2754,6 +3122,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
2754
3122
|
| 'annotation.add'
|
|
2755
3123
|
| 'annotation.remove'
|
|
2756
3124
|
| 'annotation.toggle'
|
|
3125
|
+
| 'block.set'
|
|
3126
|
+
| 'block.unset'
|
|
2757
3127
|
| 'blur'
|
|
2758
3128
|
| 'data transfer.set'
|
|
2759
3129
|
| 'decorator.add'
|
|
@@ -2768,6 +3138,7 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
2768
3138
|
| 'insert.inline object'
|
|
2769
3139
|
| 'insert.break'
|
|
2770
3140
|
| 'insert.soft break'
|
|
3141
|
+
| 'insert.block'
|
|
2771
3142
|
| 'insert.span'
|
|
2772
3143
|
| 'insert.text'
|
|
2773
3144
|
| 'insert.text block'
|
|
@@ -2804,6 +3175,8 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
2804
3175
|
| 'annotation.add'
|
|
2805
3176
|
| 'annotation.remove'
|
|
2806
3177
|
| 'annotation.toggle'
|
|
3178
|
+
| 'block.set'
|
|
3179
|
+
| 'block.unset'
|
|
2807
3180
|
| 'blur'
|
|
2808
3181
|
| 'data transfer.set'
|
|
2809
3182
|
| 'decorator.add'
|
|
@@ -2818,6 +3191,7 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
2818
3191
|
| 'insert.inline object'
|
|
2819
3192
|
| 'insert.break'
|
|
2820
3193
|
| 'insert.soft break'
|
|
3194
|
+
| 'insert.block'
|
|
2821
3195
|
| 'insert.span'
|
|
2822
3196
|
| 'insert.text'
|
|
2823
3197
|
| 'insert.text block'
|
|
@@ -2859,6 +3233,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
2859
3233
|
| 'annotation.add'
|
|
2860
3234
|
| 'annotation.remove'
|
|
2861
3235
|
| 'annotation.toggle'
|
|
3236
|
+
| 'block.set'
|
|
3237
|
+
| 'block.unset'
|
|
2862
3238
|
| 'blur'
|
|
2863
3239
|
| 'data transfer.set'
|
|
2864
3240
|
| 'decorator.add'
|
|
@@ -2873,6 +3249,7 @@ export declare function createCodeEditorBehaviors(
|
|
|
2873
3249
|
| 'insert.inline object'
|
|
2874
3250
|
| 'insert.break'
|
|
2875
3251
|
| 'insert.soft break'
|
|
3252
|
+
| 'insert.block'
|
|
2876
3253
|
| 'insert.span'
|
|
2877
3254
|
| 'insert.text'
|
|
2878
3255
|
| 'insert.text block'
|
|
@@ -2909,6 +3286,8 @@ export declare function createCodeEditorBehaviors(
|
|
|
2909
3286
|
| 'annotation.add'
|
|
2910
3287
|
| 'annotation.remove'
|
|
2911
3288
|
| 'annotation.toggle'
|
|
3289
|
+
| 'block.set'
|
|
3290
|
+
| 'block.unset'
|
|
2912
3291
|
| 'blur'
|
|
2913
3292
|
| 'data transfer.set'
|
|
2914
3293
|
| 'decorator.add'
|
|
@@ -2923,6 +3302,7 @@ export declare function createCodeEditorBehaviors(
|
|
|
2923
3302
|
| 'insert.inline object'
|
|
2924
3303
|
| 'insert.break'
|
|
2925
3304
|
| 'insert.soft break'
|
|
3305
|
+
| 'insert.block'
|
|
2926
3306
|
| 'insert.span'
|
|
2927
3307
|
| 'insert.text'
|
|
2928
3308
|
| 'insert.text block'
|
|
@@ -2964,6 +3344,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
2964
3344
|
| 'annotation.add'
|
|
2965
3345
|
| 'annotation.remove'
|
|
2966
3346
|
| 'annotation.toggle'
|
|
3347
|
+
| 'block.set'
|
|
3348
|
+
| 'block.unset'
|
|
2967
3349
|
| 'blur'
|
|
2968
3350
|
| 'data transfer.set'
|
|
2969
3351
|
| 'decorator.add'
|
|
@@ -2978,6 +3360,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
2978
3360
|
| 'insert.inline object'
|
|
2979
3361
|
| 'insert.break'
|
|
2980
3362
|
| 'insert.soft break'
|
|
3363
|
+
| 'insert.block'
|
|
2981
3364
|
| 'insert.span'
|
|
2982
3365
|
| 'insert.text'
|
|
2983
3366
|
| 'insert.text block'
|
|
@@ -3014,6 +3397,8 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3014
3397
|
| 'annotation.add'
|
|
3015
3398
|
| 'annotation.remove'
|
|
3016
3399
|
| 'annotation.toggle'
|
|
3400
|
+
| 'block.set'
|
|
3401
|
+
| 'block.unset'
|
|
3017
3402
|
| 'blur'
|
|
3018
3403
|
| 'data transfer.set'
|
|
3019
3404
|
| 'decorator.add'
|
|
@@ -3028,6 +3413,7 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
3028
3413
|
| 'insert.inline object'
|
|
3029
3414
|
| 'insert.break'
|
|
3030
3415
|
| 'insert.soft break'
|
|
3416
|
+
| 'insert.block'
|
|
3031
3417
|
| 'insert.span'
|
|
3032
3418
|
| 'insert.text'
|
|
3033
3419
|
| 'insert.text block'
|
|
@@ -3069,6 +3455,8 @@ export declare function createLinkBehaviors(
|
|
|
3069
3455
|
| 'annotation.add'
|
|
3070
3456
|
| 'annotation.remove'
|
|
3071
3457
|
| 'annotation.toggle'
|
|
3458
|
+
| 'block.set'
|
|
3459
|
+
| 'block.unset'
|
|
3072
3460
|
| 'blur'
|
|
3073
3461
|
| 'data transfer.set'
|
|
3074
3462
|
| 'decorator.add'
|
|
@@ -3083,6 +3471,7 @@ export declare function createLinkBehaviors(
|
|
|
3083
3471
|
| 'insert.inline object'
|
|
3084
3472
|
| 'insert.break'
|
|
3085
3473
|
| 'insert.soft break'
|
|
3474
|
+
| 'insert.block'
|
|
3086
3475
|
| 'insert.span'
|
|
3087
3476
|
| 'insert.text'
|
|
3088
3477
|
| 'insert.text block'
|
|
@@ -3119,6 +3508,8 @@ export declare function createLinkBehaviors(
|
|
|
3119
3508
|
| 'annotation.add'
|
|
3120
3509
|
| 'annotation.remove'
|
|
3121
3510
|
| 'annotation.toggle'
|
|
3511
|
+
| 'block.set'
|
|
3512
|
+
| 'block.unset'
|
|
3122
3513
|
| 'blur'
|
|
3123
3514
|
| 'data transfer.set'
|
|
3124
3515
|
| 'decorator.add'
|
|
@@ -3133,6 +3524,7 @@ export declare function createLinkBehaviors(
|
|
|
3133
3524
|
| 'insert.inline object'
|
|
3134
3525
|
| 'insert.break'
|
|
3135
3526
|
| 'insert.soft break'
|
|
3527
|
+
| 'insert.block'
|
|
3136
3528
|
| 'insert.span'
|
|
3137
3529
|
| 'insert.text'
|
|
3138
3530
|
| 'insert.text block'
|
|
@@ -3216,6 +3608,8 @@ export declare function createMarkdownBehaviors(
|
|
|
3216
3608
|
| 'annotation.add'
|
|
3217
3609
|
| 'annotation.remove'
|
|
3218
3610
|
| 'annotation.toggle'
|
|
3611
|
+
| 'block.set'
|
|
3612
|
+
| 'block.unset'
|
|
3219
3613
|
| 'blur'
|
|
3220
3614
|
| 'data transfer.set'
|
|
3221
3615
|
| 'decorator.add'
|
|
@@ -3230,6 +3624,7 @@ export declare function createMarkdownBehaviors(
|
|
|
3230
3624
|
| 'insert.inline object'
|
|
3231
3625
|
| 'insert.break'
|
|
3232
3626
|
| 'insert.soft break'
|
|
3627
|
+
| 'insert.block'
|
|
3233
3628
|
| 'insert.span'
|
|
3234
3629
|
| 'insert.text'
|
|
3235
3630
|
| 'insert.text block'
|
|
@@ -3266,6 +3661,8 @@ export declare function createMarkdownBehaviors(
|
|
|
3266
3661
|
| 'annotation.add'
|
|
3267
3662
|
| 'annotation.remove'
|
|
3268
3663
|
| 'annotation.toggle'
|
|
3664
|
+
| 'block.set'
|
|
3665
|
+
| 'block.unset'
|
|
3269
3666
|
| 'blur'
|
|
3270
3667
|
| 'data transfer.set'
|
|
3271
3668
|
| 'decorator.add'
|
|
@@ -3280,6 +3677,7 @@ export declare function createMarkdownBehaviors(
|
|
|
3280
3677
|
| 'insert.inline object'
|
|
3281
3678
|
| 'insert.break'
|
|
3282
3679
|
| 'insert.soft break'
|
|
3680
|
+
| 'insert.block'
|
|
3283
3681
|
| 'insert.span'
|
|
3284
3682
|
| 'insert.text'
|
|
3285
3683
|
| 'insert.text block'
|
|
@@ -3550,6 +3948,16 @@ export declare type SyntheticBehaviorEvent =
|
|
|
3550
3948
|
}
|
|
3551
3949
|
}
|
|
3552
3950
|
}
|
|
3951
|
+
| {
|
|
3952
|
+
type: 'block.set'
|
|
3953
|
+
at: [KeyedSegment]
|
|
3954
|
+
[props: string]: unknown
|
|
3955
|
+
}
|
|
3956
|
+
| {
|
|
3957
|
+
type: 'block.unset'
|
|
3958
|
+
at: [KeyedSegment]
|
|
3959
|
+
props: Array<string>
|
|
3960
|
+
}
|
|
3553
3961
|
| {
|
|
3554
3962
|
type: 'blur'
|
|
3555
3963
|
}
|
|
@@ -3620,6 +4028,11 @@ export declare type SyntheticBehaviorEvent =
|
|
|
3620
4028
|
| {
|
|
3621
4029
|
type: 'insert.soft break'
|
|
3622
4030
|
}
|
|
4031
|
+
| {
|
|
4032
|
+
type: 'insert.block'
|
|
4033
|
+
block: PortableTextBlock
|
|
4034
|
+
placement: 'auto' | 'after' | 'before'
|
|
4035
|
+
}
|
|
3623
4036
|
| {
|
|
3624
4037
|
type: 'insert.span'
|
|
3625
4038
|
text: string
|