@portabletext/editor 1.48.13 → 1.48.15
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 +682 -609
- package/lib/_chunks-cjs/editor-provider.cjs.map +1 -1
- package/lib/_chunks-es/editor-provider.js +683 -610
- package/lib/_chunks-es/editor-provider.js.map +1 -1
- package/lib/behaviors/index.cjs.map +1 -1
- package/lib/behaviors/index.d.cts +226 -2772
- package/lib/behaviors/index.d.ts +226 -2772
- package/lib/behaviors/index.js.map +1 -1
- package/lib/index.cjs +22 -6
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +227 -2780
- package/lib/index.d.ts +227 -2780
- package/lib/index.js +23 -7
- package/lib/index.js.map +1 -1
- package/lib/plugins/index.cjs +1 -7
- package/lib/plugins/index.cjs.map +1 -1
- package/lib/plugins/index.d.cts +226 -2785
- package/lib/plugins/index.d.ts +226 -2785
- package/lib/plugins/index.js +2 -8
- package/lib/plugins/index.js.map +1 -1
- package/lib/selectors/index.d.cts +225 -2771
- package/lib/selectors/index.d.ts +225 -2771
- package/lib/utils/index.d.cts +227 -2772
- package/lib/utils/index.d.ts +227 -2772
- package/package.json +1 -1
- package/src/behaviors/behavior.abstract.keyboard.ts +16 -0
- package/src/behaviors/{behavior.default.ts → behavior.abstract.ts} +3 -3
- package/src/behaviors/behavior.config.ts +7 -0
- package/src/behaviors/behavior.core.ts +6 -5
- package/src/behaviors/behavior.perform-event.ts +27 -51
- package/src/behaviors/behavior.types.action.ts +1 -11
- package/src/editor/PortableTextEditor.tsx +1 -1
- package/src/editor/components/Element.tsx +30 -4
- package/src/editor/create-editor.ts +17 -5
- package/src/editor/editor-machine.ts +23 -17
- package/src/editor/mutation-machine.ts +6 -6
- package/src/editor/plugins/create-with-event-listeners.ts +25 -25
- package/src/editor/plugins/createWithEditableAPI.ts +3 -3
- package/src/editor/plugins/createWithPatches.ts +13 -5
- package/src/editor/plugins/createWithPortableTextMarkModel.ts +5 -5
- package/src/editor/plugins/createWithUndoRedo.ts +8 -8
- package/src/editor/with-applying-behavior-operations.ts +18 -0
- package/src/editor/{with-applying-behavior-actions.ts → with-undo-step.ts} +1 -19
- package/src/index.ts +1 -1
- package/src/{behavior-actions/behavior.action.annotation.add.ts → operations/behavior.operation.annotation.add.ts} +7 -7
- package/src/{behavior-actions/behavior.action.annotation.remove.ts → operations/behavior.operation.annotation.remove.ts} +6 -6
- package/src/{behavior-actions/behavior.action.block.set.ts → operations/behavior.operation.block.set.ts} +14 -14
- package/src/{behavior-actions/behavior.action.block.unset.ts → operations/behavior.operation.block.unset.ts} +19 -17
- package/src/{behavior-actions/behavior.action.decorator.add.ts → operations/behavior.operation.decorator.add.ts} +10 -10
- package/src/operations/behavior.operation.delete.backward.ts +8 -0
- package/src/operations/behavior.operation.delete.block.ts +24 -0
- package/src/operations/behavior.operation.delete.forward.ts +8 -0
- package/src/{behavior-actions/behavior.action.delete.ts → operations/behavior.operation.delete.ts} +8 -8
- package/src/{behavior-actions/behavior.action.insert-inline-object.ts → operations/behavior.operation.insert-inline-object.ts} +11 -11
- package/src/{behavior-actions/behavior.action.insert-span.ts → operations/behavior.operation.insert-span.ts} +15 -15
- package/src/{behavior-actions/behavior.action.insert.block.ts → operations/behavior.operation.insert.block.ts} +8 -8
- package/src/operations/behavior.operation.insert.text.ts +17 -0
- package/src/operations/behavior.operation.move.backward.ts +12 -0
- package/src/operations/behavior.operation.move.block.ts +16 -0
- package/src/operations/behavior.operation.move.forward.ts +11 -0
- package/src/operations/behavior.operation.select.ts +15 -0
- package/src/operations/behavior.operations.ts +239 -0
- package/src/plugins/index.ts +0 -1
- package/src/priority/priority.core.ts +3 -0
- package/src/priority/priority.sort.test.ts +319 -0
- package/src/priority/priority.sort.ts +121 -0
- package/src/priority/priority.types.ts +24 -0
- package/src/behavior-actions/behavior.action.delete.backward.ts +0 -7
- package/src/behavior-actions/behavior.action.delete.block.ts +0 -24
- package/src/behavior-actions/behavior.action.delete.forward.ts +0 -7
- package/src/behavior-actions/behavior.action.insert.text.ts +0 -17
- package/src/behavior-actions/behavior.action.move.backward.ts +0 -12
- package/src/behavior-actions/behavior.action.move.block.ts +0 -16
- package/src/behavior-actions/behavior.action.move.forward.ts +0 -11
- package/src/behavior-actions/behavior.action.select.ts +0 -15
- package/src/behavior-actions/behavior.actions.ts +0 -219
- package/src/behaviors/behavior.default.raise-soft-break.ts +0 -14
- package/src/plugins/plugin.core.tsx +0 -9
package/lib/selectors/index.d.ts
CHANGED
|
@@ -16,8 +16,7 @@ import type {
|
|
|
16
16
|
FocusEvent as FocusEvent_2,
|
|
17
17
|
KeyboardEvent as KeyboardEvent_2,
|
|
18
18
|
} from 'react'
|
|
19
|
-
import type {Descendant, Operation} from 'slate'
|
|
20
|
-
import {TextUnit} from 'slate'
|
|
19
|
+
import type {Descendant, Operation, TextUnit} from 'slate'
|
|
21
20
|
import type {DOMNode} from 'slate-dom'
|
|
22
21
|
import type {ReactEditor} from 'slate-react'
|
|
23
22
|
import {
|
|
@@ -41,22 +40,6 @@ import {
|
|
|
41
40
|
Values,
|
|
42
41
|
} from 'xstate'
|
|
43
42
|
import {GuardArgs} from 'xstate/guards'
|
|
44
|
-
import {BlockOffset as BlockOffset_2} from '..'
|
|
45
|
-
import {
|
|
46
|
-
CustomBehaviorEvent as CustomBehaviorEvent_2,
|
|
47
|
-
NativeBehaviorEvent as NativeBehaviorEvent_2,
|
|
48
|
-
} from '../behaviors'
|
|
49
|
-
import {
|
|
50
|
-
InputBehaviorEvent as InputBehaviorEvent_2,
|
|
51
|
-
InsertPlacement as InsertPlacement_2,
|
|
52
|
-
MouseBehaviorEvent as MouseBehaviorEvent_2,
|
|
53
|
-
} from '../behaviors/behavior.types.event'
|
|
54
|
-
import {MIMEType as MIMEType_2} from '../internal-utils/mime-type'
|
|
55
|
-
import {
|
|
56
|
-
PickFromUnion as PickFromUnion_2,
|
|
57
|
-
StrictExtract as StrictExtract_2,
|
|
58
|
-
} from '../type-utils'
|
|
59
|
-
import {BlockWithOptionalKey as BlockWithOptionalKey_2} from '../types/block-with-optional-key'
|
|
60
43
|
|
|
61
44
|
declare type AbstractBehaviorEvent =
|
|
62
45
|
| {
|
|
@@ -301,6 +284,11 @@ declare type BehaviorActionSet<TBehaviorEvent, TGuardResponse> = (
|
|
|
301
284
|
guardResponse: TGuardResponse,
|
|
302
285
|
) => Array<BehaviorAction>
|
|
303
286
|
|
|
287
|
+
declare type BehaviorConfig = {
|
|
288
|
+
behavior: Behavior
|
|
289
|
+
priority: EditorPriority
|
|
290
|
+
}
|
|
291
|
+
|
|
304
292
|
/**
|
|
305
293
|
* @beta
|
|
306
294
|
*/
|
|
@@ -591,7 +579,7 @@ declare type EditorContext = {
|
|
|
591
579
|
*/
|
|
592
580
|
declare const editorMachine: StateMachine<
|
|
593
581
|
{
|
|
594
|
-
behaviors: Set<
|
|
582
|
+
behaviors: Set<BehaviorConfig>
|
|
595
583
|
converters: Set<Converter>
|
|
596
584
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
597
585
|
keyGenerator: () => string
|
|
@@ -611,14 +599,6 @@ declare const editorMachine: StateMachine<
|
|
|
611
599
|
| InternalPatchEvent
|
|
612
600
|
| MutationEvent
|
|
613
601
|
| PatchesEvent
|
|
614
|
-
| {
|
|
615
|
-
type: 'add behavior'
|
|
616
|
-
behavior: Behavior
|
|
617
|
-
}
|
|
618
|
-
| {
|
|
619
|
-
type: 'remove behavior'
|
|
620
|
-
behavior: Behavior
|
|
621
|
-
}
|
|
622
602
|
| {
|
|
623
603
|
type: 'update readOnly'
|
|
624
604
|
readOnly: boolean
|
|
@@ -639,6 +619,14 @@ declare const editorMachine: StateMachine<
|
|
|
639
619
|
type: 'update maxBlocks'
|
|
640
620
|
maxBlocks: number | undefined
|
|
641
621
|
}
|
|
622
|
+
| {
|
|
623
|
+
type: 'add behavior'
|
|
624
|
+
behaviorConfig: BehaviorConfig
|
|
625
|
+
}
|
|
626
|
+
| {
|
|
627
|
+
type: 'remove behavior'
|
|
628
|
+
behaviorConfig: BehaviorConfig
|
|
629
|
+
}
|
|
642
630
|
| {
|
|
643
631
|
type: 'blur'
|
|
644
632
|
editor: PortableTextSlateEditor
|
|
@@ -935,7 +923,7 @@ declare const editorMachine: StateMachine<
|
|
|
935
923
|
self: ActorRef<
|
|
936
924
|
MachineSnapshot<
|
|
937
925
|
{
|
|
938
|
-
behaviors: Set<
|
|
926
|
+
behaviors: Set<BehaviorConfig>
|
|
939
927
|
converters: Set<Converter>
|
|
940
928
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
941
929
|
keyGenerator: () => string
|
|
@@ -955,14 +943,6 @@ declare const editorMachine: StateMachine<
|
|
|
955
943
|
| InternalPatchEvent
|
|
956
944
|
| MutationEvent
|
|
957
945
|
| PatchesEvent
|
|
958
|
-
| {
|
|
959
|
-
type: 'add behavior'
|
|
960
|
-
behavior: Behavior
|
|
961
|
-
}
|
|
962
|
-
| {
|
|
963
|
-
type: 'remove behavior'
|
|
964
|
-
behavior: Behavior
|
|
965
|
-
}
|
|
966
946
|
| {
|
|
967
947
|
type: 'update readOnly'
|
|
968
948
|
readOnly: boolean
|
|
@@ -983,6 +963,14 @@ declare const editorMachine: StateMachine<
|
|
|
983
963
|
type: 'update maxBlocks'
|
|
984
964
|
maxBlocks: number | undefined
|
|
985
965
|
}
|
|
966
|
+
| {
|
|
967
|
+
type: 'add behavior'
|
|
968
|
+
behaviorConfig: BehaviorConfig
|
|
969
|
+
}
|
|
970
|
+
| {
|
|
971
|
+
type: 'remove behavior'
|
|
972
|
+
behaviorConfig: BehaviorConfig
|
|
973
|
+
}
|
|
986
974
|
| {
|
|
987
975
|
type: 'blur'
|
|
988
976
|
editor: PortableTextSlateEditor
|
|
@@ -1088,14 +1076,6 @@ declare const editorMachine: StateMachine<
|
|
|
1088
1076
|
| InternalPatchEvent
|
|
1089
1077
|
| MutationEvent
|
|
1090
1078
|
| PatchesEvent
|
|
1091
|
-
| {
|
|
1092
|
-
type: 'add behavior'
|
|
1093
|
-
behavior: Behavior
|
|
1094
|
-
}
|
|
1095
|
-
| {
|
|
1096
|
-
type: 'remove behavior'
|
|
1097
|
-
behavior: Behavior
|
|
1098
|
-
}
|
|
1099
1079
|
| {
|
|
1100
1080
|
type: 'update readOnly'
|
|
1101
1081
|
readOnly: boolean
|
|
@@ -1116,6 +1096,14 @@ declare const editorMachine: StateMachine<
|
|
|
1116
1096
|
type: 'update maxBlocks'
|
|
1117
1097
|
maxBlocks: number | undefined
|
|
1118
1098
|
}
|
|
1099
|
+
| {
|
|
1100
|
+
type: 'add behavior'
|
|
1101
|
+
behaviorConfig: BehaviorConfig
|
|
1102
|
+
}
|
|
1103
|
+
| {
|
|
1104
|
+
type: 'remove behavior'
|
|
1105
|
+
behaviorConfig: BehaviorConfig
|
|
1106
|
+
}
|
|
1119
1107
|
| {
|
|
1120
1108
|
type: 'blur'
|
|
1121
1109
|
editor: PortableTextSlateEditor
|
|
@@ -1214,2550 +1202,7 @@ declare const editorMachine: StateMachine<
|
|
|
1214
1202
|
AnyEventObject
|
|
1215
1203
|
>
|
|
1216
1204
|
}) => {
|
|
1217
|
-
behaviors: Set<
|
|
1218
|
-
Behavior<
|
|
1219
|
-
| 'serialize'
|
|
1220
|
-
| 'clipboard.copy'
|
|
1221
|
-
| 'clipboard.cut'
|
|
1222
|
-
| 'drag.dragstart'
|
|
1223
|
-
| 'serialization.failure'
|
|
1224
|
-
| 'serialization.success'
|
|
1225
|
-
| 'deserialize'
|
|
1226
|
-
| 'deserialization.failure'
|
|
1227
|
-
| 'deserialization.success'
|
|
1228
|
-
| 'split'
|
|
1229
|
-
| 'delete'
|
|
1230
|
-
| 'select'
|
|
1231
|
-
| '*'
|
|
1232
|
-
| 'annotation.add'
|
|
1233
|
-
| 'annotation.remove'
|
|
1234
|
-
| 'block.set'
|
|
1235
|
-
| 'block.unset'
|
|
1236
|
-
| 'decorator.add'
|
|
1237
|
-
| 'decorator.remove'
|
|
1238
|
-
| 'delete.backward'
|
|
1239
|
-
| 'delete.block'
|
|
1240
|
-
| 'delete.forward'
|
|
1241
|
-
| 'history.redo'
|
|
1242
|
-
| 'history.undo'
|
|
1243
|
-
| 'insert.inline object'
|
|
1244
|
-
| 'insert.block'
|
|
1245
|
-
| 'insert.span'
|
|
1246
|
-
| 'insert.text'
|
|
1247
|
-
| 'move.backward'
|
|
1248
|
-
| 'move.block'
|
|
1249
|
-
| 'move.forward'
|
|
1250
|
-
| 'annotation.toggle'
|
|
1251
|
-
| 'decorator.toggle'
|
|
1252
|
-
| 'delete.text'
|
|
1253
|
-
| 'insert.blocks'
|
|
1254
|
-
| 'insert.break'
|
|
1255
|
-
| 'insert.soft break'
|
|
1256
|
-
| 'list item.add'
|
|
1257
|
-
| 'list item.remove'
|
|
1258
|
-
| 'list item.toggle'
|
|
1259
|
-
| 'move.block down'
|
|
1260
|
-
| 'move.block up'
|
|
1261
|
-
| 'select.previous block'
|
|
1262
|
-
| 'select.next block'
|
|
1263
|
-
| 'style.add'
|
|
1264
|
-
| 'style.remove'
|
|
1265
|
-
| 'style.toggle'
|
|
1266
|
-
| 'clipboard.paste'
|
|
1267
|
-
| 'drag.drag'
|
|
1268
|
-
| 'drag.dragend'
|
|
1269
|
-
| 'drag.dragenter'
|
|
1270
|
-
| 'drag.dragover'
|
|
1271
|
-
| 'drag.dragleave'
|
|
1272
|
-
| 'drag.drop'
|
|
1273
|
-
| 'input.*'
|
|
1274
|
-
| 'keyboard.keydown'
|
|
1275
|
-
| 'keyboard.keyup'
|
|
1276
|
-
| 'mouse.click'
|
|
1277
|
-
| 'serialize.*'
|
|
1278
|
-
| 'deserialize.*'
|
|
1279
|
-
| 'split.*'
|
|
1280
|
-
| 'block.*'
|
|
1281
|
-
| 'style.*'
|
|
1282
|
-
| 'delete.*'
|
|
1283
|
-
| 'move.*'
|
|
1284
|
-
| 'select.*'
|
|
1285
|
-
| 'history.*'
|
|
1286
|
-
| 'serialization.*'
|
|
1287
|
-
| 'deserialization.*'
|
|
1288
|
-
| 'annotation.*'
|
|
1289
|
-
| 'decorator.*'
|
|
1290
|
-
| 'insert.*'
|
|
1291
|
-
| 'list item.*'
|
|
1292
|
-
| 'clipboard.*'
|
|
1293
|
-
| 'drag.*'
|
|
1294
|
-
| 'keyboard.*'
|
|
1295
|
-
| 'mouse.*'
|
|
1296
|
-
| `custom.${string}`,
|
|
1297
|
-
true,
|
|
1298
|
-
| {
|
|
1299
|
-
type: StrictExtract_2<
|
|
1300
|
-
| 'serialize'
|
|
1301
|
-
| 'serialization.failure'
|
|
1302
|
-
| 'serialization.success'
|
|
1303
|
-
| 'deserialize'
|
|
1304
|
-
| 'deserialization.failure'
|
|
1305
|
-
| 'deserialization.success'
|
|
1306
|
-
| 'split'
|
|
1307
|
-
| 'delete'
|
|
1308
|
-
| 'select'
|
|
1309
|
-
| 'annotation.add'
|
|
1310
|
-
| 'annotation.remove'
|
|
1311
|
-
| 'block.set'
|
|
1312
|
-
| 'block.unset'
|
|
1313
|
-
| 'decorator.add'
|
|
1314
|
-
| 'decorator.remove'
|
|
1315
|
-
| 'delete.backward'
|
|
1316
|
-
| 'delete.block'
|
|
1317
|
-
| 'delete.forward'
|
|
1318
|
-
| 'history.redo'
|
|
1319
|
-
| 'history.undo'
|
|
1320
|
-
| 'insert.inline object'
|
|
1321
|
-
| 'insert.block'
|
|
1322
|
-
| 'insert.span'
|
|
1323
|
-
| 'insert.text'
|
|
1324
|
-
| 'move.backward'
|
|
1325
|
-
| 'move.block'
|
|
1326
|
-
| 'move.forward'
|
|
1327
|
-
| 'annotation.toggle'
|
|
1328
|
-
| 'decorator.toggle'
|
|
1329
|
-
| 'delete.text'
|
|
1330
|
-
| 'insert.blocks'
|
|
1331
|
-
| 'insert.break'
|
|
1332
|
-
| 'insert.soft break'
|
|
1333
|
-
| 'list item.add'
|
|
1334
|
-
| 'list item.remove'
|
|
1335
|
-
| 'list item.toggle'
|
|
1336
|
-
| 'move.block down'
|
|
1337
|
-
| 'move.block up'
|
|
1338
|
-
| 'select.previous block'
|
|
1339
|
-
| 'select.next block'
|
|
1340
|
-
| 'style.add'
|
|
1341
|
-
| 'style.remove'
|
|
1342
|
-
| 'style.toggle',
|
|
1343
|
-
'annotation.add'
|
|
1344
|
-
>
|
|
1345
|
-
annotation: {
|
|
1346
|
-
name: string
|
|
1347
|
-
value: {
|
|
1348
|
-
[prop: string]: unknown
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
| {
|
|
1353
|
-
type: StrictExtract_2<
|
|
1354
|
-
| 'serialize'
|
|
1355
|
-
| 'serialization.failure'
|
|
1356
|
-
| 'serialization.success'
|
|
1357
|
-
| 'deserialize'
|
|
1358
|
-
| 'deserialization.failure'
|
|
1359
|
-
| 'deserialization.success'
|
|
1360
|
-
| 'split'
|
|
1361
|
-
| 'delete'
|
|
1362
|
-
| 'select'
|
|
1363
|
-
| 'annotation.add'
|
|
1364
|
-
| 'annotation.remove'
|
|
1365
|
-
| 'block.set'
|
|
1366
|
-
| 'block.unset'
|
|
1367
|
-
| 'decorator.add'
|
|
1368
|
-
| 'decorator.remove'
|
|
1369
|
-
| 'delete.backward'
|
|
1370
|
-
| 'delete.block'
|
|
1371
|
-
| 'delete.forward'
|
|
1372
|
-
| 'history.redo'
|
|
1373
|
-
| 'history.undo'
|
|
1374
|
-
| 'insert.inline object'
|
|
1375
|
-
| 'insert.block'
|
|
1376
|
-
| 'insert.span'
|
|
1377
|
-
| 'insert.text'
|
|
1378
|
-
| 'move.backward'
|
|
1379
|
-
| 'move.block'
|
|
1380
|
-
| 'move.forward'
|
|
1381
|
-
| 'annotation.toggle'
|
|
1382
|
-
| 'decorator.toggle'
|
|
1383
|
-
| 'delete.text'
|
|
1384
|
-
| 'insert.blocks'
|
|
1385
|
-
| 'insert.break'
|
|
1386
|
-
| 'insert.soft break'
|
|
1387
|
-
| 'list item.add'
|
|
1388
|
-
| 'list item.remove'
|
|
1389
|
-
| 'list item.toggle'
|
|
1390
|
-
| 'move.block down'
|
|
1391
|
-
| 'move.block up'
|
|
1392
|
-
| 'select.previous block'
|
|
1393
|
-
| 'select.next block'
|
|
1394
|
-
| 'style.add'
|
|
1395
|
-
| 'style.remove'
|
|
1396
|
-
| 'style.toggle',
|
|
1397
|
-
'annotation.remove'
|
|
1398
|
-
>
|
|
1399
|
-
annotation: {
|
|
1400
|
-
name: string
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
| {
|
|
1404
|
-
type: StrictExtract_2<
|
|
1405
|
-
| 'serialize'
|
|
1406
|
-
| 'serialization.failure'
|
|
1407
|
-
| 'serialization.success'
|
|
1408
|
-
| 'deserialize'
|
|
1409
|
-
| 'deserialization.failure'
|
|
1410
|
-
| 'deserialization.success'
|
|
1411
|
-
| 'split'
|
|
1412
|
-
| 'delete'
|
|
1413
|
-
| 'select'
|
|
1414
|
-
| 'annotation.add'
|
|
1415
|
-
| 'annotation.remove'
|
|
1416
|
-
| 'block.set'
|
|
1417
|
-
| 'block.unset'
|
|
1418
|
-
| 'decorator.add'
|
|
1419
|
-
| 'decorator.remove'
|
|
1420
|
-
| 'delete.backward'
|
|
1421
|
-
| 'delete.block'
|
|
1422
|
-
| 'delete.forward'
|
|
1423
|
-
| 'history.redo'
|
|
1424
|
-
| 'history.undo'
|
|
1425
|
-
| 'insert.inline object'
|
|
1426
|
-
| 'insert.block'
|
|
1427
|
-
| 'insert.span'
|
|
1428
|
-
| 'insert.text'
|
|
1429
|
-
| 'move.backward'
|
|
1430
|
-
| 'move.block'
|
|
1431
|
-
| 'move.forward'
|
|
1432
|
-
| 'annotation.toggle'
|
|
1433
|
-
| 'decorator.toggle'
|
|
1434
|
-
| 'delete.text'
|
|
1435
|
-
| 'insert.blocks'
|
|
1436
|
-
| 'insert.break'
|
|
1437
|
-
| 'insert.soft break'
|
|
1438
|
-
| 'list item.add'
|
|
1439
|
-
| 'list item.remove'
|
|
1440
|
-
| 'list item.toggle'
|
|
1441
|
-
| 'move.block down'
|
|
1442
|
-
| 'move.block up'
|
|
1443
|
-
| 'select.previous block'
|
|
1444
|
-
| 'select.next block'
|
|
1445
|
-
| 'style.add'
|
|
1446
|
-
| 'style.remove'
|
|
1447
|
-
| 'style.toggle',
|
|
1448
|
-
'block.set'
|
|
1449
|
-
>
|
|
1450
|
-
at: [KeyedSegment]
|
|
1451
|
-
props: Record<string, unknown>
|
|
1452
|
-
}
|
|
1453
|
-
| {
|
|
1454
|
-
type: StrictExtract_2<
|
|
1455
|
-
| 'serialize'
|
|
1456
|
-
| 'serialization.failure'
|
|
1457
|
-
| 'serialization.success'
|
|
1458
|
-
| 'deserialize'
|
|
1459
|
-
| 'deserialization.failure'
|
|
1460
|
-
| 'deserialization.success'
|
|
1461
|
-
| 'split'
|
|
1462
|
-
| 'delete'
|
|
1463
|
-
| 'select'
|
|
1464
|
-
| 'annotation.add'
|
|
1465
|
-
| 'annotation.remove'
|
|
1466
|
-
| 'block.set'
|
|
1467
|
-
| 'block.unset'
|
|
1468
|
-
| 'decorator.add'
|
|
1469
|
-
| 'decorator.remove'
|
|
1470
|
-
| 'delete.backward'
|
|
1471
|
-
| 'delete.block'
|
|
1472
|
-
| 'delete.forward'
|
|
1473
|
-
| 'history.redo'
|
|
1474
|
-
| 'history.undo'
|
|
1475
|
-
| 'insert.inline object'
|
|
1476
|
-
| 'insert.block'
|
|
1477
|
-
| 'insert.span'
|
|
1478
|
-
| 'insert.text'
|
|
1479
|
-
| 'move.backward'
|
|
1480
|
-
| 'move.block'
|
|
1481
|
-
| 'move.forward'
|
|
1482
|
-
| 'annotation.toggle'
|
|
1483
|
-
| 'decorator.toggle'
|
|
1484
|
-
| 'delete.text'
|
|
1485
|
-
| 'insert.blocks'
|
|
1486
|
-
| 'insert.break'
|
|
1487
|
-
| 'insert.soft break'
|
|
1488
|
-
| 'list item.add'
|
|
1489
|
-
| 'list item.remove'
|
|
1490
|
-
| 'list item.toggle'
|
|
1491
|
-
| 'move.block down'
|
|
1492
|
-
| 'move.block up'
|
|
1493
|
-
| 'select.previous block'
|
|
1494
|
-
| 'select.next block'
|
|
1495
|
-
| 'style.add'
|
|
1496
|
-
| 'style.remove'
|
|
1497
|
-
| 'style.toggle',
|
|
1498
|
-
'block.unset'
|
|
1499
|
-
>
|
|
1500
|
-
at: [KeyedSegment]
|
|
1501
|
-
props: Array<string>
|
|
1502
|
-
}
|
|
1503
|
-
| {
|
|
1504
|
-
type: StrictExtract_2<
|
|
1505
|
-
| 'serialize'
|
|
1506
|
-
| 'serialization.failure'
|
|
1507
|
-
| 'serialization.success'
|
|
1508
|
-
| 'deserialize'
|
|
1509
|
-
| 'deserialization.failure'
|
|
1510
|
-
| 'deserialization.success'
|
|
1511
|
-
| 'split'
|
|
1512
|
-
| 'delete'
|
|
1513
|
-
| 'select'
|
|
1514
|
-
| 'annotation.add'
|
|
1515
|
-
| 'annotation.remove'
|
|
1516
|
-
| 'block.set'
|
|
1517
|
-
| 'block.unset'
|
|
1518
|
-
| 'decorator.add'
|
|
1519
|
-
| 'decorator.remove'
|
|
1520
|
-
| 'delete.backward'
|
|
1521
|
-
| 'delete.block'
|
|
1522
|
-
| 'delete.forward'
|
|
1523
|
-
| 'history.redo'
|
|
1524
|
-
| 'history.undo'
|
|
1525
|
-
| 'insert.inline object'
|
|
1526
|
-
| 'insert.block'
|
|
1527
|
-
| 'insert.span'
|
|
1528
|
-
| 'insert.text'
|
|
1529
|
-
| 'move.backward'
|
|
1530
|
-
| 'move.block'
|
|
1531
|
-
| 'move.forward'
|
|
1532
|
-
| 'annotation.toggle'
|
|
1533
|
-
| 'decorator.toggle'
|
|
1534
|
-
| 'delete.text'
|
|
1535
|
-
| 'insert.blocks'
|
|
1536
|
-
| 'insert.break'
|
|
1537
|
-
| 'insert.soft break'
|
|
1538
|
-
| 'list item.add'
|
|
1539
|
-
| 'list item.remove'
|
|
1540
|
-
| 'list item.toggle'
|
|
1541
|
-
| 'move.block down'
|
|
1542
|
-
| 'move.block up'
|
|
1543
|
-
| 'select.previous block'
|
|
1544
|
-
| 'select.next block'
|
|
1545
|
-
| 'style.add'
|
|
1546
|
-
| 'style.remove'
|
|
1547
|
-
| 'style.toggle',
|
|
1548
|
-
'decorator.add'
|
|
1549
|
-
>
|
|
1550
|
-
decorator: string
|
|
1551
|
-
at?: {
|
|
1552
|
-
anchor: BlockOffset_2
|
|
1553
|
-
focus: BlockOffset_2
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
| {
|
|
1557
|
-
type: StrictExtract_2<
|
|
1558
|
-
| 'serialize'
|
|
1559
|
-
| 'serialization.failure'
|
|
1560
|
-
| 'serialization.success'
|
|
1561
|
-
| 'deserialize'
|
|
1562
|
-
| 'deserialization.failure'
|
|
1563
|
-
| 'deserialization.success'
|
|
1564
|
-
| 'split'
|
|
1565
|
-
| 'delete'
|
|
1566
|
-
| 'select'
|
|
1567
|
-
| 'annotation.add'
|
|
1568
|
-
| 'annotation.remove'
|
|
1569
|
-
| 'block.set'
|
|
1570
|
-
| 'block.unset'
|
|
1571
|
-
| 'decorator.add'
|
|
1572
|
-
| 'decorator.remove'
|
|
1573
|
-
| 'delete.backward'
|
|
1574
|
-
| 'delete.block'
|
|
1575
|
-
| 'delete.forward'
|
|
1576
|
-
| 'history.redo'
|
|
1577
|
-
| 'history.undo'
|
|
1578
|
-
| 'insert.inline object'
|
|
1579
|
-
| 'insert.block'
|
|
1580
|
-
| 'insert.span'
|
|
1581
|
-
| 'insert.text'
|
|
1582
|
-
| 'move.backward'
|
|
1583
|
-
| 'move.block'
|
|
1584
|
-
| 'move.forward'
|
|
1585
|
-
| 'annotation.toggle'
|
|
1586
|
-
| 'decorator.toggle'
|
|
1587
|
-
| 'delete.text'
|
|
1588
|
-
| 'insert.blocks'
|
|
1589
|
-
| 'insert.break'
|
|
1590
|
-
| 'insert.soft break'
|
|
1591
|
-
| 'list item.add'
|
|
1592
|
-
| 'list item.remove'
|
|
1593
|
-
| 'list item.toggle'
|
|
1594
|
-
| 'move.block down'
|
|
1595
|
-
| 'move.block up'
|
|
1596
|
-
| 'select.previous block'
|
|
1597
|
-
| 'select.next block'
|
|
1598
|
-
| 'style.add'
|
|
1599
|
-
| 'style.remove'
|
|
1600
|
-
| 'style.toggle',
|
|
1601
|
-
'decorator.remove'
|
|
1602
|
-
>
|
|
1603
|
-
decorator: string
|
|
1604
|
-
}
|
|
1605
|
-
| {
|
|
1606
|
-
type: StrictExtract_2<
|
|
1607
|
-
| 'serialize'
|
|
1608
|
-
| 'serialization.failure'
|
|
1609
|
-
| 'serialization.success'
|
|
1610
|
-
| 'deserialize'
|
|
1611
|
-
| 'deserialization.failure'
|
|
1612
|
-
| 'deserialization.success'
|
|
1613
|
-
| 'split'
|
|
1614
|
-
| 'delete'
|
|
1615
|
-
| 'select'
|
|
1616
|
-
| 'annotation.add'
|
|
1617
|
-
| 'annotation.remove'
|
|
1618
|
-
| 'block.set'
|
|
1619
|
-
| 'block.unset'
|
|
1620
|
-
| 'decorator.add'
|
|
1621
|
-
| 'decorator.remove'
|
|
1622
|
-
| 'delete.backward'
|
|
1623
|
-
| 'delete.block'
|
|
1624
|
-
| 'delete.forward'
|
|
1625
|
-
| 'history.redo'
|
|
1626
|
-
| 'history.undo'
|
|
1627
|
-
| 'insert.inline object'
|
|
1628
|
-
| 'insert.block'
|
|
1629
|
-
| 'insert.span'
|
|
1630
|
-
| 'insert.text'
|
|
1631
|
-
| 'move.backward'
|
|
1632
|
-
| 'move.block'
|
|
1633
|
-
| 'move.forward'
|
|
1634
|
-
| 'annotation.toggle'
|
|
1635
|
-
| 'decorator.toggle'
|
|
1636
|
-
| 'delete.text'
|
|
1637
|
-
| 'insert.blocks'
|
|
1638
|
-
| 'insert.break'
|
|
1639
|
-
| 'insert.soft break'
|
|
1640
|
-
| 'list item.add'
|
|
1641
|
-
| 'list item.remove'
|
|
1642
|
-
| 'list item.toggle'
|
|
1643
|
-
| 'move.block down'
|
|
1644
|
-
| 'move.block up'
|
|
1645
|
-
| 'select.previous block'
|
|
1646
|
-
| 'select.next block'
|
|
1647
|
-
| 'style.add'
|
|
1648
|
-
| 'style.remove'
|
|
1649
|
-
| 'style.toggle',
|
|
1650
|
-
'delete'
|
|
1651
|
-
>
|
|
1652
|
-
at: NonNullable<EditorSelection>
|
|
1653
|
-
}
|
|
1654
|
-
| {
|
|
1655
|
-
type: StrictExtract_2<
|
|
1656
|
-
| 'serialize'
|
|
1657
|
-
| 'serialization.failure'
|
|
1658
|
-
| 'serialization.success'
|
|
1659
|
-
| 'deserialize'
|
|
1660
|
-
| 'deserialization.failure'
|
|
1661
|
-
| 'deserialization.success'
|
|
1662
|
-
| 'split'
|
|
1663
|
-
| 'delete'
|
|
1664
|
-
| 'select'
|
|
1665
|
-
| 'annotation.add'
|
|
1666
|
-
| 'annotation.remove'
|
|
1667
|
-
| 'block.set'
|
|
1668
|
-
| 'block.unset'
|
|
1669
|
-
| 'decorator.add'
|
|
1670
|
-
| 'decorator.remove'
|
|
1671
|
-
| 'delete.backward'
|
|
1672
|
-
| 'delete.block'
|
|
1673
|
-
| 'delete.forward'
|
|
1674
|
-
| 'history.redo'
|
|
1675
|
-
| 'history.undo'
|
|
1676
|
-
| 'insert.inline object'
|
|
1677
|
-
| 'insert.block'
|
|
1678
|
-
| 'insert.span'
|
|
1679
|
-
| 'insert.text'
|
|
1680
|
-
| 'move.backward'
|
|
1681
|
-
| 'move.block'
|
|
1682
|
-
| 'move.forward'
|
|
1683
|
-
| 'annotation.toggle'
|
|
1684
|
-
| 'decorator.toggle'
|
|
1685
|
-
| 'delete.text'
|
|
1686
|
-
| 'insert.blocks'
|
|
1687
|
-
| 'insert.break'
|
|
1688
|
-
| 'insert.soft break'
|
|
1689
|
-
| 'list item.add'
|
|
1690
|
-
| 'list item.remove'
|
|
1691
|
-
| 'list item.toggle'
|
|
1692
|
-
| 'move.block down'
|
|
1693
|
-
| 'move.block up'
|
|
1694
|
-
| 'select.previous block'
|
|
1695
|
-
| 'select.next block'
|
|
1696
|
-
| 'style.add'
|
|
1697
|
-
| 'style.remove'
|
|
1698
|
-
| 'style.toggle',
|
|
1699
|
-
'delete.backward'
|
|
1700
|
-
>
|
|
1701
|
-
unit: TextUnit
|
|
1702
|
-
}
|
|
1703
|
-
| {
|
|
1704
|
-
type: StrictExtract_2<
|
|
1705
|
-
| 'serialize'
|
|
1706
|
-
| 'serialization.failure'
|
|
1707
|
-
| 'serialization.success'
|
|
1708
|
-
| 'deserialize'
|
|
1709
|
-
| 'deserialization.failure'
|
|
1710
|
-
| 'deserialization.success'
|
|
1711
|
-
| 'split'
|
|
1712
|
-
| 'delete'
|
|
1713
|
-
| 'select'
|
|
1714
|
-
| 'annotation.add'
|
|
1715
|
-
| 'annotation.remove'
|
|
1716
|
-
| 'block.set'
|
|
1717
|
-
| 'block.unset'
|
|
1718
|
-
| 'decorator.add'
|
|
1719
|
-
| 'decorator.remove'
|
|
1720
|
-
| 'delete.backward'
|
|
1721
|
-
| 'delete.block'
|
|
1722
|
-
| 'delete.forward'
|
|
1723
|
-
| 'history.redo'
|
|
1724
|
-
| 'history.undo'
|
|
1725
|
-
| 'insert.inline object'
|
|
1726
|
-
| 'insert.block'
|
|
1727
|
-
| 'insert.span'
|
|
1728
|
-
| 'insert.text'
|
|
1729
|
-
| 'move.backward'
|
|
1730
|
-
| 'move.block'
|
|
1731
|
-
| 'move.forward'
|
|
1732
|
-
| 'annotation.toggle'
|
|
1733
|
-
| 'decorator.toggle'
|
|
1734
|
-
| 'delete.text'
|
|
1735
|
-
| 'insert.blocks'
|
|
1736
|
-
| 'insert.break'
|
|
1737
|
-
| 'insert.soft break'
|
|
1738
|
-
| 'list item.add'
|
|
1739
|
-
| 'list item.remove'
|
|
1740
|
-
| 'list item.toggle'
|
|
1741
|
-
| 'move.block down'
|
|
1742
|
-
| 'move.block up'
|
|
1743
|
-
| 'select.previous block'
|
|
1744
|
-
| 'select.next block'
|
|
1745
|
-
| 'style.add'
|
|
1746
|
-
| 'style.remove'
|
|
1747
|
-
| 'style.toggle',
|
|
1748
|
-
'delete.block'
|
|
1749
|
-
>
|
|
1750
|
-
at: [KeyedSegment]
|
|
1751
|
-
}
|
|
1752
|
-
| {
|
|
1753
|
-
type: StrictExtract_2<
|
|
1754
|
-
| 'serialize'
|
|
1755
|
-
| 'serialization.failure'
|
|
1756
|
-
| 'serialization.success'
|
|
1757
|
-
| 'deserialize'
|
|
1758
|
-
| 'deserialization.failure'
|
|
1759
|
-
| 'deserialization.success'
|
|
1760
|
-
| 'split'
|
|
1761
|
-
| 'delete'
|
|
1762
|
-
| 'select'
|
|
1763
|
-
| 'annotation.add'
|
|
1764
|
-
| 'annotation.remove'
|
|
1765
|
-
| 'block.set'
|
|
1766
|
-
| 'block.unset'
|
|
1767
|
-
| 'decorator.add'
|
|
1768
|
-
| 'decorator.remove'
|
|
1769
|
-
| 'delete.backward'
|
|
1770
|
-
| 'delete.block'
|
|
1771
|
-
| 'delete.forward'
|
|
1772
|
-
| 'history.redo'
|
|
1773
|
-
| 'history.undo'
|
|
1774
|
-
| 'insert.inline object'
|
|
1775
|
-
| 'insert.block'
|
|
1776
|
-
| 'insert.span'
|
|
1777
|
-
| 'insert.text'
|
|
1778
|
-
| 'move.backward'
|
|
1779
|
-
| 'move.block'
|
|
1780
|
-
| 'move.forward'
|
|
1781
|
-
| 'annotation.toggle'
|
|
1782
|
-
| 'decorator.toggle'
|
|
1783
|
-
| 'delete.text'
|
|
1784
|
-
| 'insert.blocks'
|
|
1785
|
-
| 'insert.break'
|
|
1786
|
-
| 'insert.soft break'
|
|
1787
|
-
| 'list item.add'
|
|
1788
|
-
| 'list item.remove'
|
|
1789
|
-
| 'list item.toggle'
|
|
1790
|
-
| 'move.block down'
|
|
1791
|
-
| 'move.block up'
|
|
1792
|
-
| 'select.previous block'
|
|
1793
|
-
| 'select.next block'
|
|
1794
|
-
| 'style.add'
|
|
1795
|
-
| 'style.remove'
|
|
1796
|
-
| 'style.toggle',
|
|
1797
|
-
'delete.forward'
|
|
1798
|
-
>
|
|
1799
|
-
unit: TextUnit
|
|
1800
|
-
}
|
|
1801
|
-
| {
|
|
1802
|
-
type: StrictExtract_2<
|
|
1803
|
-
| 'serialize'
|
|
1804
|
-
| 'serialization.failure'
|
|
1805
|
-
| 'serialization.success'
|
|
1806
|
-
| 'deserialize'
|
|
1807
|
-
| 'deserialization.failure'
|
|
1808
|
-
| 'deserialization.success'
|
|
1809
|
-
| 'split'
|
|
1810
|
-
| 'delete'
|
|
1811
|
-
| 'select'
|
|
1812
|
-
| 'annotation.add'
|
|
1813
|
-
| 'annotation.remove'
|
|
1814
|
-
| 'block.set'
|
|
1815
|
-
| 'block.unset'
|
|
1816
|
-
| 'decorator.add'
|
|
1817
|
-
| 'decorator.remove'
|
|
1818
|
-
| 'delete.backward'
|
|
1819
|
-
| 'delete.block'
|
|
1820
|
-
| 'delete.forward'
|
|
1821
|
-
| 'history.redo'
|
|
1822
|
-
| 'history.undo'
|
|
1823
|
-
| 'insert.inline object'
|
|
1824
|
-
| 'insert.block'
|
|
1825
|
-
| 'insert.span'
|
|
1826
|
-
| 'insert.text'
|
|
1827
|
-
| 'move.backward'
|
|
1828
|
-
| 'move.block'
|
|
1829
|
-
| 'move.forward'
|
|
1830
|
-
| 'annotation.toggle'
|
|
1831
|
-
| 'decorator.toggle'
|
|
1832
|
-
| 'delete.text'
|
|
1833
|
-
| 'insert.blocks'
|
|
1834
|
-
| 'insert.break'
|
|
1835
|
-
| 'insert.soft break'
|
|
1836
|
-
| 'list item.add'
|
|
1837
|
-
| 'list item.remove'
|
|
1838
|
-
| 'list item.toggle'
|
|
1839
|
-
| 'move.block down'
|
|
1840
|
-
| 'move.block up'
|
|
1841
|
-
| 'select.previous block'
|
|
1842
|
-
| 'select.next block'
|
|
1843
|
-
| 'style.add'
|
|
1844
|
-
| 'style.remove'
|
|
1845
|
-
| 'style.toggle',
|
|
1846
|
-
'history.redo'
|
|
1847
|
-
>
|
|
1848
|
-
}
|
|
1849
|
-
| {
|
|
1850
|
-
type: StrictExtract_2<
|
|
1851
|
-
| 'serialize'
|
|
1852
|
-
| 'serialization.failure'
|
|
1853
|
-
| 'serialization.success'
|
|
1854
|
-
| 'deserialize'
|
|
1855
|
-
| 'deserialization.failure'
|
|
1856
|
-
| 'deserialization.success'
|
|
1857
|
-
| 'split'
|
|
1858
|
-
| 'delete'
|
|
1859
|
-
| 'select'
|
|
1860
|
-
| 'annotation.add'
|
|
1861
|
-
| 'annotation.remove'
|
|
1862
|
-
| 'block.set'
|
|
1863
|
-
| 'block.unset'
|
|
1864
|
-
| 'decorator.add'
|
|
1865
|
-
| 'decorator.remove'
|
|
1866
|
-
| 'delete.backward'
|
|
1867
|
-
| 'delete.block'
|
|
1868
|
-
| 'delete.forward'
|
|
1869
|
-
| 'history.redo'
|
|
1870
|
-
| 'history.undo'
|
|
1871
|
-
| 'insert.inline object'
|
|
1872
|
-
| 'insert.block'
|
|
1873
|
-
| 'insert.span'
|
|
1874
|
-
| 'insert.text'
|
|
1875
|
-
| 'move.backward'
|
|
1876
|
-
| 'move.block'
|
|
1877
|
-
| 'move.forward'
|
|
1878
|
-
| 'annotation.toggle'
|
|
1879
|
-
| 'decorator.toggle'
|
|
1880
|
-
| 'delete.text'
|
|
1881
|
-
| 'insert.blocks'
|
|
1882
|
-
| 'insert.break'
|
|
1883
|
-
| 'insert.soft break'
|
|
1884
|
-
| 'list item.add'
|
|
1885
|
-
| 'list item.remove'
|
|
1886
|
-
| 'list item.toggle'
|
|
1887
|
-
| 'move.block down'
|
|
1888
|
-
| 'move.block up'
|
|
1889
|
-
| 'select.previous block'
|
|
1890
|
-
| 'select.next block'
|
|
1891
|
-
| 'style.add'
|
|
1892
|
-
| 'style.remove'
|
|
1893
|
-
| 'style.toggle',
|
|
1894
|
-
'history.undo'
|
|
1895
|
-
>
|
|
1896
|
-
}
|
|
1897
|
-
| {
|
|
1898
|
-
type: StrictExtract_2<
|
|
1899
|
-
| 'serialize'
|
|
1900
|
-
| 'serialization.failure'
|
|
1901
|
-
| 'serialization.success'
|
|
1902
|
-
| 'deserialize'
|
|
1903
|
-
| 'deserialization.failure'
|
|
1904
|
-
| 'deserialization.success'
|
|
1905
|
-
| 'split'
|
|
1906
|
-
| 'delete'
|
|
1907
|
-
| 'select'
|
|
1908
|
-
| 'annotation.add'
|
|
1909
|
-
| 'annotation.remove'
|
|
1910
|
-
| 'block.set'
|
|
1911
|
-
| 'block.unset'
|
|
1912
|
-
| 'decorator.add'
|
|
1913
|
-
| 'decorator.remove'
|
|
1914
|
-
| 'delete.backward'
|
|
1915
|
-
| 'delete.block'
|
|
1916
|
-
| 'delete.forward'
|
|
1917
|
-
| 'history.redo'
|
|
1918
|
-
| 'history.undo'
|
|
1919
|
-
| 'insert.inline object'
|
|
1920
|
-
| 'insert.block'
|
|
1921
|
-
| 'insert.span'
|
|
1922
|
-
| 'insert.text'
|
|
1923
|
-
| 'move.backward'
|
|
1924
|
-
| 'move.block'
|
|
1925
|
-
| 'move.forward'
|
|
1926
|
-
| 'annotation.toggle'
|
|
1927
|
-
| 'decorator.toggle'
|
|
1928
|
-
| 'delete.text'
|
|
1929
|
-
| 'insert.blocks'
|
|
1930
|
-
| 'insert.break'
|
|
1931
|
-
| 'insert.soft break'
|
|
1932
|
-
| 'list item.add'
|
|
1933
|
-
| 'list item.remove'
|
|
1934
|
-
| 'list item.toggle'
|
|
1935
|
-
| 'move.block down'
|
|
1936
|
-
| 'move.block up'
|
|
1937
|
-
| 'select.previous block'
|
|
1938
|
-
| 'select.next block'
|
|
1939
|
-
| 'style.add'
|
|
1940
|
-
| 'style.remove'
|
|
1941
|
-
| 'style.toggle',
|
|
1942
|
-
'insert.inline object'
|
|
1943
|
-
>
|
|
1944
|
-
inlineObject: {
|
|
1945
|
-
name: string
|
|
1946
|
-
value?: {
|
|
1947
|
-
[prop: string]: unknown
|
|
1948
|
-
}
|
|
1949
|
-
}
|
|
1950
|
-
}
|
|
1951
|
-
| {
|
|
1952
|
-
type: StrictExtract_2<
|
|
1953
|
-
| 'serialize'
|
|
1954
|
-
| 'serialization.failure'
|
|
1955
|
-
| 'serialization.success'
|
|
1956
|
-
| 'deserialize'
|
|
1957
|
-
| 'deserialization.failure'
|
|
1958
|
-
| 'deserialization.success'
|
|
1959
|
-
| 'split'
|
|
1960
|
-
| 'delete'
|
|
1961
|
-
| 'select'
|
|
1962
|
-
| 'annotation.add'
|
|
1963
|
-
| 'annotation.remove'
|
|
1964
|
-
| 'block.set'
|
|
1965
|
-
| 'block.unset'
|
|
1966
|
-
| 'decorator.add'
|
|
1967
|
-
| 'decorator.remove'
|
|
1968
|
-
| 'delete.backward'
|
|
1969
|
-
| 'delete.block'
|
|
1970
|
-
| 'delete.forward'
|
|
1971
|
-
| 'history.redo'
|
|
1972
|
-
| 'history.undo'
|
|
1973
|
-
| 'insert.inline object'
|
|
1974
|
-
| 'insert.block'
|
|
1975
|
-
| 'insert.span'
|
|
1976
|
-
| 'insert.text'
|
|
1977
|
-
| 'move.backward'
|
|
1978
|
-
| 'move.block'
|
|
1979
|
-
| 'move.forward'
|
|
1980
|
-
| 'annotation.toggle'
|
|
1981
|
-
| 'decorator.toggle'
|
|
1982
|
-
| 'delete.text'
|
|
1983
|
-
| 'insert.blocks'
|
|
1984
|
-
| 'insert.break'
|
|
1985
|
-
| 'insert.soft break'
|
|
1986
|
-
| 'list item.add'
|
|
1987
|
-
| 'list item.remove'
|
|
1988
|
-
| 'list item.toggle'
|
|
1989
|
-
| 'move.block down'
|
|
1990
|
-
| 'move.block up'
|
|
1991
|
-
| 'select.previous block'
|
|
1992
|
-
| 'select.next block'
|
|
1993
|
-
| 'style.add'
|
|
1994
|
-
| 'style.remove'
|
|
1995
|
-
| 'style.toggle',
|
|
1996
|
-
'insert.block'
|
|
1997
|
-
>
|
|
1998
|
-
block: BlockWithOptionalKey_2
|
|
1999
|
-
placement: InsertPlacement_2
|
|
2000
|
-
select?: 'start' | 'end' | 'none'
|
|
2001
|
-
}
|
|
2002
|
-
| {
|
|
2003
|
-
type: StrictExtract_2<
|
|
2004
|
-
| 'serialize'
|
|
2005
|
-
| 'serialization.failure'
|
|
2006
|
-
| 'serialization.success'
|
|
2007
|
-
| 'deserialize'
|
|
2008
|
-
| 'deserialization.failure'
|
|
2009
|
-
| 'deserialization.success'
|
|
2010
|
-
| 'split'
|
|
2011
|
-
| 'delete'
|
|
2012
|
-
| 'select'
|
|
2013
|
-
| 'annotation.add'
|
|
2014
|
-
| 'annotation.remove'
|
|
2015
|
-
| 'block.set'
|
|
2016
|
-
| 'block.unset'
|
|
2017
|
-
| 'decorator.add'
|
|
2018
|
-
| 'decorator.remove'
|
|
2019
|
-
| 'delete.backward'
|
|
2020
|
-
| 'delete.block'
|
|
2021
|
-
| 'delete.forward'
|
|
2022
|
-
| 'history.redo'
|
|
2023
|
-
| 'history.undo'
|
|
2024
|
-
| 'insert.inline object'
|
|
2025
|
-
| 'insert.block'
|
|
2026
|
-
| 'insert.span'
|
|
2027
|
-
| 'insert.text'
|
|
2028
|
-
| 'move.backward'
|
|
2029
|
-
| 'move.block'
|
|
2030
|
-
| 'move.forward'
|
|
2031
|
-
| 'annotation.toggle'
|
|
2032
|
-
| 'decorator.toggle'
|
|
2033
|
-
| 'delete.text'
|
|
2034
|
-
| 'insert.blocks'
|
|
2035
|
-
| 'insert.break'
|
|
2036
|
-
| 'insert.soft break'
|
|
2037
|
-
| 'list item.add'
|
|
2038
|
-
| 'list item.remove'
|
|
2039
|
-
| 'list item.toggle'
|
|
2040
|
-
| 'move.block down'
|
|
2041
|
-
| 'move.block up'
|
|
2042
|
-
| 'select.previous block'
|
|
2043
|
-
| 'select.next block'
|
|
2044
|
-
| 'style.add'
|
|
2045
|
-
| 'style.remove'
|
|
2046
|
-
| 'style.toggle',
|
|
2047
|
-
'insert.span'
|
|
2048
|
-
>
|
|
2049
|
-
text: string
|
|
2050
|
-
annotations?: Array<{
|
|
2051
|
-
name: string
|
|
2052
|
-
value: {
|
|
2053
|
-
[prop: string]: unknown
|
|
2054
|
-
}
|
|
2055
|
-
}>
|
|
2056
|
-
decorators?: Array<string>
|
|
2057
|
-
}
|
|
2058
|
-
| {
|
|
2059
|
-
type: StrictExtract_2<
|
|
2060
|
-
| 'serialize'
|
|
2061
|
-
| 'serialization.failure'
|
|
2062
|
-
| 'serialization.success'
|
|
2063
|
-
| 'deserialize'
|
|
2064
|
-
| 'deserialization.failure'
|
|
2065
|
-
| 'deserialization.success'
|
|
2066
|
-
| 'split'
|
|
2067
|
-
| 'delete'
|
|
2068
|
-
| 'select'
|
|
2069
|
-
| 'annotation.add'
|
|
2070
|
-
| 'annotation.remove'
|
|
2071
|
-
| 'block.set'
|
|
2072
|
-
| 'block.unset'
|
|
2073
|
-
| 'decorator.add'
|
|
2074
|
-
| 'decorator.remove'
|
|
2075
|
-
| 'delete.backward'
|
|
2076
|
-
| 'delete.block'
|
|
2077
|
-
| 'delete.forward'
|
|
2078
|
-
| 'history.redo'
|
|
2079
|
-
| 'history.undo'
|
|
2080
|
-
| 'insert.inline object'
|
|
2081
|
-
| 'insert.block'
|
|
2082
|
-
| 'insert.span'
|
|
2083
|
-
| 'insert.text'
|
|
2084
|
-
| 'move.backward'
|
|
2085
|
-
| 'move.block'
|
|
2086
|
-
| 'move.forward'
|
|
2087
|
-
| 'annotation.toggle'
|
|
2088
|
-
| 'decorator.toggle'
|
|
2089
|
-
| 'delete.text'
|
|
2090
|
-
| 'insert.blocks'
|
|
2091
|
-
| 'insert.break'
|
|
2092
|
-
| 'insert.soft break'
|
|
2093
|
-
| 'list item.add'
|
|
2094
|
-
| 'list item.remove'
|
|
2095
|
-
| 'list item.toggle'
|
|
2096
|
-
| 'move.block down'
|
|
2097
|
-
| 'move.block up'
|
|
2098
|
-
| 'select.previous block'
|
|
2099
|
-
| 'select.next block'
|
|
2100
|
-
| 'style.add'
|
|
2101
|
-
| 'style.remove'
|
|
2102
|
-
| 'style.toggle',
|
|
2103
|
-
'insert.text'
|
|
2104
|
-
>
|
|
2105
|
-
text: string
|
|
2106
|
-
}
|
|
2107
|
-
| {
|
|
2108
|
-
type: StrictExtract_2<
|
|
2109
|
-
| 'serialize'
|
|
2110
|
-
| 'serialization.failure'
|
|
2111
|
-
| 'serialization.success'
|
|
2112
|
-
| 'deserialize'
|
|
2113
|
-
| 'deserialization.failure'
|
|
2114
|
-
| 'deserialization.success'
|
|
2115
|
-
| 'split'
|
|
2116
|
-
| 'delete'
|
|
2117
|
-
| 'select'
|
|
2118
|
-
| 'annotation.add'
|
|
2119
|
-
| 'annotation.remove'
|
|
2120
|
-
| 'block.set'
|
|
2121
|
-
| 'block.unset'
|
|
2122
|
-
| 'decorator.add'
|
|
2123
|
-
| 'decorator.remove'
|
|
2124
|
-
| 'delete.backward'
|
|
2125
|
-
| 'delete.block'
|
|
2126
|
-
| 'delete.forward'
|
|
2127
|
-
| 'history.redo'
|
|
2128
|
-
| 'history.undo'
|
|
2129
|
-
| 'insert.inline object'
|
|
2130
|
-
| 'insert.block'
|
|
2131
|
-
| 'insert.span'
|
|
2132
|
-
| 'insert.text'
|
|
2133
|
-
| 'move.backward'
|
|
2134
|
-
| 'move.block'
|
|
2135
|
-
| 'move.forward'
|
|
2136
|
-
| 'annotation.toggle'
|
|
2137
|
-
| 'decorator.toggle'
|
|
2138
|
-
| 'delete.text'
|
|
2139
|
-
| 'insert.blocks'
|
|
2140
|
-
| 'insert.break'
|
|
2141
|
-
| 'insert.soft break'
|
|
2142
|
-
| 'list item.add'
|
|
2143
|
-
| 'list item.remove'
|
|
2144
|
-
| 'list item.toggle'
|
|
2145
|
-
| 'move.block down'
|
|
2146
|
-
| 'move.block up'
|
|
2147
|
-
| 'select.previous block'
|
|
2148
|
-
| 'select.next block'
|
|
2149
|
-
| 'style.add'
|
|
2150
|
-
| 'style.remove'
|
|
2151
|
-
| 'style.toggle',
|
|
2152
|
-
'move.backward'
|
|
2153
|
-
>
|
|
2154
|
-
distance: number
|
|
2155
|
-
}
|
|
2156
|
-
| {
|
|
2157
|
-
type: StrictExtract_2<
|
|
2158
|
-
| 'serialize'
|
|
2159
|
-
| 'serialization.failure'
|
|
2160
|
-
| 'serialization.success'
|
|
2161
|
-
| 'deserialize'
|
|
2162
|
-
| 'deserialization.failure'
|
|
2163
|
-
| 'deserialization.success'
|
|
2164
|
-
| 'split'
|
|
2165
|
-
| 'delete'
|
|
2166
|
-
| 'select'
|
|
2167
|
-
| 'annotation.add'
|
|
2168
|
-
| 'annotation.remove'
|
|
2169
|
-
| 'block.set'
|
|
2170
|
-
| 'block.unset'
|
|
2171
|
-
| 'decorator.add'
|
|
2172
|
-
| 'decorator.remove'
|
|
2173
|
-
| 'delete.backward'
|
|
2174
|
-
| 'delete.block'
|
|
2175
|
-
| 'delete.forward'
|
|
2176
|
-
| 'history.redo'
|
|
2177
|
-
| 'history.undo'
|
|
2178
|
-
| 'insert.inline object'
|
|
2179
|
-
| 'insert.block'
|
|
2180
|
-
| 'insert.span'
|
|
2181
|
-
| 'insert.text'
|
|
2182
|
-
| 'move.backward'
|
|
2183
|
-
| 'move.block'
|
|
2184
|
-
| 'move.forward'
|
|
2185
|
-
| 'annotation.toggle'
|
|
2186
|
-
| 'decorator.toggle'
|
|
2187
|
-
| 'delete.text'
|
|
2188
|
-
| 'insert.blocks'
|
|
2189
|
-
| 'insert.break'
|
|
2190
|
-
| 'insert.soft break'
|
|
2191
|
-
| 'list item.add'
|
|
2192
|
-
| 'list item.remove'
|
|
2193
|
-
| 'list item.toggle'
|
|
2194
|
-
| 'move.block down'
|
|
2195
|
-
| 'move.block up'
|
|
2196
|
-
| 'select.previous block'
|
|
2197
|
-
| 'select.next block'
|
|
2198
|
-
| 'style.add'
|
|
2199
|
-
| 'style.remove'
|
|
2200
|
-
| 'style.toggle',
|
|
2201
|
-
'move.block'
|
|
2202
|
-
>
|
|
2203
|
-
at: [KeyedSegment]
|
|
2204
|
-
to: [KeyedSegment]
|
|
2205
|
-
}
|
|
2206
|
-
| {
|
|
2207
|
-
type: StrictExtract_2<
|
|
2208
|
-
| 'serialize'
|
|
2209
|
-
| 'serialization.failure'
|
|
2210
|
-
| 'serialization.success'
|
|
2211
|
-
| 'deserialize'
|
|
2212
|
-
| 'deserialization.failure'
|
|
2213
|
-
| 'deserialization.success'
|
|
2214
|
-
| 'split'
|
|
2215
|
-
| 'delete'
|
|
2216
|
-
| 'select'
|
|
2217
|
-
| 'annotation.add'
|
|
2218
|
-
| 'annotation.remove'
|
|
2219
|
-
| 'block.set'
|
|
2220
|
-
| 'block.unset'
|
|
2221
|
-
| 'decorator.add'
|
|
2222
|
-
| 'decorator.remove'
|
|
2223
|
-
| 'delete.backward'
|
|
2224
|
-
| 'delete.block'
|
|
2225
|
-
| 'delete.forward'
|
|
2226
|
-
| 'history.redo'
|
|
2227
|
-
| 'history.undo'
|
|
2228
|
-
| 'insert.inline object'
|
|
2229
|
-
| 'insert.block'
|
|
2230
|
-
| 'insert.span'
|
|
2231
|
-
| 'insert.text'
|
|
2232
|
-
| 'move.backward'
|
|
2233
|
-
| 'move.block'
|
|
2234
|
-
| 'move.forward'
|
|
2235
|
-
| 'annotation.toggle'
|
|
2236
|
-
| 'decorator.toggle'
|
|
2237
|
-
| 'delete.text'
|
|
2238
|
-
| 'insert.blocks'
|
|
2239
|
-
| 'insert.break'
|
|
2240
|
-
| 'insert.soft break'
|
|
2241
|
-
| 'list item.add'
|
|
2242
|
-
| 'list item.remove'
|
|
2243
|
-
| 'list item.toggle'
|
|
2244
|
-
| 'move.block down'
|
|
2245
|
-
| 'move.block up'
|
|
2246
|
-
| 'select.previous block'
|
|
2247
|
-
| 'select.next block'
|
|
2248
|
-
| 'style.add'
|
|
2249
|
-
| 'style.remove'
|
|
2250
|
-
| 'style.toggle',
|
|
2251
|
-
'move.forward'
|
|
2252
|
-
>
|
|
2253
|
-
distance: number
|
|
2254
|
-
}
|
|
2255
|
-
| {
|
|
2256
|
-
type: StrictExtract_2<
|
|
2257
|
-
| 'serialize'
|
|
2258
|
-
| 'serialization.failure'
|
|
2259
|
-
| 'serialization.success'
|
|
2260
|
-
| 'deserialize'
|
|
2261
|
-
| 'deserialization.failure'
|
|
2262
|
-
| 'deserialization.success'
|
|
2263
|
-
| 'split'
|
|
2264
|
-
| 'delete'
|
|
2265
|
-
| 'select'
|
|
2266
|
-
| 'annotation.add'
|
|
2267
|
-
| 'annotation.remove'
|
|
2268
|
-
| 'block.set'
|
|
2269
|
-
| 'block.unset'
|
|
2270
|
-
| 'decorator.add'
|
|
2271
|
-
| 'decorator.remove'
|
|
2272
|
-
| 'delete.backward'
|
|
2273
|
-
| 'delete.block'
|
|
2274
|
-
| 'delete.forward'
|
|
2275
|
-
| 'history.redo'
|
|
2276
|
-
| 'history.undo'
|
|
2277
|
-
| 'insert.inline object'
|
|
2278
|
-
| 'insert.block'
|
|
2279
|
-
| 'insert.span'
|
|
2280
|
-
| 'insert.text'
|
|
2281
|
-
| 'move.backward'
|
|
2282
|
-
| 'move.block'
|
|
2283
|
-
| 'move.forward'
|
|
2284
|
-
| 'annotation.toggle'
|
|
2285
|
-
| 'decorator.toggle'
|
|
2286
|
-
| 'delete.text'
|
|
2287
|
-
| 'insert.blocks'
|
|
2288
|
-
| 'insert.break'
|
|
2289
|
-
| 'insert.soft break'
|
|
2290
|
-
| 'list item.add'
|
|
2291
|
-
| 'list item.remove'
|
|
2292
|
-
| 'list item.toggle'
|
|
2293
|
-
| 'move.block down'
|
|
2294
|
-
| 'move.block up'
|
|
2295
|
-
| 'select.previous block'
|
|
2296
|
-
| 'select.next block'
|
|
2297
|
-
| 'style.add'
|
|
2298
|
-
| 'style.remove'
|
|
2299
|
-
| 'style.toggle',
|
|
2300
|
-
'select'
|
|
2301
|
-
>
|
|
2302
|
-
at: EditorSelection
|
|
2303
|
-
}
|
|
2304
|
-
| {
|
|
2305
|
-
type: StrictExtract_2<
|
|
2306
|
-
| 'serialize'
|
|
2307
|
-
| 'serialization.failure'
|
|
2308
|
-
| 'serialization.success'
|
|
2309
|
-
| 'deserialize'
|
|
2310
|
-
| 'deserialization.failure'
|
|
2311
|
-
| 'deserialization.success'
|
|
2312
|
-
| 'split'
|
|
2313
|
-
| 'delete'
|
|
2314
|
-
| 'select'
|
|
2315
|
-
| 'annotation.add'
|
|
2316
|
-
| 'annotation.remove'
|
|
2317
|
-
| 'block.set'
|
|
2318
|
-
| 'block.unset'
|
|
2319
|
-
| 'decorator.add'
|
|
2320
|
-
| 'decorator.remove'
|
|
2321
|
-
| 'delete.backward'
|
|
2322
|
-
| 'delete.block'
|
|
2323
|
-
| 'delete.forward'
|
|
2324
|
-
| 'history.redo'
|
|
2325
|
-
| 'history.undo'
|
|
2326
|
-
| 'insert.inline object'
|
|
2327
|
-
| 'insert.block'
|
|
2328
|
-
| 'insert.span'
|
|
2329
|
-
| 'insert.text'
|
|
2330
|
-
| 'move.backward'
|
|
2331
|
-
| 'move.block'
|
|
2332
|
-
| 'move.forward'
|
|
2333
|
-
| 'annotation.toggle'
|
|
2334
|
-
| 'decorator.toggle'
|
|
2335
|
-
| 'delete.text'
|
|
2336
|
-
| 'insert.blocks'
|
|
2337
|
-
| 'insert.break'
|
|
2338
|
-
| 'insert.soft break'
|
|
2339
|
-
| 'list item.add'
|
|
2340
|
-
| 'list item.remove'
|
|
2341
|
-
| 'list item.toggle'
|
|
2342
|
-
| 'move.block down'
|
|
2343
|
-
| 'move.block up'
|
|
2344
|
-
| 'select.previous block'
|
|
2345
|
-
| 'select.next block'
|
|
2346
|
-
| 'style.add'
|
|
2347
|
-
| 'style.remove'
|
|
2348
|
-
| 'style.toggle',
|
|
2349
|
-
'annotation.toggle'
|
|
2350
|
-
>
|
|
2351
|
-
annotation: {
|
|
2352
|
-
name: string
|
|
2353
|
-
value: {
|
|
2354
|
-
[prop: string]: unknown
|
|
2355
|
-
}
|
|
2356
|
-
}
|
|
2357
|
-
}
|
|
2358
|
-
| {
|
|
2359
|
-
type: StrictExtract_2<
|
|
2360
|
-
| 'serialize'
|
|
2361
|
-
| 'serialization.failure'
|
|
2362
|
-
| 'serialization.success'
|
|
2363
|
-
| 'deserialize'
|
|
2364
|
-
| 'deserialization.failure'
|
|
2365
|
-
| 'deserialization.success'
|
|
2366
|
-
| 'split'
|
|
2367
|
-
| 'delete'
|
|
2368
|
-
| 'select'
|
|
2369
|
-
| 'annotation.add'
|
|
2370
|
-
| 'annotation.remove'
|
|
2371
|
-
| 'block.set'
|
|
2372
|
-
| 'block.unset'
|
|
2373
|
-
| 'decorator.add'
|
|
2374
|
-
| 'decorator.remove'
|
|
2375
|
-
| 'delete.backward'
|
|
2376
|
-
| 'delete.block'
|
|
2377
|
-
| 'delete.forward'
|
|
2378
|
-
| 'history.redo'
|
|
2379
|
-
| 'history.undo'
|
|
2380
|
-
| 'insert.inline object'
|
|
2381
|
-
| 'insert.block'
|
|
2382
|
-
| 'insert.span'
|
|
2383
|
-
| 'insert.text'
|
|
2384
|
-
| 'move.backward'
|
|
2385
|
-
| 'move.block'
|
|
2386
|
-
| 'move.forward'
|
|
2387
|
-
| 'annotation.toggle'
|
|
2388
|
-
| 'decorator.toggle'
|
|
2389
|
-
| 'delete.text'
|
|
2390
|
-
| 'insert.blocks'
|
|
2391
|
-
| 'insert.break'
|
|
2392
|
-
| 'insert.soft break'
|
|
2393
|
-
| 'list item.add'
|
|
2394
|
-
| 'list item.remove'
|
|
2395
|
-
| 'list item.toggle'
|
|
2396
|
-
| 'move.block down'
|
|
2397
|
-
| 'move.block up'
|
|
2398
|
-
| 'select.previous block'
|
|
2399
|
-
| 'select.next block'
|
|
2400
|
-
| 'style.add'
|
|
2401
|
-
| 'style.remove'
|
|
2402
|
-
| 'style.toggle',
|
|
2403
|
-
'decorator.toggle'
|
|
2404
|
-
>
|
|
2405
|
-
decorator: string
|
|
2406
|
-
at?: {
|
|
2407
|
-
anchor: BlockOffset_2
|
|
2408
|
-
focus: BlockOffset_2
|
|
2409
|
-
}
|
|
2410
|
-
}
|
|
2411
|
-
| {
|
|
2412
|
-
type: StrictExtract_2<
|
|
2413
|
-
| 'serialize'
|
|
2414
|
-
| 'serialization.failure'
|
|
2415
|
-
| 'serialization.success'
|
|
2416
|
-
| 'deserialize'
|
|
2417
|
-
| 'deserialization.failure'
|
|
2418
|
-
| 'deserialization.success'
|
|
2419
|
-
| 'split'
|
|
2420
|
-
| 'delete'
|
|
2421
|
-
| 'select'
|
|
2422
|
-
| 'annotation.add'
|
|
2423
|
-
| 'annotation.remove'
|
|
2424
|
-
| 'block.set'
|
|
2425
|
-
| 'block.unset'
|
|
2426
|
-
| 'decorator.add'
|
|
2427
|
-
| 'decorator.remove'
|
|
2428
|
-
| 'delete.backward'
|
|
2429
|
-
| 'delete.block'
|
|
2430
|
-
| 'delete.forward'
|
|
2431
|
-
| 'history.redo'
|
|
2432
|
-
| 'history.undo'
|
|
2433
|
-
| 'insert.inline object'
|
|
2434
|
-
| 'insert.block'
|
|
2435
|
-
| 'insert.span'
|
|
2436
|
-
| 'insert.text'
|
|
2437
|
-
| 'move.backward'
|
|
2438
|
-
| 'move.block'
|
|
2439
|
-
| 'move.forward'
|
|
2440
|
-
| 'annotation.toggle'
|
|
2441
|
-
| 'decorator.toggle'
|
|
2442
|
-
| 'delete.text'
|
|
2443
|
-
| 'insert.blocks'
|
|
2444
|
-
| 'insert.break'
|
|
2445
|
-
| 'insert.soft break'
|
|
2446
|
-
| 'list item.add'
|
|
2447
|
-
| 'list item.remove'
|
|
2448
|
-
| 'list item.toggle'
|
|
2449
|
-
| 'move.block down'
|
|
2450
|
-
| 'move.block up'
|
|
2451
|
-
| 'select.previous block'
|
|
2452
|
-
| 'select.next block'
|
|
2453
|
-
| 'style.add'
|
|
2454
|
-
| 'style.remove'
|
|
2455
|
-
| 'style.toggle',
|
|
2456
|
-
'delete.text'
|
|
2457
|
-
>
|
|
2458
|
-
at: {
|
|
2459
|
-
anchor: BlockOffset_2
|
|
2460
|
-
focus: BlockOffset_2
|
|
2461
|
-
}
|
|
2462
|
-
}
|
|
2463
|
-
| {
|
|
2464
|
-
type: StrictExtract_2<
|
|
2465
|
-
| 'serialize'
|
|
2466
|
-
| 'serialization.failure'
|
|
2467
|
-
| 'serialization.success'
|
|
2468
|
-
| 'deserialize'
|
|
2469
|
-
| 'deserialization.failure'
|
|
2470
|
-
| 'deserialization.success'
|
|
2471
|
-
| 'split'
|
|
2472
|
-
| 'delete'
|
|
2473
|
-
| 'select'
|
|
2474
|
-
| 'annotation.add'
|
|
2475
|
-
| 'annotation.remove'
|
|
2476
|
-
| 'block.set'
|
|
2477
|
-
| 'block.unset'
|
|
2478
|
-
| 'decorator.add'
|
|
2479
|
-
| 'decorator.remove'
|
|
2480
|
-
| 'delete.backward'
|
|
2481
|
-
| 'delete.block'
|
|
2482
|
-
| 'delete.forward'
|
|
2483
|
-
| 'history.redo'
|
|
2484
|
-
| 'history.undo'
|
|
2485
|
-
| 'insert.inline object'
|
|
2486
|
-
| 'insert.block'
|
|
2487
|
-
| 'insert.span'
|
|
2488
|
-
| 'insert.text'
|
|
2489
|
-
| 'move.backward'
|
|
2490
|
-
| 'move.block'
|
|
2491
|
-
| 'move.forward'
|
|
2492
|
-
| 'annotation.toggle'
|
|
2493
|
-
| 'decorator.toggle'
|
|
2494
|
-
| 'delete.text'
|
|
2495
|
-
| 'insert.blocks'
|
|
2496
|
-
| 'insert.break'
|
|
2497
|
-
| 'insert.soft break'
|
|
2498
|
-
| 'list item.add'
|
|
2499
|
-
| 'list item.remove'
|
|
2500
|
-
| 'list item.toggle'
|
|
2501
|
-
| 'move.block down'
|
|
2502
|
-
| 'move.block up'
|
|
2503
|
-
| 'select.previous block'
|
|
2504
|
-
| 'select.next block'
|
|
2505
|
-
| 'style.add'
|
|
2506
|
-
| 'style.remove'
|
|
2507
|
-
| 'style.toggle',
|
|
2508
|
-
'deserialize'
|
|
2509
|
-
>
|
|
2510
|
-
originEvent:
|
|
2511
|
-
| PickFromUnion_2<
|
|
2512
|
-
NativeBehaviorEvent_2,
|
|
2513
|
-
'type',
|
|
2514
|
-
'drag.drop' | 'clipboard.paste'
|
|
2515
|
-
>
|
|
2516
|
-
| InputBehaviorEvent_2
|
|
2517
|
-
}
|
|
2518
|
-
| {
|
|
2519
|
-
type: StrictExtract_2<
|
|
2520
|
-
| 'serialize'
|
|
2521
|
-
| 'serialization.failure'
|
|
2522
|
-
| 'serialization.success'
|
|
2523
|
-
| 'deserialize'
|
|
2524
|
-
| 'deserialization.failure'
|
|
2525
|
-
| 'deserialization.success'
|
|
2526
|
-
| 'split'
|
|
2527
|
-
| 'delete'
|
|
2528
|
-
| 'select'
|
|
2529
|
-
| 'annotation.add'
|
|
2530
|
-
| 'annotation.remove'
|
|
2531
|
-
| 'block.set'
|
|
2532
|
-
| 'block.unset'
|
|
2533
|
-
| 'decorator.add'
|
|
2534
|
-
| 'decorator.remove'
|
|
2535
|
-
| 'delete.backward'
|
|
2536
|
-
| 'delete.block'
|
|
2537
|
-
| 'delete.forward'
|
|
2538
|
-
| 'history.redo'
|
|
2539
|
-
| 'history.undo'
|
|
2540
|
-
| 'insert.inline object'
|
|
2541
|
-
| 'insert.block'
|
|
2542
|
-
| 'insert.span'
|
|
2543
|
-
| 'insert.text'
|
|
2544
|
-
| 'move.backward'
|
|
2545
|
-
| 'move.block'
|
|
2546
|
-
| 'move.forward'
|
|
2547
|
-
| 'annotation.toggle'
|
|
2548
|
-
| 'decorator.toggle'
|
|
2549
|
-
| 'delete.text'
|
|
2550
|
-
| 'insert.blocks'
|
|
2551
|
-
| 'insert.break'
|
|
2552
|
-
| 'insert.soft break'
|
|
2553
|
-
| 'list item.add'
|
|
2554
|
-
| 'list item.remove'
|
|
2555
|
-
| 'list item.toggle'
|
|
2556
|
-
| 'move.block down'
|
|
2557
|
-
| 'move.block up'
|
|
2558
|
-
| 'select.previous block'
|
|
2559
|
-
| 'select.next block'
|
|
2560
|
-
| 'style.add'
|
|
2561
|
-
| 'style.remove'
|
|
2562
|
-
| 'style.toggle',
|
|
2563
|
-
'serialize'
|
|
2564
|
-
>
|
|
2565
|
-
originEvent: PickFromUnion_2<
|
|
2566
|
-
NativeBehaviorEvent_2,
|
|
2567
|
-
'type',
|
|
2568
|
-
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
2569
|
-
>
|
|
2570
|
-
}
|
|
2571
|
-
| {
|
|
2572
|
-
type: StrictExtract_2<
|
|
2573
|
-
| 'serialize'
|
|
2574
|
-
| 'serialization.failure'
|
|
2575
|
-
| 'serialization.success'
|
|
2576
|
-
| 'deserialize'
|
|
2577
|
-
| 'deserialization.failure'
|
|
2578
|
-
| 'deserialization.success'
|
|
2579
|
-
| 'split'
|
|
2580
|
-
| 'delete'
|
|
2581
|
-
| 'select'
|
|
2582
|
-
| 'annotation.add'
|
|
2583
|
-
| 'annotation.remove'
|
|
2584
|
-
| 'block.set'
|
|
2585
|
-
| 'block.unset'
|
|
2586
|
-
| 'decorator.add'
|
|
2587
|
-
| 'decorator.remove'
|
|
2588
|
-
| 'delete.backward'
|
|
2589
|
-
| 'delete.block'
|
|
2590
|
-
| 'delete.forward'
|
|
2591
|
-
| 'history.redo'
|
|
2592
|
-
| 'history.undo'
|
|
2593
|
-
| 'insert.inline object'
|
|
2594
|
-
| 'insert.block'
|
|
2595
|
-
| 'insert.span'
|
|
2596
|
-
| 'insert.text'
|
|
2597
|
-
| 'move.backward'
|
|
2598
|
-
| 'move.block'
|
|
2599
|
-
| 'move.forward'
|
|
2600
|
-
| 'annotation.toggle'
|
|
2601
|
-
| 'decorator.toggle'
|
|
2602
|
-
| 'delete.text'
|
|
2603
|
-
| 'insert.blocks'
|
|
2604
|
-
| 'insert.break'
|
|
2605
|
-
| 'insert.soft break'
|
|
2606
|
-
| 'list item.add'
|
|
2607
|
-
| 'list item.remove'
|
|
2608
|
-
| 'list item.toggle'
|
|
2609
|
-
| 'move.block down'
|
|
2610
|
-
| 'move.block up'
|
|
2611
|
-
| 'select.previous block'
|
|
2612
|
-
| 'select.next block'
|
|
2613
|
-
| 'style.add'
|
|
2614
|
-
| 'style.remove'
|
|
2615
|
-
| 'style.toggle',
|
|
2616
|
-
'deserialization.success'
|
|
2617
|
-
>
|
|
2618
|
-
mimeType: MIMEType_2
|
|
2619
|
-
data: Array<PortableTextBlock>
|
|
2620
|
-
originEvent:
|
|
2621
|
-
| PickFromUnion_2<
|
|
2622
|
-
NativeBehaviorEvent_2,
|
|
2623
|
-
'type',
|
|
2624
|
-
'drag.drop' | 'clipboard.paste'
|
|
2625
|
-
>
|
|
2626
|
-
| InputBehaviorEvent_2
|
|
2627
|
-
}
|
|
2628
|
-
| {
|
|
2629
|
-
type: StrictExtract_2<
|
|
2630
|
-
| 'serialize'
|
|
2631
|
-
| 'serialization.failure'
|
|
2632
|
-
| 'serialization.success'
|
|
2633
|
-
| 'deserialize'
|
|
2634
|
-
| 'deserialization.failure'
|
|
2635
|
-
| 'deserialization.success'
|
|
2636
|
-
| 'split'
|
|
2637
|
-
| 'delete'
|
|
2638
|
-
| 'select'
|
|
2639
|
-
| 'annotation.add'
|
|
2640
|
-
| 'annotation.remove'
|
|
2641
|
-
| 'block.set'
|
|
2642
|
-
| 'block.unset'
|
|
2643
|
-
| 'decorator.add'
|
|
2644
|
-
| 'decorator.remove'
|
|
2645
|
-
| 'delete.backward'
|
|
2646
|
-
| 'delete.block'
|
|
2647
|
-
| 'delete.forward'
|
|
2648
|
-
| 'history.redo'
|
|
2649
|
-
| 'history.undo'
|
|
2650
|
-
| 'insert.inline object'
|
|
2651
|
-
| 'insert.block'
|
|
2652
|
-
| 'insert.span'
|
|
2653
|
-
| 'insert.text'
|
|
2654
|
-
| 'move.backward'
|
|
2655
|
-
| 'move.block'
|
|
2656
|
-
| 'move.forward'
|
|
2657
|
-
| 'annotation.toggle'
|
|
2658
|
-
| 'decorator.toggle'
|
|
2659
|
-
| 'delete.text'
|
|
2660
|
-
| 'insert.blocks'
|
|
2661
|
-
| 'insert.break'
|
|
2662
|
-
| 'insert.soft break'
|
|
2663
|
-
| 'list item.add'
|
|
2664
|
-
| 'list item.remove'
|
|
2665
|
-
| 'list item.toggle'
|
|
2666
|
-
| 'move.block down'
|
|
2667
|
-
| 'move.block up'
|
|
2668
|
-
| 'select.previous block'
|
|
2669
|
-
| 'select.next block'
|
|
2670
|
-
| 'style.add'
|
|
2671
|
-
| 'style.remove'
|
|
2672
|
-
| 'style.toggle',
|
|
2673
|
-
'deserialization.failure'
|
|
2674
|
-
>
|
|
2675
|
-
mimeType: MIMEType_2
|
|
2676
|
-
reason: string
|
|
2677
|
-
originEvent:
|
|
2678
|
-
| PickFromUnion_2<
|
|
2679
|
-
NativeBehaviorEvent_2,
|
|
2680
|
-
'type',
|
|
2681
|
-
'drag.drop' | 'clipboard.paste'
|
|
2682
|
-
>
|
|
2683
|
-
| InputBehaviorEvent_2
|
|
2684
|
-
}
|
|
2685
|
-
| {
|
|
2686
|
-
type: StrictExtract_2<
|
|
2687
|
-
| 'serialize'
|
|
2688
|
-
| 'serialization.failure'
|
|
2689
|
-
| 'serialization.success'
|
|
2690
|
-
| 'deserialize'
|
|
2691
|
-
| 'deserialization.failure'
|
|
2692
|
-
| 'deserialization.success'
|
|
2693
|
-
| 'split'
|
|
2694
|
-
| 'delete'
|
|
2695
|
-
| 'select'
|
|
2696
|
-
| 'annotation.add'
|
|
2697
|
-
| 'annotation.remove'
|
|
2698
|
-
| 'block.set'
|
|
2699
|
-
| 'block.unset'
|
|
2700
|
-
| 'decorator.add'
|
|
2701
|
-
| 'decorator.remove'
|
|
2702
|
-
| 'delete.backward'
|
|
2703
|
-
| 'delete.block'
|
|
2704
|
-
| 'delete.forward'
|
|
2705
|
-
| 'history.redo'
|
|
2706
|
-
| 'history.undo'
|
|
2707
|
-
| 'insert.inline object'
|
|
2708
|
-
| 'insert.block'
|
|
2709
|
-
| 'insert.span'
|
|
2710
|
-
| 'insert.text'
|
|
2711
|
-
| 'move.backward'
|
|
2712
|
-
| 'move.block'
|
|
2713
|
-
| 'move.forward'
|
|
2714
|
-
| 'annotation.toggle'
|
|
2715
|
-
| 'decorator.toggle'
|
|
2716
|
-
| 'delete.text'
|
|
2717
|
-
| 'insert.blocks'
|
|
2718
|
-
| 'insert.break'
|
|
2719
|
-
| 'insert.soft break'
|
|
2720
|
-
| 'list item.add'
|
|
2721
|
-
| 'list item.remove'
|
|
2722
|
-
| 'list item.toggle'
|
|
2723
|
-
| 'move.block down'
|
|
2724
|
-
| 'move.block up'
|
|
2725
|
-
| 'select.previous block'
|
|
2726
|
-
| 'select.next block'
|
|
2727
|
-
| 'style.add'
|
|
2728
|
-
| 'style.remove'
|
|
2729
|
-
| 'style.toggle',
|
|
2730
|
-
'serialization.success'
|
|
2731
|
-
>
|
|
2732
|
-
mimeType: MIMEType_2
|
|
2733
|
-
data: string
|
|
2734
|
-
originEvent: PickFromUnion_2<
|
|
2735
|
-
NativeBehaviorEvent_2,
|
|
2736
|
-
'type',
|
|
2737
|
-
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
2738
|
-
>
|
|
2739
|
-
}
|
|
2740
|
-
| {
|
|
2741
|
-
type: StrictExtract_2<
|
|
2742
|
-
| 'serialize'
|
|
2743
|
-
| 'serialization.failure'
|
|
2744
|
-
| 'serialization.success'
|
|
2745
|
-
| 'deserialize'
|
|
2746
|
-
| 'deserialization.failure'
|
|
2747
|
-
| 'deserialization.success'
|
|
2748
|
-
| 'split'
|
|
2749
|
-
| 'delete'
|
|
2750
|
-
| 'select'
|
|
2751
|
-
| 'annotation.add'
|
|
2752
|
-
| 'annotation.remove'
|
|
2753
|
-
| 'block.set'
|
|
2754
|
-
| 'block.unset'
|
|
2755
|
-
| 'decorator.add'
|
|
2756
|
-
| 'decorator.remove'
|
|
2757
|
-
| 'delete.backward'
|
|
2758
|
-
| 'delete.block'
|
|
2759
|
-
| 'delete.forward'
|
|
2760
|
-
| 'history.redo'
|
|
2761
|
-
| 'history.undo'
|
|
2762
|
-
| 'insert.inline object'
|
|
2763
|
-
| 'insert.block'
|
|
2764
|
-
| 'insert.span'
|
|
2765
|
-
| 'insert.text'
|
|
2766
|
-
| 'move.backward'
|
|
2767
|
-
| 'move.block'
|
|
2768
|
-
| 'move.forward'
|
|
2769
|
-
| 'annotation.toggle'
|
|
2770
|
-
| 'decorator.toggle'
|
|
2771
|
-
| 'delete.text'
|
|
2772
|
-
| 'insert.blocks'
|
|
2773
|
-
| 'insert.break'
|
|
2774
|
-
| 'insert.soft break'
|
|
2775
|
-
| 'list item.add'
|
|
2776
|
-
| 'list item.remove'
|
|
2777
|
-
| 'list item.toggle'
|
|
2778
|
-
| 'move.block down'
|
|
2779
|
-
| 'move.block up'
|
|
2780
|
-
| 'select.previous block'
|
|
2781
|
-
| 'select.next block'
|
|
2782
|
-
| 'style.add'
|
|
2783
|
-
| 'style.remove'
|
|
2784
|
-
| 'style.toggle',
|
|
2785
|
-
'serialization.failure'
|
|
2786
|
-
>
|
|
2787
|
-
mimeType: MIMEType_2
|
|
2788
|
-
reason: string
|
|
2789
|
-
originEvent: PickFromUnion_2<
|
|
2790
|
-
NativeBehaviorEvent_2,
|
|
2791
|
-
'type',
|
|
2792
|
-
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
2793
|
-
>
|
|
2794
|
-
}
|
|
2795
|
-
| {
|
|
2796
|
-
type: StrictExtract_2<
|
|
2797
|
-
| 'serialize'
|
|
2798
|
-
| 'serialization.failure'
|
|
2799
|
-
| 'serialization.success'
|
|
2800
|
-
| 'deserialize'
|
|
2801
|
-
| 'deserialization.failure'
|
|
2802
|
-
| 'deserialization.success'
|
|
2803
|
-
| 'split'
|
|
2804
|
-
| 'delete'
|
|
2805
|
-
| 'select'
|
|
2806
|
-
| 'annotation.add'
|
|
2807
|
-
| 'annotation.remove'
|
|
2808
|
-
| 'block.set'
|
|
2809
|
-
| 'block.unset'
|
|
2810
|
-
| 'decorator.add'
|
|
2811
|
-
| 'decorator.remove'
|
|
2812
|
-
| 'delete.backward'
|
|
2813
|
-
| 'delete.block'
|
|
2814
|
-
| 'delete.forward'
|
|
2815
|
-
| 'history.redo'
|
|
2816
|
-
| 'history.undo'
|
|
2817
|
-
| 'insert.inline object'
|
|
2818
|
-
| 'insert.block'
|
|
2819
|
-
| 'insert.span'
|
|
2820
|
-
| 'insert.text'
|
|
2821
|
-
| 'move.backward'
|
|
2822
|
-
| 'move.block'
|
|
2823
|
-
| 'move.forward'
|
|
2824
|
-
| 'annotation.toggle'
|
|
2825
|
-
| 'decorator.toggle'
|
|
2826
|
-
| 'delete.text'
|
|
2827
|
-
| 'insert.blocks'
|
|
2828
|
-
| 'insert.break'
|
|
2829
|
-
| 'insert.soft break'
|
|
2830
|
-
| 'list item.add'
|
|
2831
|
-
| 'list item.remove'
|
|
2832
|
-
| 'list item.toggle'
|
|
2833
|
-
| 'move.block down'
|
|
2834
|
-
| 'move.block up'
|
|
2835
|
-
| 'select.previous block'
|
|
2836
|
-
| 'select.next block'
|
|
2837
|
-
| 'style.add'
|
|
2838
|
-
| 'style.remove'
|
|
2839
|
-
| 'style.toggle',
|
|
2840
|
-
'insert.blocks'
|
|
2841
|
-
>
|
|
2842
|
-
blocks: Array<BlockWithOptionalKey_2>
|
|
2843
|
-
placement: InsertPlacement_2
|
|
2844
|
-
}
|
|
2845
|
-
| {
|
|
2846
|
-
type: StrictExtract_2<
|
|
2847
|
-
| 'serialize'
|
|
2848
|
-
| 'serialization.failure'
|
|
2849
|
-
| 'serialization.success'
|
|
2850
|
-
| 'deserialize'
|
|
2851
|
-
| 'deserialization.failure'
|
|
2852
|
-
| 'deserialization.success'
|
|
2853
|
-
| 'split'
|
|
2854
|
-
| 'delete'
|
|
2855
|
-
| 'select'
|
|
2856
|
-
| 'annotation.add'
|
|
2857
|
-
| 'annotation.remove'
|
|
2858
|
-
| 'block.set'
|
|
2859
|
-
| 'block.unset'
|
|
2860
|
-
| 'decorator.add'
|
|
2861
|
-
| 'decorator.remove'
|
|
2862
|
-
| 'delete.backward'
|
|
2863
|
-
| 'delete.block'
|
|
2864
|
-
| 'delete.forward'
|
|
2865
|
-
| 'history.redo'
|
|
2866
|
-
| 'history.undo'
|
|
2867
|
-
| 'insert.inline object'
|
|
2868
|
-
| 'insert.block'
|
|
2869
|
-
| 'insert.span'
|
|
2870
|
-
| 'insert.text'
|
|
2871
|
-
| 'move.backward'
|
|
2872
|
-
| 'move.block'
|
|
2873
|
-
| 'move.forward'
|
|
2874
|
-
| 'annotation.toggle'
|
|
2875
|
-
| 'decorator.toggle'
|
|
2876
|
-
| 'delete.text'
|
|
2877
|
-
| 'insert.blocks'
|
|
2878
|
-
| 'insert.break'
|
|
2879
|
-
| 'insert.soft break'
|
|
2880
|
-
| 'list item.add'
|
|
2881
|
-
| 'list item.remove'
|
|
2882
|
-
| 'list item.toggle'
|
|
2883
|
-
| 'move.block down'
|
|
2884
|
-
| 'move.block up'
|
|
2885
|
-
| 'select.previous block'
|
|
2886
|
-
| 'select.next block'
|
|
2887
|
-
| 'style.add'
|
|
2888
|
-
| 'style.remove'
|
|
2889
|
-
| 'style.toggle',
|
|
2890
|
-
'insert.break'
|
|
2891
|
-
>
|
|
2892
|
-
}
|
|
2893
|
-
| {
|
|
2894
|
-
type: StrictExtract_2<
|
|
2895
|
-
| 'serialize'
|
|
2896
|
-
| 'serialization.failure'
|
|
2897
|
-
| 'serialization.success'
|
|
2898
|
-
| 'deserialize'
|
|
2899
|
-
| 'deserialization.failure'
|
|
2900
|
-
| 'deserialization.success'
|
|
2901
|
-
| 'split'
|
|
2902
|
-
| 'delete'
|
|
2903
|
-
| 'select'
|
|
2904
|
-
| 'annotation.add'
|
|
2905
|
-
| 'annotation.remove'
|
|
2906
|
-
| 'block.set'
|
|
2907
|
-
| 'block.unset'
|
|
2908
|
-
| 'decorator.add'
|
|
2909
|
-
| 'decorator.remove'
|
|
2910
|
-
| 'delete.backward'
|
|
2911
|
-
| 'delete.block'
|
|
2912
|
-
| 'delete.forward'
|
|
2913
|
-
| 'history.redo'
|
|
2914
|
-
| 'history.undo'
|
|
2915
|
-
| 'insert.inline object'
|
|
2916
|
-
| 'insert.block'
|
|
2917
|
-
| 'insert.span'
|
|
2918
|
-
| 'insert.text'
|
|
2919
|
-
| 'move.backward'
|
|
2920
|
-
| 'move.block'
|
|
2921
|
-
| 'move.forward'
|
|
2922
|
-
| 'annotation.toggle'
|
|
2923
|
-
| 'decorator.toggle'
|
|
2924
|
-
| 'delete.text'
|
|
2925
|
-
| 'insert.blocks'
|
|
2926
|
-
| 'insert.break'
|
|
2927
|
-
| 'insert.soft break'
|
|
2928
|
-
| 'list item.add'
|
|
2929
|
-
| 'list item.remove'
|
|
2930
|
-
| 'list item.toggle'
|
|
2931
|
-
| 'move.block down'
|
|
2932
|
-
| 'move.block up'
|
|
2933
|
-
| 'select.previous block'
|
|
2934
|
-
| 'select.next block'
|
|
2935
|
-
| 'style.add'
|
|
2936
|
-
| 'style.remove'
|
|
2937
|
-
| 'style.toggle',
|
|
2938
|
-
'insert.soft break'
|
|
2939
|
-
>
|
|
2940
|
-
}
|
|
2941
|
-
| {
|
|
2942
|
-
type: StrictExtract_2<
|
|
2943
|
-
| 'serialize'
|
|
2944
|
-
| 'serialization.failure'
|
|
2945
|
-
| 'serialization.success'
|
|
2946
|
-
| 'deserialize'
|
|
2947
|
-
| 'deserialization.failure'
|
|
2948
|
-
| 'deserialization.success'
|
|
2949
|
-
| 'split'
|
|
2950
|
-
| 'delete'
|
|
2951
|
-
| 'select'
|
|
2952
|
-
| 'annotation.add'
|
|
2953
|
-
| 'annotation.remove'
|
|
2954
|
-
| 'block.set'
|
|
2955
|
-
| 'block.unset'
|
|
2956
|
-
| 'decorator.add'
|
|
2957
|
-
| 'decorator.remove'
|
|
2958
|
-
| 'delete.backward'
|
|
2959
|
-
| 'delete.block'
|
|
2960
|
-
| 'delete.forward'
|
|
2961
|
-
| 'history.redo'
|
|
2962
|
-
| 'history.undo'
|
|
2963
|
-
| 'insert.inline object'
|
|
2964
|
-
| 'insert.block'
|
|
2965
|
-
| 'insert.span'
|
|
2966
|
-
| 'insert.text'
|
|
2967
|
-
| 'move.backward'
|
|
2968
|
-
| 'move.block'
|
|
2969
|
-
| 'move.forward'
|
|
2970
|
-
| 'annotation.toggle'
|
|
2971
|
-
| 'decorator.toggle'
|
|
2972
|
-
| 'delete.text'
|
|
2973
|
-
| 'insert.blocks'
|
|
2974
|
-
| 'insert.break'
|
|
2975
|
-
| 'insert.soft break'
|
|
2976
|
-
| 'list item.add'
|
|
2977
|
-
| 'list item.remove'
|
|
2978
|
-
| 'list item.toggle'
|
|
2979
|
-
| 'move.block down'
|
|
2980
|
-
| 'move.block up'
|
|
2981
|
-
| 'select.previous block'
|
|
2982
|
-
| 'select.next block'
|
|
2983
|
-
| 'style.add'
|
|
2984
|
-
| 'style.remove'
|
|
2985
|
-
| 'style.toggle',
|
|
2986
|
-
'list item.add'
|
|
2987
|
-
>
|
|
2988
|
-
listItem: string
|
|
2989
|
-
}
|
|
2990
|
-
| {
|
|
2991
|
-
type: StrictExtract_2<
|
|
2992
|
-
| 'serialize'
|
|
2993
|
-
| 'serialization.failure'
|
|
2994
|
-
| 'serialization.success'
|
|
2995
|
-
| 'deserialize'
|
|
2996
|
-
| 'deserialization.failure'
|
|
2997
|
-
| 'deserialization.success'
|
|
2998
|
-
| 'split'
|
|
2999
|
-
| 'delete'
|
|
3000
|
-
| 'select'
|
|
3001
|
-
| 'annotation.add'
|
|
3002
|
-
| 'annotation.remove'
|
|
3003
|
-
| 'block.set'
|
|
3004
|
-
| 'block.unset'
|
|
3005
|
-
| 'decorator.add'
|
|
3006
|
-
| 'decorator.remove'
|
|
3007
|
-
| 'delete.backward'
|
|
3008
|
-
| 'delete.block'
|
|
3009
|
-
| 'delete.forward'
|
|
3010
|
-
| 'history.redo'
|
|
3011
|
-
| 'history.undo'
|
|
3012
|
-
| 'insert.inline object'
|
|
3013
|
-
| 'insert.block'
|
|
3014
|
-
| 'insert.span'
|
|
3015
|
-
| 'insert.text'
|
|
3016
|
-
| 'move.backward'
|
|
3017
|
-
| 'move.block'
|
|
3018
|
-
| 'move.forward'
|
|
3019
|
-
| 'annotation.toggle'
|
|
3020
|
-
| 'decorator.toggle'
|
|
3021
|
-
| 'delete.text'
|
|
3022
|
-
| 'insert.blocks'
|
|
3023
|
-
| 'insert.break'
|
|
3024
|
-
| 'insert.soft break'
|
|
3025
|
-
| 'list item.add'
|
|
3026
|
-
| 'list item.remove'
|
|
3027
|
-
| 'list item.toggle'
|
|
3028
|
-
| 'move.block down'
|
|
3029
|
-
| 'move.block up'
|
|
3030
|
-
| 'select.previous block'
|
|
3031
|
-
| 'select.next block'
|
|
3032
|
-
| 'style.add'
|
|
3033
|
-
| 'style.remove'
|
|
3034
|
-
| 'style.toggle',
|
|
3035
|
-
'list item.remove'
|
|
3036
|
-
>
|
|
3037
|
-
listItem: string
|
|
3038
|
-
}
|
|
3039
|
-
| {
|
|
3040
|
-
type: StrictExtract_2<
|
|
3041
|
-
| 'serialize'
|
|
3042
|
-
| 'serialization.failure'
|
|
3043
|
-
| 'serialization.success'
|
|
3044
|
-
| 'deserialize'
|
|
3045
|
-
| 'deserialization.failure'
|
|
3046
|
-
| 'deserialization.success'
|
|
3047
|
-
| 'split'
|
|
3048
|
-
| 'delete'
|
|
3049
|
-
| 'select'
|
|
3050
|
-
| 'annotation.add'
|
|
3051
|
-
| 'annotation.remove'
|
|
3052
|
-
| 'block.set'
|
|
3053
|
-
| 'block.unset'
|
|
3054
|
-
| 'decorator.add'
|
|
3055
|
-
| 'decorator.remove'
|
|
3056
|
-
| 'delete.backward'
|
|
3057
|
-
| 'delete.block'
|
|
3058
|
-
| 'delete.forward'
|
|
3059
|
-
| 'history.redo'
|
|
3060
|
-
| 'history.undo'
|
|
3061
|
-
| 'insert.inline object'
|
|
3062
|
-
| 'insert.block'
|
|
3063
|
-
| 'insert.span'
|
|
3064
|
-
| 'insert.text'
|
|
3065
|
-
| 'move.backward'
|
|
3066
|
-
| 'move.block'
|
|
3067
|
-
| 'move.forward'
|
|
3068
|
-
| 'annotation.toggle'
|
|
3069
|
-
| 'decorator.toggle'
|
|
3070
|
-
| 'delete.text'
|
|
3071
|
-
| 'insert.blocks'
|
|
3072
|
-
| 'insert.break'
|
|
3073
|
-
| 'insert.soft break'
|
|
3074
|
-
| 'list item.add'
|
|
3075
|
-
| 'list item.remove'
|
|
3076
|
-
| 'list item.toggle'
|
|
3077
|
-
| 'move.block down'
|
|
3078
|
-
| 'move.block up'
|
|
3079
|
-
| 'select.previous block'
|
|
3080
|
-
| 'select.next block'
|
|
3081
|
-
| 'style.add'
|
|
3082
|
-
| 'style.remove'
|
|
3083
|
-
| 'style.toggle',
|
|
3084
|
-
'list item.toggle'
|
|
3085
|
-
>
|
|
3086
|
-
listItem: string
|
|
3087
|
-
}
|
|
3088
|
-
| {
|
|
3089
|
-
type: StrictExtract_2<
|
|
3090
|
-
| 'serialize'
|
|
3091
|
-
| 'serialization.failure'
|
|
3092
|
-
| 'serialization.success'
|
|
3093
|
-
| 'deserialize'
|
|
3094
|
-
| 'deserialization.failure'
|
|
3095
|
-
| 'deserialization.success'
|
|
3096
|
-
| 'split'
|
|
3097
|
-
| 'delete'
|
|
3098
|
-
| 'select'
|
|
3099
|
-
| 'annotation.add'
|
|
3100
|
-
| 'annotation.remove'
|
|
3101
|
-
| 'block.set'
|
|
3102
|
-
| 'block.unset'
|
|
3103
|
-
| 'decorator.add'
|
|
3104
|
-
| 'decorator.remove'
|
|
3105
|
-
| 'delete.backward'
|
|
3106
|
-
| 'delete.block'
|
|
3107
|
-
| 'delete.forward'
|
|
3108
|
-
| 'history.redo'
|
|
3109
|
-
| 'history.undo'
|
|
3110
|
-
| 'insert.inline object'
|
|
3111
|
-
| 'insert.block'
|
|
3112
|
-
| 'insert.span'
|
|
3113
|
-
| 'insert.text'
|
|
3114
|
-
| 'move.backward'
|
|
3115
|
-
| 'move.block'
|
|
3116
|
-
| 'move.forward'
|
|
3117
|
-
| 'annotation.toggle'
|
|
3118
|
-
| 'decorator.toggle'
|
|
3119
|
-
| 'delete.text'
|
|
3120
|
-
| 'insert.blocks'
|
|
3121
|
-
| 'insert.break'
|
|
3122
|
-
| 'insert.soft break'
|
|
3123
|
-
| 'list item.add'
|
|
3124
|
-
| 'list item.remove'
|
|
3125
|
-
| 'list item.toggle'
|
|
3126
|
-
| 'move.block down'
|
|
3127
|
-
| 'move.block up'
|
|
3128
|
-
| 'select.previous block'
|
|
3129
|
-
| 'select.next block'
|
|
3130
|
-
| 'style.add'
|
|
3131
|
-
| 'style.remove'
|
|
3132
|
-
| 'style.toggle',
|
|
3133
|
-
'move.block down'
|
|
3134
|
-
>
|
|
3135
|
-
at: [KeyedSegment]
|
|
3136
|
-
}
|
|
3137
|
-
| {
|
|
3138
|
-
type: StrictExtract_2<
|
|
3139
|
-
| 'serialize'
|
|
3140
|
-
| 'serialization.failure'
|
|
3141
|
-
| 'serialization.success'
|
|
3142
|
-
| 'deserialize'
|
|
3143
|
-
| 'deserialization.failure'
|
|
3144
|
-
| 'deserialization.success'
|
|
3145
|
-
| 'split'
|
|
3146
|
-
| 'delete'
|
|
3147
|
-
| 'select'
|
|
3148
|
-
| 'annotation.add'
|
|
3149
|
-
| 'annotation.remove'
|
|
3150
|
-
| 'block.set'
|
|
3151
|
-
| 'block.unset'
|
|
3152
|
-
| 'decorator.add'
|
|
3153
|
-
| 'decorator.remove'
|
|
3154
|
-
| 'delete.backward'
|
|
3155
|
-
| 'delete.block'
|
|
3156
|
-
| 'delete.forward'
|
|
3157
|
-
| 'history.redo'
|
|
3158
|
-
| 'history.undo'
|
|
3159
|
-
| 'insert.inline object'
|
|
3160
|
-
| 'insert.block'
|
|
3161
|
-
| 'insert.span'
|
|
3162
|
-
| 'insert.text'
|
|
3163
|
-
| 'move.backward'
|
|
3164
|
-
| 'move.block'
|
|
3165
|
-
| 'move.forward'
|
|
3166
|
-
| 'annotation.toggle'
|
|
3167
|
-
| 'decorator.toggle'
|
|
3168
|
-
| 'delete.text'
|
|
3169
|
-
| 'insert.blocks'
|
|
3170
|
-
| 'insert.break'
|
|
3171
|
-
| 'insert.soft break'
|
|
3172
|
-
| 'list item.add'
|
|
3173
|
-
| 'list item.remove'
|
|
3174
|
-
| 'list item.toggle'
|
|
3175
|
-
| 'move.block down'
|
|
3176
|
-
| 'move.block up'
|
|
3177
|
-
| 'select.previous block'
|
|
3178
|
-
| 'select.next block'
|
|
3179
|
-
| 'style.add'
|
|
3180
|
-
| 'style.remove'
|
|
3181
|
-
| 'style.toggle',
|
|
3182
|
-
'move.block up'
|
|
3183
|
-
>
|
|
3184
|
-
at: [KeyedSegment]
|
|
3185
|
-
}
|
|
3186
|
-
| {
|
|
3187
|
-
type: StrictExtract_2<
|
|
3188
|
-
| 'serialize'
|
|
3189
|
-
| 'serialization.failure'
|
|
3190
|
-
| 'serialization.success'
|
|
3191
|
-
| 'deserialize'
|
|
3192
|
-
| 'deserialization.failure'
|
|
3193
|
-
| 'deserialization.success'
|
|
3194
|
-
| 'split'
|
|
3195
|
-
| 'delete'
|
|
3196
|
-
| 'select'
|
|
3197
|
-
| 'annotation.add'
|
|
3198
|
-
| 'annotation.remove'
|
|
3199
|
-
| 'block.set'
|
|
3200
|
-
| 'block.unset'
|
|
3201
|
-
| 'decorator.add'
|
|
3202
|
-
| 'decorator.remove'
|
|
3203
|
-
| 'delete.backward'
|
|
3204
|
-
| 'delete.block'
|
|
3205
|
-
| 'delete.forward'
|
|
3206
|
-
| 'history.redo'
|
|
3207
|
-
| 'history.undo'
|
|
3208
|
-
| 'insert.inline object'
|
|
3209
|
-
| 'insert.block'
|
|
3210
|
-
| 'insert.span'
|
|
3211
|
-
| 'insert.text'
|
|
3212
|
-
| 'move.backward'
|
|
3213
|
-
| 'move.block'
|
|
3214
|
-
| 'move.forward'
|
|
3215
|
-
| 'annotation.toggle'
|
|
3216
|
-
| 'decorator.toggle'
|
|
3217
|
-
| 'delete.text'
|
|
3218
|
-
| 'insert.blocks'
|
|
3219
|
-
| 'insert.break'
|
|
3220
|
-
| 'insert.soft break'
|
|
3221
|
-
| 'list item.add'
|
|
3222
|
-
| 'list item.remove'
|
|
3223
|
-
| 'list item.toggle'
|
|
3224
|
-
| 'move.block down'
|
|
3225
|
-
| 'move.block up'
|
|
3226
|
-
| 'select.previous block'
|
|
3227
|
-
| 'select.next block'
|
|
3228
|
-
| 'style.add'
|
|
3229
|
-
| 'style.remove'
|
|
3230
|
-
| 'style.toggle',
|
|
3231
|
-
'select.previous block'
|
|
3232
|
-
>
|
|
3233
|
-
select?: 'start' | 'end'
|
|
3234
|
-
}
|
|
3235
|
-
| {
|
|
3236
|
-
type: StrictExtract_2<
|
|
3237
|
-
| 'serialize'
|
|
3238
|
-
| 'serialization.failure'
|
|
3239
|
-
| 'serialization.success'
|
|
3240
|
-
| 'deserialize'
|
|
3241
|
-
| 'deserialization.failure'
|
|
3242
|
-
| 'deserialization.success'
|
|
3243
|
-
| 'split'
|
|
3244
|
-
| 'delete'
|
|
3245
|
-
| 'select'
|
|
3246
|
-
| 'annotation.add'
|
|
3247
|
-
| 'annotation.remove'
|
|
3248
|
-
| 'block.set'
|
|
3249
|
-
| 'block.unset'
|
|
3250
|
-
| 'decorator.add'
|
|
3251
|
-
| 'decorator.remove'
|
|
3252
|
-
| 'delete.backward'
|
|
3253
|
-
| 'delete.block'
|
|
3254
|
-
| 'delete.forward'
|
|
3255
|
-
| 'history.redo'
|
|
3256
|
-
| 'history.undo'
|
|
3257
|
-
| 'insert.inline object'
|
|
3258
|
-
| 'insert.block'
|
|
3259
|
-
| 'insert.span'
|
|
3260
|
-
| 'insert.text'
|
|
3261
|
-
| 'move.backward'
|
|
3262
|
-
| 'move.block'
|
|
3263
|
-
| 'move.forward'
|
|
3264
|
-
| 'annotation.toggle'
|
|
3265
|
-
| 'decorator.toggle'
|
|
3266
|
-
| 'delete.text'
|
|
3267
|
-
| 'insert.blocks'
|
|
3268
|
-
| 'insert.break'
|
|
3269
|
-
| 'insert.soft break'
|
|
3270
|
-
| 'list item.add'
|
|
3271
|
-
| 'list item.remove'
|
|
3272
|
-
| 'list item.toggle'
|
|
3273
|
-
| 'move.block down'
|
|
3274
|
-
| 'move.block up'
|
|
3275
|
-
| 'select.previous block'
|
|
3276
|
-
| 'select.next block'
|
|
3277
|
-
| 'style.add'
|
|
3278
|
-
| 'style.remove'
|
|
3279
|
-
| 'style.toggle',
|
|
3280
|
-
'select.next block'
|
|
3281
|
-
>
|
|
3282
|
-
select?: 'start' | 'end'
|
|
3283
|
-
}
|
|
3284
|
-
| {
|
|
3285
|
-
type: StrictExtract_2<
|
|
3286
|
-
| 'serialize'
|
|
3287
|
-
| 'serialization.failure'
|
|
3288
|
-
| 'serialization.success'
|
|
3289
|
-
| 'deserialize'
|
|
3290
|
-
| 'deserialization.failure'
|
|
3291
|
-
| 'deserialization.success'
|
|
3292
|
-
| 'split'
|
|
3293
|
-
| 'delete'
|
|
3294
|
-
| 'select'
|
|
3295
|
-
| 'annotation.add'
|
|
3296
|
-
| 'annotation.remove'
|
|
3297
|
-
| 'block.set'
|
|
3298
|
-
| 'block.unset'
|
|
3299
|
-
| 'decorator.add'
|
|
3300
|
-
| 'decorator.remove'
|
|
3301
|
-
| 'delete.backward'
|
|
3302
|
-
| 'delete.block'
|
|
3303
|
-
| 'delete.forward'
|
|
3304
|
-
| 'history.redo'
|
|
3305
|
-
| 'history.undo'
|
|
3306
|
-
| 'insert.inline object'
|
|
3307
|
-
| 'insert.block'
|
|
3308
|
-
| 'insert.span'
|
|
3309
|
-
| 'insert.text'
|
|
3310
|
-
| 'move.backward'
|
|
3311
|
-
| 'move.block'
|
|
3312
|
-
| 'move.forward'
|
|
3313
|
-
| 'annotation.toggle'
|
|
3314
|
-
| 'decorator.toggle'
|
|
3315
|
-
| 'delete.text'
|
|
3316
|
-
| 'insert.blocks'
|
|
3317
|
-
| 'insert.break'
|
|
3318
|
-
| 'insert.soft break'
|
|
3319
|
-
| 'list item.add'
|
|
3320
|
-
| 'list item.remove'
|
|
3321
|
-
| 'list item.toggle'
|
|
3322
|
-
| 'move.block down'
|
|
3323
|
-
| 'move.block up'
|
|
3324
|
-
| 'select.previous block'
|
|
3325
|
-
| 'select.next block'
|
|
3326
|
-
| 'style.add'
|
|
3327
|
-
| 'style.remove'
|
|
3328
|
-
| 'style.toggle',
|
|
3329
|
-
'split'
|
|
3330
|
-
>
|
|
3331
|
-
}
|
|
3332
|
-
| {
|
|
3333
|
-
type: StrictExtract_2<
|
|
3334
|
-
| 'serialize'
|
|
3335
|
-
| 'serialization.failure'
|
|
3336
|
-
| 'serialization.success'
|
|
3337
|
-
| 'deserialize'
|
|
3338
|
-
| 'deserialization.failure'
|
|
3339
|
-
| 'deserialization.success'
|
|
3340
|
-
| 'split'
|
|
3341
|
-
| 'delete'
|
|
3342
|
-
| 'select'
|
|
3343
|
-
| 'annotation.add'
|
|
3344
|
-
| 'annotation.remove'
|
|
3345
|
-
| 'block.set'
|
|
3346
|
-
| 'block.unset'
|
|
3347
|
-
| 'decorator.add'
|
|
3348
|
-
| 'decorator.remove'
|
|
3349
|
-
| 'delete.backward'
|
|
3350
|
-
| 'delete.block'
|
|
3351
|
-
| 'delete.forward'
|
|
3352
|
-
| 'history.redo'
|
|
3353
|
-
| 'history.undo'
|
|
3354
|
-
| 'insert.inline object'
|
|
3355
|
-
| 'insert.block'
|
|
3356
|
-
| 'insert.span'
|
|
3357
|
-
| 'insert.text'
|
|
3358
|
-
| 'move.backward'
|
|
3359
|
-
| 'move.block'
|
|
3360
|
-
| 'move.forward'
|
|
3361
|
-
| 'annotation.toggle'
|
|
3362
|
-
| 'decorator.toggle'
|
|
3363
|
-
| 'delete.text'
|
|
3364
|
-
| 'insert.blocks'
|
|
3365
|
-
| 'insert.break'
|
|
3366
|
-
| 'insert.soft break'
|
|
3367
|
-
| 'list item.add'
|
|
3368
|
-
| 'list item.remove'
|
|
3369
|
-
| 'list item.toggle'
|
|
3370
|
-
| 'move.block down'
|
|
3371
|
-
| 'move.block up'
|
|
3372
|
-
| 'select.previous block'
|
|
3373
|
-
| 'select.next block'
|
|
3374
|
-
| 'style.add'
|
|
3375
|
-
| 'style.remove'
|
|
3376
|
-
| 'style.toggle',
|
|
3377
|
-
'style.add'
|
|
3378
|
-
>
|
|
3379
|
-
style: string
|
|
3380
|
-
}
|
|
3381
|
-
| {
|
|
3382
|
-
type: StrictExtract_2<
|
|
3383
|
-
| 'serialize'
|
|
3384
|
-
| 'serialization.failure'
|
|
3385
|
-
| 'serialization.success'
|
|
3386
|
-
| 'deserialize'
|
|
3387
|
-
| 'deserialization.failure'
|
|
3388
|
-
| 'deserialization.success'
|
|
3389
|
-
| 'split'
|
|
3390
|
-
| 'delete'
|
|
3391
|
-
| 'select'
|
|
3392
|
-
| 'annotation.add'
|
|
3393
|
-
| 'annotation.remove'
|
|
3394
|
-
| 'block.set'
|
|
3395
|
-
| 'block.unset'
|
|
3396
|
-
| 'decorator.add'
|
|
3397
|
-
| 'decorator.remove'
|
|
3398
|
-
| 'delete.backward'
|
|
3399
|
-
| 'delete.block'
|
|
3400
|
-
| 'delete.forward'
|
|
3401
|
-
| 'history.redo'
|
|
3402
|
-
| 'history.undo'
|
|
3403
|
-
| 'insert.inline object'
|
|
3404
|
-
| 'insert.block'
|
|
3405
|
-
| 'insert.span'
|
|
3406
|
-
| 'insert.text'
|
|
3407
|
-
| 'move.backward'
|
|
3408
|
-
| 'move.block'
|
|
3409
|
-
| 'move.forward'
|
|
3410
|
-
| 'annotation.toggle'
|
|
3411
|
-
| 'decorator.toggle'
|
|
3412
|
-
| 'delete.text'
|
|
3413
|
-
| 'insert.blocks'
|
|
3414
|
-
| 'insert.break'
|
|
3415
|
-
| 'insert.soft break'
|
|
3416
|
-
| 'list item.add'
|
|
3417
|
-
| 'list item.remove'
|
|
3418
|
-
| 'list item.toggle'
|
|
3419
|
-
| 'move.block down'
|
|
3420
|
-
| 'move.block up'
|
|
3421
|
-
| 'select.previous block'
|
|
3422
|
-
| 'select.next block'
|
|
3423
|
-
| 'style.add'
|
|
3424
|
-
| 'style.remove'
|
|
3425
|
-
| 'style.toggle',
|
|
3426
|
-
'style.remove'
|
|
3427
|
-
>
|
|
3428
|
-
style: string
|
|
3429
|
-
}
|
|
3430
|
-
| {
|
|
3431
|
-
type: StrictExtract_2<
|
|
3432
|
-
| 'serialize'
|
|
3433
|
-
| 'serialization.failure'
|
|
3434
|
-
| 'serialization.success'
|
|
3435
|
-
| 'deserialize'
|
|
3436
|
-
| 'deserialization.failure'
|
|
3437
|
-
| 'deserialization.success'
|
|
3438
|
-
| 'split'
|
|
3439
|
-
| 'delete'
|
|
3440
|
-
| 'select'
|
|
3441
|
-
| 'annotation.add'
|
|
3442
|
-
| 'annotation.remove'
|
|
3443
|
-
| 'block.set'
|
|
3444
|
-
| 'block.unset'
|
|
3445
|
-
| 'decorator.add'
|
|
3446
|
-
| 'decorator.remove'
|
|
3447
|
-
| 'delete.backward'
|
|
3448
|
-
| 'delete.block'
|
|
3449
|
-
| 'delete.forward'
|
|
3450
|
-
| 'history.redo'
|
|
3451
|
-
| 'history.undo'
|
|
3452
|
-
| 'insert.inline object'
|
|
3453
|
-
| 'insert.block'
|
|
3454
|
-
| 'insert.span'
|
|
3455
|
-
| 'insert.text'
|
|
3456
|
-
| 'move.backward'
|
|
3457
|
-
| 'move.block'
|
|
3458
|
-
| 'move.forward'
|
|
3459
|
-
| 'annotation.toggle'
|
|
3460
|
-
| 'decorator.toggle'
|
|
3461
|
-
| 'delete.text'
|
|
3462
|
-
| 'insert.blocks'
|
|
3463
|
-
| 'insert.break'
|
|
3464
|
-
| 'insert.soft break'
|
|
3465
|
-
| 'list item.add'
|
|
3466
|
-
| 'list item.remove'
|
|
3467
|
-
| 'list item.toggle'
|
|
3468
|
-
| 'move.block down'
|
|
3469
|
-
| 'move.block up'
|
|
3470
|
-
| 'select.previous block'
|
|
3471
|
-
| 'select.next block'
|
|
3472
|
-
| 'style.add'
|
|
3473
|
-
| 'style.remove'
|
|
3474
|
-
| 'style.toggle',
|
|
3475
|
-
'style.toggle'
|
|
3476
|
-
>
|
|
3477
|
-
style: string
|
|
3478
|
-
}
|
|
3479
|
-
| {
|
|
3480
|
-
type: StrictExtract_2<
|
|
3481
|
-
| 'clipboard.copy'
|
|
3482
|
-
| 'clipboard.cut'
|
|
3483
|
-
| 'drag.dragstart'
|
|
3484
|
-
| 'clipboard.paste'
|
|
3485
|
-
| 'drag.drag'
|
|
3486
|
-
| 'drag.dragend'
|
|
3487
|
-
| 'drag.dragenter'
|
|
3488
|
-
| 'drag.dragover'
|
|
3489
|
-
| 'drag.dragleave'
|
|
3490
|
-
| 'drag.drop'
|
|
3491
|
-
| 'input.*'
|
|
3492
|
-
| 'keyboard.keydown'
|
|
3493
|
-
| 'keyboard.keyup'
|
|
3494
|
-
| 'mouse.click',
|
|
3495
|
-
'clipboard.copy'
|
|
3496
|
-
>
|
|
3497
|
-
originEvent: {
|
|
3498
|
-
dataTransfer: DataTransfer
|
|
3499
|
-
}
|
|
3500
|
-
position: Pick<EventPosition, 'selection'>
|
|
3501
|
-
}
|
|
3502
|
-
| {
|
|
3503
|
-
type: StrictExtract_2<
|
|
3504
|
-
| 'clipboard.copy'
|
|
3505
|
-
| 'clipboard.cut'
|
|
3506
|
-
| 'drag.dragstart'
|
|
3507
|
-
| 'clipboard.paste'
|
|
3508
|
-
| 'drag.drag'
|
|
3509
|
-
| 'drag.dragend'
|
|
3510
|
-
| 'drag.dragenter'
|
|
3511
|
-
| 'drag.dragover'
|
|
3512
|
-
| 'drag.dragleave'
|
|
3513
|
-
| 'drag.drop'
|
|
3514
|
-
| 'input.*'
|
|
3515
|
-
| 'keyboard.keydown'
|
|
3516
|
-
| 'keyboard.keyup'
|
|
3517
|
-
| 'mouse.click',
|
|
3518
|
-
'clipboard.cut'
|
|
3519
|
-
>
|
|
3520
|
-
originEvent: {
|
|
3521
|
-
dataTransfer: DataTransfer
|
|
3522
|
-
}
|
|
3523
|
-
position: Pick<EventPosition, 'selection'>
|
|
3524
|
-
}
|
|
3525
|
-
| {
|
|
3526
|
-
type: StrictExtract_2<
|
|
3527
|
-
| 'clipboard.copy'
|
|
3528
|
-
| 'clipboard.cut'
|
|
3529
|
-
| 'drag.dragstart'
|
|
3530
|
-
| 'clipboard.paste'
|
|
3531
|
-
| 'drag.drag'
|
|
3532
|
-
| 'drag.dragend'
|
|
3533
|
-
| 'drag.dragenter'
|
|
3534
|
-
| 'drag.dragover'
|
|
3535
|
-
| 'drag.dragleave'
|
|
3536
|
-
| 'drag.drop'
|
|
3537
|
-
| 'input.*'
|
|
3538
|
-
| 'keyboard.keydown'
|
|
3539
|
-
| 'keyboard.keyup'
|
|
3540
|
-
| 'mouse.click',
|
|
3541
|
-
'clipboard.paste'
|
|
3542
|
-
>
|
|
3543
|
-
originEvent: {
|
|
3544
|
-
dataTransfer: DataTransfer
|
|
3545
|
-
}
|
|
3546
|
-
position: Pick<EventPosition, 'selection'>
|
|
3547
|
-
}
|
|
3548
|
-
| {
|
|
3549
|
-
type: StrictExtract_2<
|
|
3550
|
-
| 'clipboard.copy'
|
|
3551
|
-
| 'clipboard.cut'
|
|
3552
|
-
| 'drag.dragstart'
|
|
3553
|
-
| 'clipboard.paste'
|
|
3554
|
-
| 'drag.drag'
|
|
3555
|
-
| 'drag.dragend'
|
|
3556
|
-
| 'drag.dragenter'
|
|
3557
|
-
| 'drag.dragover'
|
|
3558
|
-
| 'drag.dragleave'
|
|
3559
|
-
| 'drag.drop'
|
|
3560
|
-
| 'input.*'
|
|
3561
|
-
| 'keyboard.keydown'
|
|
3562
|
-
| 'keyboard.keyup'
|
|
3563
|
-
| 'mouse.click',
|
|
3564
|
-
'drag.dragstart'
|
|
3565
|
-
>
|
|
3566
|
-
originEvent: {
|
|
3567
|
-
dataTransfer: DataTransfer
|
|
3568
|
-
}
|
|
3569
|
-
position: Pick<EventPosition, 'selection'>
|
|
3570
|
-
}
|
|
3571
|
-
| {
|
|
3572
|
-
type: StrictExtract_2<
|
|
3573
|
-
| 'clipboard.copy'
|
|
3574
|
-
| 'clipboard.cut'
|
|
3575
|
-
| 'drag.dragstart'
|
|
3576
|
-
| 'clipboard.paste'
|
|
3577
|
-
| 'drag.drag'
|
|
3578
|
-
| 'drag.dragend'
|
|
3579
|
-
| 'drag.dragenter'
|
|
3580
|
-
| 'drag.dragover'
|
|
3581
|
-
| 'drag.dragleave'
|
|
3582
|
-
| 'drag.drop'
|
|
3583
|
-
| 'input.*'
|
|
3584
|
-
| 'keyboard.keydown'
|
|
3585
|
-
| 'keyboard.keyup'
|
|
3586
|
-
| 'mouse.click',
|
|
3587
|
-
'drag.drag'
|
|
3588
|
-
>
|
|
3589
|
-
originEvent: {
|
|
3590
|
-
dataTransfer: DataTransfer
|
|
3591
|
-
}
|
|
3592
|
-
}
|
|
3593
|
-
| {
|
|
3594
|
-
type: StrictExtract_2<
|
|
3595
|
-
| 'clipboard.copy'
|
|
3596
|
-
| 'clipboard.cut'
|
|
3597
|
-
| 'drag.dragstart'
|
|
3598
|
-
| 'clipboard.paste'
|
|
3599
|
-
| 'drag.drag'
|
|
3600
|
-
| 'drag.dragend'
|
|
3601
|
-
| 'drag.dragenter'
|
|
3602
|
-
| 'drag.dragover'
|
|
3603
|
-
| 'drag.dragleave'
|
|
3604
|
-
| 'drag.drop'
|
|
3605
|
-
| 'input.*'
|
|
3606
|
-
| 'keyboard.keydown'
|
|
3607
|
-
| 'keyboard.keyup'
|
|
3608
|
-
| 'mouse.click',
|
|
3609
|
-
'drag.dragend'
|
|
3610
|
-
>
|
|
3611
|
-
originEvent: {
|
|
3612
|
-
dataTransfer: DataTransfer
|
|
3613
|
-
}
|
|
3614
|
-
}
|
|
3615
|
-
| {
|
|
3616
|
-
type: StrictExtract_2<
|
|
3617
|
-
| 'clipboard.copy'
|
|
3618
|
-
| 'clipboard.cut'
|
|
3619
|
-
| 'drag.dragstart'
|
|
3620
|
-
| 'clipboard.paste'
|
|
3621
|
-
| 'drag.drag'
|
|
3622
|
-
| 'drag.dragend'
|
|
3623
|
-
| 'drag.dragenter'
|
|
3624
|
-
| 'drag.dragover'
|
|
3625
|
-
| 'drag.dragleave'
|
|
3626
|
-
| 'drag.drop'
|
|
3627
|
-
| 'input.*'
|
|
3628
|
-
| 'keyboard.keydown'
|
|
3629
|
-
| 'keyboard.keyup'
|
|
3630
|
-
| 'mouse.click',
|
|
3631
|
-
'drag.dragenter'
|
|
3632
|
-
>
|
|
3633
|
-
originEvent: {
|
|
3634
|
-
dataTransfer: DataTransfer
|
|
3635
|
-
}
|
|
3636
|
-
position: EventPosition
|
|
3637
|
-
}
|
|
3638
|
-
| {
|
|
3639
|
-
type: StrictExtract_2<
|
|
3640
|
-
| 'clipboard.copy'
|
|
3641
|
-
| 'clipboard.cut'
|
|
3642
|
-
| 'drag.dragstart'
|
|
3643
|
-
| 'clipboard.paste'
|
|
3644
|
-
| 'drag.drag'
|
|
3645
|
-
| 'drag.dragend'
|
|
3646
|
-
| 'drag.dragenter'
|
|
3647
|
-
| 'drag.dragover'
|
|
3648
|
-
| 'drag.dragleave'
|
|
3649
|
-
| 'drag.drop'
|
|
3650
|
-
| 'input.*'
|
|
3651
|
-
| 'keyboard.keydown'
|
|
3652
|
-
| 'keyboard.keyup'
|
|
3653
|
-
| 'mouse.click',
|
|
3654
|
-
'drag.dragover'
|
|
3655
|
-
>
|
|
3656
|
-
originEvent: {
|
|
3657
|
-
dataTransfer: DataTransfer
|
|
3658
|
-
}
|
|
3659
|
-
position: EventPosition
|
|
3660
|
-
}
|
|
3661
|
-
| {
|
|
3662
|
-
type: StrictExtract_2<
|
|
3663
|
-
| 'clipboard.copy'
|
|
3664
|
-
| 'clipboard.cut'
|
|
3665
|
-
| 'drag.dragstart'
|
|
3666
|
-
| 'clipboard.paste'
|
|
3667
|
-
| 'drag.drag'
|
|
3668
|
-
| 'drag.dragend'
|
|
3669
|
-
| 'drag.dragenter'
|
|
3670
|
-
| 'drag.dragover'
|
|
3671
|
-
| 'drag.dragleave'
|
|
3672
|
-
| 'drag.drop'
|
|
3673
|
-
| 'input.*'
|
|
3674
|
-
| 'keyboard.keydown'
|
|
3675
|
-
| 'keyboard.keyup'
|
|
3676
|
-
| 'mouse.click',
|
|
3677
|
-
'drag.drop'
|
|
3678
|
-
>
|
|
3679
|
-
originEvent: {
|
|
3680
|
-
dataTransfer: DataTransfer
|
|
3681
|
-
}
|
|
3682
|
-
position: EventPosition
|
|
3683
|
-
}
|
|
3684
|
-
| {
|
|
3685
|
-
type: StrictExtract_2<
|
|
3686
|
-
| 'clipboard.copy'
|
|
3687
|
-
| 'clipboard.cut'
|
|
3688
|
-
| 'drag.dragstart'
|
|
3689
|
-
| 'clipboard.paste'
|
|
3690
|
-
| 'drag.drag'
|
|
3691
|
-
| 'drag.dragend'
|
|
3692
|
-
| 'drag.dragenter'
|
|
3693
|
-
| 'drag.dragover'
|
|
3694
|
-
| 'drag.dragleave'
|
|
3695
|
-
| 'drag.drop'
|
|
3696
|
-
| 'input.*'
|
|
3697
|
-
| 'keyboard.keydown'
|
|
3698
|
-
| 'keyboard.keyup'
|
|
3699
|
-
| 'mouse.click',
|
|
3700
|
-
'drag.dragleave'
|
|
3701
|
-
>
|
|
3702
|
-
originEvent: {
|
|
3703
|
-
dataTransfer: DataTransfer
|
|
3704
|
-
}
|
|
3705
|
-
}
|
|
3706
|
-
| InputBehaviorEvent_2
|
|
3707
|
-
| {
|
|
3708
|
-
type: StrictExtract_2<
|
|
3709
|
-
| 'clipboard.copy'
|
|
3710
|
-
| 'clipboard.cut'
|
|
3711
|
-
| 'drag.dragstart'
|
|
3712
|
-
| 'clipboard.paste'
|
|
3713
|
-
| 'drag.drag'
|
|
3714
|
-
| 'drag.dragend'
|
|
3715
|
-
| 'drag.dragenter'
|
|
3716
|
-
| 'drag.dragover'
|
|
3717
|
-
| 'drag.dragleave'
|
|
3718
|
-
| 'drag.drop'
|
|
3719
|
-
| 'input.*'
|
|
3720
|
-
| 'keyboard.keydown'
|
|
3721
|
-
| 'keyboard.keyup'
|
|
3722
|
-
| 'mouse.click',
|
|
3723
|
-
'keyboard.keydown'
|
|
3724
|
-
>
|
|
3725
|
-
originEvent: Pick<
|
|
3726
|
-
KeyboardEvent,
|
|
3727
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
3728
|
-
>
|
|
3729
|
-
}
|
|
3730
|
-
| {
|
|
3731
|
-
type: StrictExtract_2<
|
|
3732
|
-
| 'clipboard.copy'
|
|
3733
|
-
| 'clipboard.cut'
|
|
3734
|
-
| 'drag.dragstart'
|
|
3735
|
-
| 'clipboard.paste'
|
|
3736
|
-
| 'drag.drag'
|
|
3737
|
-
| 'drag.dragend'
|
|
3738
|
-
| 'drag.dragenter'
|
|
3739
|
-
| 'drag.dragover'
|
|
3740
|
-
| 'drag.dragleave'
|
|
3741
|
-
| 'drag.drop'
|
|
3742
|
-
| 'input.*'
|
|
3743
|
-
| 'keyboard.keydown'
|
|
3744
|
-
| 'keyboard.keyup'
|
|
3745
|
-
| 'mouse.click',
|
|
3746
|
-
'keyboard.keyup'
|
|
3747
|
-
>
|
|
3748
|
-
originEvent: Pick<
|
|
3749
|
-
KeyboardEvent,
|
|
3750
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
3751
|
-
>
|
|
3752
|
-
}
|
|
3753
|
-
| MouseBehaviorEvent_2
|
|
3754
|
-
| CustomBehaviorEvent_2<
|
|
3755
|
-
Record<string, unknown>,
|
|
3756
|
-
string,
|
|
3757
|
-
`custom.${string}`
|
|
3758
|
-
>
|
|
3759
|
-
>
|
|
3760
|
-
>
|
|
1205
|
+
behaviors: Set<never>
|
|
3761
1206
|
converters: Set<Converter>
|
|
3762
1207
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3763
1208
|
keyGenerator: () => string
|
|
@@ -3773,7 +1218,7 @@ declare const editorMachine: StateMachine<
|
|
|
3773
1218
|
readonly 'notify.blurred': {
|
|
3774
1219
|
readonly actions: ActionFunction<
|
|
3775
1220
|
{
|
|
3776
|
-
behaviors: Set<
|
|
1221
|
+
behaviors: Set<BehaviorConfig>
|
|
3777
1222
|
converters: Set<Converter>
|
|
3778
1223
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3779
1224
|
keyGenerator: () => string
|
|
@@ -3797,14 +1242,6 @@ declare const editorMachine: StateMachine<
|
|
|
3797
1242
|
| InternalPatchEvent
|
|
3798
1243
|
| MutationEvent
|
|
3799
1244
|
| PatchesEvent
|
|
3800
|
-
| {
|
|
3801
|
-
type: 'add behavior'
|
|
3802
|
-
behavior: Behavior
|
|
3803
|
-
}
|
|
3804
|
-
| {
|
|
3805
|
-
type: 'remove behavior'
|
|
3806
|
-
behavior: Behavior
|
|
3807
|
-
}
|
|
3808
1245
|
| {
|
|
3809
1246
|
type: 'update readOnly'
|
|
3810
1247
|
readOnly: boolean
|
|
@@ -3825,6 +1262,14 @@ declare const editorMachine: StateMachine<
|
|
|
3825
1262
|
type: 'update maxBlocks'
|
|
3826
1263
|
maxBlocks: number | undefined
|
|
3827
1264
|
}
|
|
1265
|
+
| {
|
|
1266
|
+
type: 'add behavior'
|
|
1267
|
+
behaviorConfig: BehaviorConfig
|
|
1268
|
+
}
|
|
1269
|
+
| {
|
|
1270
|
+
type: 'remove behavior'
|
|
1271
|
+
behaviorConfig: BehaviorConfig
|
|
1272
|
+
}
|
|
3828
1273
|
| {
|
|
3829
1274
|
type: 'blur'
|
|
3830
1275
|
editor: PortableTextSlateEditor
|
|
@@ -3977,7 +1422,7 @@ declare const editorMachine: StateMachine<
|
|
|
3977
1422
|
readonly 'notify.done loading': {
|
|
3978
1423
|
readonly actions: ActionFunction<
|
|
3979
1424
|
{
|
|
3980
|
-
behaviors: Set<
|
|
1425
|
+
behaviors: Set<BehaviorConfig>
|
|
3981
1426
|
converters: Set<Converter>
|
|
3982
1427
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3983
1428
|
keyGenerator: () => string
|
|
@@ -4000,14 +1445,6 @@ declare const editorMachine: StateMachine<
|
|
|
4000
1445
|
| InternalPatchEvent
|
|
4001
1446
|
| MutationEvent
|
|
4002
1447
|
| PatchesEvent
|
|
4003
|
-
| {
|
|
4004
|
-
type: 'add behavior'
|
|
4005
|
-
behavior: Behavior
|
|
4006
|
-
}
|
|
4007
|
-
| {
|
|
4008
|
-
type: 'remove behavior'
|
|
4009
|
-
behavior: Behavior
|
|
4010
|
-
}
|
|
4011
1448
|
| {
|
|
4012
1449
|
type: 'update readOnly'
|
|
4013
1450
|
readOnly: boolean
|
|
@@ -4028,6 +1465,14 @@ declare const editorMachine: StateMachine<
|
|
|
4028
1465
|
type: 'update maxBlocks'
|
|
4029
1466
|
maxBlocks: number | undefined
|
|
4030
1467
|
}
|
|
1468
|
+
| {
|
|
1469
|
+
type: 'add behavior'
|
|
1470
|
+
behaviorConfig: BehaviorConfig
|
|
1471
|
+
}
|
|
1472
|
+
| {
|
|
1473
|
+
type: 'remove behavior'
|
|
1474
|
+
behaviorConfig: BehaviorConfig
|
|
1475
|
+
}
|
|
4031
1476
|
| {
|
|
4032
1477
|
type: 'blur'
|
|
4033
1478
|
editor: PortableTextSlateEditor
|
|
@@ -4180,7 +1625,7 @@ declare const editorMachine: StateMachine<
|
|
|
4180
1625
|
readonly 'notify.error': {
|
|
4181
1626
|
readonly actions: ActionFunction<
|
|
4182
1627
|
{
|
|
4183
|
-
behaviors: Set<
|
|
1628
|
+
behaviors: Set<BehaviorConfig>
|
|
4184
1629
|
converters: Set<Converter>
|
|
4185
1630
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4186
1631
|
keyGenerator: () => string
|
|
@@ -4206,14 +1651,6 @@ declare const editorMachine: StateMachine<
|
|
|
4206
1651
|
| InternalPatchEvent
|
|
4207
1652
|
| MutationEvent
|
|
4208
1653
|
| PatchesEvent
|
|
4209
|
-
| {
|
|
4210
|
-
type: 'add behavior'
|
|
4211
|
-
behavior: Behavior
|
|
4212
|
-
}
|
|
4213
|
-
| {
|
|
4214
|
-
type: 'remove behavior'
|
|
4215
|
-
behavior: Behavior
|
|
4216
|
-
}
|
|
4217
1654
|
| {
|
|
4218
1655
|
type: 'update readOnly'
|
|
4219
1656
|
readOnly: boolean
|
|
@@ -4234,6 +1671,14 @@ declare const editorMachine: StateMachine<
|
|
|
4234
1671
|
type: 'update maxBlocks'
|
|
4235
1672
|
maxBlocks: number | undefined
|
|
4236
1673
|
}
|
|
1674
|
+
| {
|
|
1675
|
+
type: 'add behavior'
|
|
1676
|
+
behaviorConfig: BehaviorConfig
|
|
1677
|
+
}
|
|
1678
|
+
| {
|
|
1679
|
+
type: 'remove behavior'
|
|
1680
|
+
behaviorConfig: BehaviorConfig
|
|
1681
|
+
}
|
|
4237
1682
|
| {
|
|
4238
1683
|
type: 'blur'
|
|
4239
1684
|
editor: PortableTextSlateEditor
|
|
@@ -4386,7 +1831,7 @@ declare const editorMachine: StateMachine<
|
|
|
4386
1831
|
readonly 'notify.invalid value': {
|
|
4387
1832
|
readonly actions: ActionFunction<
|
|
4388
1833
|
{
|
|
4389
|
-
behaviors: Set<
|
|
1834
|
+
behaviors: Set<BehaviorConfig>
|
|
4390
1835
|
converters: Set<Converter>
|
|
4391
1836
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4392
1837
|
keyGenerator: () => string
|
|
@@ -4411,14 +1856,6 @@ declare const editorMachine: StateMachine<
|
|
|
4411
1856
|
| InternalPatchEvent
|
|
4412
1857
|
| MutationEvent
|
|
4413
1858
|
| PatchesEvent
|
|
4414
|
-
| {
|
|
4415
|
-
type: 'add behavior'
|
|
4416
|
-
behavior: Behavior
|
|
4417
|
-
}
|
|
4418
|
-
| {
|
|
4419
|
-
type: 'remove behavior'
|
|
4420
|
-
behavior: Behavior
|
|
4421
|
-
}
|
|
4422
1859
|
| {
|
|
4423
1860
|
type: 'update readOnly'
|
|
4424
1861
|
readOnly: boolean
|
|
@@ -4439,6 +1876,14 @@ declare const editorMachine: StateMachine<
|
|
|
4439
1876
|
type: 'update maxBlocks'
|
|
4440
1877
|
maxBlocks: number | undefined
|
|
4441
1878
|
}
|
|
1879
|
+
| {
|
|
1880
|
+
type: 'add behavior'
|
|
1881
|
+
behaviorConfig: BehaviorConfig
|
|
1882
|
+
}
|
|
1883
|
+
| {
|
|
1884
|
+
type: 'remove behavior'
|
|
1885
|
+
behaviorConfig: BehaviorConfig
|
|
1886
|
+
}
|
|
4442
1887
|
| {
|
|
4443
1888
|
type: 'blur'
|
|
4444
1889
|
editor: PortableTextSlateEditor
|
|
@@ -4591,7 +2036,7 @@ declare const editorMachine: StateMachine<
|
|
|
4591
2036
|
readonly 'notify.focused': {
|
|
4592
2037
|
readonly actions: ActionFunction<
|
|
4593
2038
|
{
|
|
4594
|
-
behaviors: Set<
|
|
2039
|
+
behaviors: Set<BehaviorConfig>
|
|
4595
2040
|
converters: Set<Converter>
|
|
4596
2041
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4597
2042
|
keyGenerator: () => string
|
|
@@ -4615,14 +2060,6 @@ declare const editorMachine: StateMachine<
|
|
|
4615
2060
|
| InternalPatchEvent
|
|
4616
2061
|
| MutationEvent
|
|
4617
2062
|
| PatchesEvent
|
|
4618
|
-
| {
|
|
4619
|
-
type: 'add behavior'
|
|
4620
|
-
behavior: Behavior
|
|
4621
|
-
}
|
|
4622
|
-
| {
|
|
4623
|
-
type: 'remove behavior'
|
|
4624
|
-
behavior: Behavior
|
|
4625
|
-
}
|
|
4626
2063
|
| {
|
|
4627
2064
|
type: 'update readOnly'
|
|
4628
2065
|
readOnly: boolean
|
|
@@ -4643,6 +2080,14 @@ declare const editorMachine: StateMachine<
|
|
|
4643
2080
|
type: 'update maxBlocks'
|
|
4644
2081
|
maxBlocks: number | undefined
|
|
4645
2082
|
}
|
|
2083
|
+
| {
|
|
2084
|
+
type: 'add behavior'
|
|
2085
|
+
behaviorConfig: BehaviorConfig
|
|
2086
|
+
}
|
|
2087
|
+
| {
|
|
2088
|
+
type: 'remove behavior'
|
|
2089
|
+
behaviorConfig: BehaviorConfig
|
|
2090
|
+
}
|
|
4646
2091
|
| {
|
|
4647
2092
|
type: 'blur'
|
|
4648
2093
|
editor: PortableTextSlateEditor
|
|
@@ -4796,7 +2241,7 @@ declare const editorMachine: StateMachine<
|
|
|
4796
2241
|
readonly actions: readonly [
|
|
4797
2242
|
ActionFunction<
|
|
4798
2243
|
{
|
|
4799
|
-
behaviors: Set<
|
|
2244
|
+
behaviors: Set<BehaviorConfig>
|
|
4800
2245
|
converters: Set<Converter>
|
|
4801
2246
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4802
2247
|
keyGenerator: () => string
|
|
@@ -4820,14 +2265,6 @@ declare const editorMachine: StateMachine<
|
|
|
4820
2265
|
| InternalPatchEvent
|
|
4821
2266
|
| MutationEvent
|
|
4822
2267
|
| PatchesEvent
|
|
4823
|
-
| {
|
|
4824
|
-
type: 'add behavior'
|
|
4825
|
-
behavior: Behavior
|
|
4826
|
-
}
|
|
4827
|
-
| {
|
|
4828
|
-
type: 'remove behavior'
|
|
4829
|
-
behavior: Behavior
|
|
4830
|
-
}
|
|
4831
2268
|
| {
|
|
4832
2269
|
type: 'update readOnly'
|
|
4833
2270
|
readOnly: boolean
|
|
@@ -4848,6 +2285,14 @@ declare const editorMachine: StateMachine<
|
|
|
4848
2285
|
type: 'update maxBlocks'
|
|
4849
2286
|
maxBlocks: number | undefined
|
|
4850
2287
|
}
|
|
2288
|
+
| {
|
|
2289
|
+
type: 'add behavior'
|
|
2290
|
+
behaviorConfig: BehaviorConfig
|
|
2291
|
+
}
|
|
2292
|
+
| {
|
|
2293
|
+
type: 'remove behavior'
|
|
2294
|
+
behaviorConfig: BehaviorConfig
|
|
2295
|
+
}
|
|
4851
2296
|
| {
|
|
4852
2297
|
type: 'blur'
|
|
4853
2298
|
editor: PortableTextSlateEditor
|
|
@@ -4952,7 +2397,7 @@ declare const editorMachine: StateMachine<
|
|
|
4952
2397
|
>,
|
|
4953
2398
|
ActionFunction<
|
|
4954
2399
|
{
|
|
4955
|
-
behaviors: Set<
|
|
2400
|
+
behaviors: Set<BehaviorConfig>
|
|
4956
2401
|
converters: Set<Converter>
|
|
4957
2402
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4958
2403
|
keyGenerator: () => string
|
|
@@ -4976,14 +2421,6 @@ declare const editorMachine: StateMachine<
|
|
|
4976
2421
|
| InternalPatchEvent
|
|
4977
2422
|
| MutationEvent
|
|
4978
2423
|
| PatchesEvent
|
|
4979
|
-
| {
|
|
4980
|
-
type: 'add behavior'
|
|
4981
|
-
behavior: Behavior
|
|
4982
|
-
}
|
|
4983
|
-
| {
|
|
4984
|
-
type: 'remove behavior'
|
|
4985
|
-
behavior: Behavior
|
|
4986
|
-
}
|
|
4987
2424
|
| {
|
|
4988
2425
|
type: 'update readOnly'
|
|
4989
2426
|
readOnly: boolean
|
|
@@ -5004,6 +2441,14 @@ declare const editorMachine: StateMachine<
|
|
|
5004
2441
|
type: 'update maxBlocks'
|
|
5005
2442
|
maxBlocks: number | undefined
|
|
5006
2443
|
}
|
|
2444
|
+
| {
|
|
2445
|
+
type: 'add behavior'
|
|
2446
|
+
behaviorConfig: BehaviorConfig
|
|
2447
|
+
}
|
|
2448
|
+
| {
|
|
2449
|
+
type: 'remove behavior'
|
|
2450
|
+
behaviorConfig: BehaviorConfig
|
|
2451
|
+
}
|
|
5007
2452
|
| {
|
|
5008
2453
|
type: 'blur'
|
|
5009
2454
|
editor: PortableTextSlateEditor
|
|
@@ -5157,7 +2602,7 @@ declare const editorMachine: StateMachine<
|
|
|
5157
2602
|
readonly 'notify.unset': {
|
|
5158
2603
|
readonly actions: ActionFunction<
|
|
5159
2604
|
{
|
|
5160
|
-
behaviors: Set<
|
|
2605
|
+
behaviors: Set<BehaviorConfig>
|
|
5161
2606
|
converters: Set<Converter>
|
|
5162
2607
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
5163
2608
|
keyGenerator: () => string
|
|
@@ -5181,14 +2626,6 @@ declare const editorMachine: StateMachine<
|
|
|
5181
2626
|
| InternalPatchEvent
|
|
5182
2627
|
| MutationEvent
|
|
5183
2628
|
| PatchesEvent
|
|
5184
|
-
| {
|
|
5185
|
-
type: 'add behavior'
|
|
5186
|
-
behavior: Behavior
|
|
5187
|
-
}
|
|
5188
|
-
| {
|
|
5189
|
-
type: 'remove behavior'
|
|
5190
|
-
behavior: Behavior
|
|
5191
|
-
}
|
|
5192
2629
|
| {
|
|
5193
2630
|
type: 'update readOnly'
|
|
5194
2631
|
readOnly: boolean
|
|
@@ -5209,6 +2646,14 @@ declare const editorMachine: StateMachine<
|
|
|
5209
2646
|
type: 'update maxBlocks'
|
|
5210
2647
|
maxBlocks: number | undefined
|
|
5211
2648
|
}
|
|
2649
|
+
| {
|
|
2650
|
+
type: 'add behavior'
|
|
2651
|
+
behaviorConfig: BehaviorConfig
|
|
2652
|
+
}
|
|
2653
|
+
| {
|
|
2654
|
+
type: 'remove behavior'
|
|
2655
|
+
behaviorConfig: BehaviorConfig
|
|
2656
|
+
}
|
|
5212
2657
|
| {
|
|
5213
2658
|
type: 'blur'
|
|
5214
2659
|
editor: PortableTextSlateEditor
|
|
@@ -5361,7 +2806,7 @@ declare const editorMachine: StateMachine<
|
|
|
5361
2806
|
readonly 'notify.loading': {
|
|
5362
2807
|
readonly actions: ActionFunction<
|
|
5363
2808
|
{
|
|
5364
|
-
behaviors: Set<
|
|
2809
|
+
behaviors: Set<BehaviorConfig>
|
|
5365
2810
|
converters: Set<Converter>
|
|
5366
2811
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
5367
2812
|
keyGenerator: () => string
|
|
@@ -5384,14 +2829,6 @@ declare const editorMachine: StateMachine<
|
|
|
5384
2829
|
| InternalPatchEvent
|
|
5385
2830
|
| MutationEvent
|
|
5386
2831
|
| PatchesEvent
|
|
5387
|
-
| {
|
|
5388
|
-
type: 'add behavior'
|
|
5389
|
-
behavior: Behavior
|
|
5390
|
-
}
|
|
5391
|
-
| {
|
|
5392
|
-
type: 'remove behavior'
|
|
5393
|
-
behavior: Behavior
|
|
5394
|
-
}
|
|
5395
2832
|
| {
|
|
5396
2833
|
type: 'update readOnly'
|
|
5397
2834
|
readOnly: boolean
|
|
@@ -5412,6 +2849,14 @@ declare const editorMachine: StateMachine<
|
|
|
5412
2849
|
type: 'update maxBlocks'
|
|
5413
2850
|
maxBlocks: number | undefined
|
|
5414
2851
|
}
|
|
2852
|
+
| {
|
|
2853
|
+
type: 'add behavior'
|
|
2854
|
+
behaviorConfig: BehaviorConfig
|
|
2855
|
+
}
|
|
2856
|
+
| {
|
|
2857
|
+
type: 'remove behavior'
|
|
2858
|
+
behaviorConfig: BehaviorConfig
|
|
2859
|
+
}
|
|
5415
2860
|
| {
|
|
5416
2861
|
type: 'blur'
|
|
5417
2862
|
editor: PortableTextSlateEditor
|
|
@@ -5564,7 +3009,7 @@ declare const editorMachine: StateMachine<
|
|
|
5564
3009
|
readonly 'notify.value changed': {
|
|
5565
3010
|
readonly actions: ActionFunction<
|
|
5566
3011
|
{
|
|
5567
|
-
behaviors: Set<
|
|
3012
|
+
behaviors: Set<BehaviorConfig>
|
|
5568
3013
|
converters: Set<Converter>
|
|
5569
3014
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
5570
3015
|
keyGenerator: () => string
|
|
@@ -5588,14 +3033,6 @@ declare const editorMachine: StateMachine<
|
|
|
5588
3033
|
| InternalPatchEvent
|
|
5589
3034
|
| MutationEvent
|
|
5590
3035
|
| PatchesEvent
|
|
5591
|
-
| {
|
|
5592
|
-
type: 'add behavior'
|
|
5593
|
-
behavior: Behavior
|
|
5594
|
-
}
|
|
5595
|
-
| {
|
|
5596
|
-
type: 'remove behavior'
|
|
5597
|
-
behavior: Behavior
|
|
5598
|
-
}
|
|
5599
3036
|
| {
|
|
5600
3037
|
type: 'update readOnly'
|
|
5601
3038
|
readOnly: boolean
|
|
@@ -5616,6 +3053,14 @@ declare const editorMachine: StateMachine<
|
|
|
5616
3053
|
type: 'update maxBlocks'
|
|
5617
3054
|
maxBlocks: number | undefined
|
|
5618
3055
|
}
|
|
3056
|
+
| {
|
|
3057
|
+
type: 'add behavior'
|
|
3058
|
+
behaviorConfig: BehaviorConfig
|
|
3059
|
+
}
|
|
3060
|
+
| {
|
|
3061
|
+
type: 'remove behavior'
|
|
3062
|
+
behaviorConfig: BehaviorConfig
|
|
3063
|
+
}
|
|
5619
3064
|
| {
|
|
5620
3065
|
type: 'blur'
|
|
5621
3066
|
editor: PortableTextSlateEditor
|
|
@@ -5774,7 +3219,7 @@ declare const editorMachine: StateMachine<
|
|
|
5774
3219
|
readonly 'update key generator': {
|
|
5775
3220
|
readonly actions: ActionFunction<
|
|
5776
3221
|
{
|
|
5777
|
-
behaviors: Set<
|
|
3222
|
+
behaviors: Set<BehaviorConfig>
|
|
5778
3223
|
converters: Set<Converter>
|
|
5779
3224
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
5780
3225
|
keyGenerator: () => string
|
|
@@ -5798,14 +3243,6 @@ declare const editorMachine: StateMachine<
|
|
|
5798
3243
|
| InternalPatchEvent
|
|
5799
3244
|
| MutationEvent
|
|
5800
3245
|
| PatchesEvent
|
|
5801
|
-
| {
|
|
5802
|
-
type: 'add behavior'
|
|
5803
|
-
behavior: Behavior
|
|
5804
|
-
}
|
|
5805
|
-
| {
|
|
5806
|
-
type: 'remove behavior'
|
|
5807
|
-
behavior: Behavior
|
|
5808
|
-
}
|
|
5809
3246
|
| {
|
|
5810
3247
|
type: 'update readOnly'
|
|
5811
3248
|
readOnly: boolean
|
|
@@ -5826,6 +3263,14 @@ declare const editorMachine: StateMachine<
|
|
|
5826
3263
|
type: 'update maxBlocks'
|
|
5827
3264
|
maxBlocks: number | undefined
|
|
5828
3265
|
}
|
|
3266
|
+
| {
|
|
3267
|
+
type: 'add behavior'
|
|
3268
|
+
behaviorConfig: BehaviorConfig
|
|
3269
|
+
}
|
|
3270
|
+
| {
|
|
3271
|
+
type: 'remove behavior'
|
|
3272
|
+
behaviorConfig: BehaviorConfig
|
|
3273
|
+
}
|
|
5829
3274
|
| {
|
|
5830
3275
|
type: 'blur'
|
|
5831
3276
|
editor: PortableTextSlateEditor
|
|
@@ -5935,7 +3380,7 @@ declare const editorMachine: StateMachine<
|
|
|
5935
3380
|
readonly 'update value': {
|
|
5936
3381
|
readonly actions: ActionFunction<
|
|
5937
3382
|
{
|
|
5938
|
-
behaviors: Set<
|
|
3383
|
+
behaviors: Set<BehaviorConfig>
|
|
5939
3384
|
converters: Set<Converter>
|
|
5940
3385
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
5941
3386
|
keyGenerator: () => string
|
|
@@ -5959,14 +3404,6 @@ declare const editorMachine: StateMachine<
|
|
|
5959
3404
|
| InternalPatchEvent
|
|
5960
3405
|
| MutationEvent
|
|
5961
3406
|
| PatchesEvent
|
|
5962
|
-
| {
|
|
5963
|
-
type: 'add behavior'
|
|
5964
|
-
behavior: Behavior
|
|
5965
|
-
}
|
|
5966
|
-
| {
|
|
5967
|
-
type: 'remove behavior'
|
|
5968
|
-
behavior: Behavior
|
|
5969
|
-
}
|
|
5970
3407
|
| {
|
|
5971
3408
|
type: 'update readOnly'
|
|
5972
3409
|
readOnly: boolean
|
|
@@ -5987,6 +3424,14 @@ declare const editorMachine: StateMachine<
|
|
|
5987
3424
|
type: 'update maxBlocks'
|
|
5988
3425
|
maxBlocks: number | undefined
|
|
5989
3426
|
}
|
|
3427
|
+
| {
|
|
3428
|
+
type: 'add behavior'
|
|
3429
|
+
behaviorConfig: BehaviorConfig
|
|
3430
|
+
}
|
|
3431
|
+
| {
|
|
3432
|
+
type: 'remove behavior'
|
|
3433
|
+
behaviorConfig: BehaviorConfig
|
|
3434
|
+
}
|
|
5990
3435
|
| {
|
|
5991
3436
|
type: 'blur'
|
|
5992
3437
|
editor: PortableTextSlateEditor
|
|
@@ -6093,7 +3538,7 @@ declare const editorMachine: StateMachine<
|
|
|
6093
3538
|
readonly 'update maxBlocks': {
|
|
6094
3539
|
readonly actions: ActionFunction<
|
|
6095
3540
|
{
|
|
6096
|
-
behaviors: Set<
|
|
3541
|
+
behaviors: Set<BehaviorConfig>
|
|
6097
3542
|
converters: Set<Converter>
|
|
6098
3543
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6099
3544
|
keyGenerator: () => string
|
|
@@ -6117,14 +3562,6 @@ declare const editorMachine: StateMachine<
|
|
|
6117
3562
|
| InternalPatchEvent
|
|
6118
3563
|
| MutationEvent
|
|
6119
3564
|
| PatchesEvent
|
|
6120
|
-
| {
|
|
6121
|
-
type: 'add behavior'
|
|
6122
|
-
behavior: Behavior
|
|
6123
|
-
}
|
|
6124
|
-
| {
|
|
6125
|
-
type: 'remove behavior'
|
|
6126
|
-
behavior: Behavior
|
|
6127
|
-
}
|
|
6128
3565
|
| {
|
|
6129
3566
|
type: 'update readOnly'
|
|
6130
3567
|
readOnly: boolean
|
|
@@ -6145,6 +3582,14 @@ declare const editorMachine: StateMachine<
|
|
|
6145
3582
|
type: 'update maxBlocks'
|
|
6146
3583
|
maxBlocks: number | undefined
|
|
6147
3584
|
}
|
|
3585
|
+
| {
|
|
3586
|
+
type: 'add behavior'
|
|
3587
|
+
behaviorConfig: BehaviorConfig
|
|
3588
|
+
}
|
|
3589
|
+
| {
|
|
3590
|
+
type: 'remove behavior'
|
|
3591
|
+
behaviorConfig: BehaviorConfig
|
|
3592
|
+
}
|
|
6148
3593
|
| {
|
|
6149
3594
|
type: 'blur'
|
|
6150
3595
|
editor: PortableTextSlateEditor
|
|
@@ -6263,7 +3708,7 @@ declare const editorMachine: StateMachine<
|
|
|
6263
3708
|
event,
|
|
6264
3709
|
}: GuardArgs<
|
|
6265
3710
|
{
|
|
6266
|
-
behaviors: Set<
|
|
3711
|
+
behaviors: Set<BehaviorConfig>
|
|
6267
3712
|
converters: Set<Converter>
|
|
6268
3713
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6269
3714
|
keyGenerator: () => string
|
|
@@ -6301,7 +3746,7 @@ declare const editorMachine: StateMachine<
|
|
|
6301
3746
|
context,
|
|
6302
3747
|
}: GuardArgs<
|
|
6303
3748
|
{
|
|
6304
|
-
behaviors: Set<
|
|
3749
|
+
behaviors: Set<BehaviorConfig>
|
|
6305
3750
|
converters: Set<Converter>
|
|
6306
3751
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6307
3752
|
keyGenerator: () => string
|
|
@@ -6338,7 +3783,7 @@ declare const editorMachine: StateMachine<
|
|
|
6338
3783
|
event,
|
|
6339
3784
|
}: GuardArgs<
|
|
6340
3785
|
{
|
|
6341
|
-
behaviors: Set<
|
|
3786
|
+
behaviors: Set<BehaviorConfig>
|
|
6342
3787
|
converters: Set<Converter>
|
|
6343
3788
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6344
3789
|
keyGenerator: () => string
|
|
@@ -6374,7 +3819,7 @@ declare const editorMachine: StateMachine<
|
|
|
6374
3819
|
event,
|
|
6375
3820
|
}: GuardArgs<
|
|
6376
3821
|
{
|
|
6377
|
-
behaviors: Set<
|
|
3822
|
+
behaviors: Set<BehaviorConfig>
|
|
6378
3823
|
converters: Set<Converter>
|
|
6379
3824
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6380
3825
|
keyGenerator: () => string
|
|
@@ -6410,7 +3855,7 @@ declare const editorMachine: StateMachine<
|
|
|
6410
3855
|
readonly actions: readonly [
|
|
6411
3856
|
ActionFunction<
|
|
6412
3857
|
{
|
|
6413
|
-
behaviors: Set<
|
|
3858
|
+
behaviors: Set<BehaviorConfig>
|
|
6414
3859
|
converters: Set<Converter>
|
|
6415
3860
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6416
3861
|
keyGenerator: () => string
|
|
@@ -6434,14 +3879,6 @@ declare const editorMachine: StateMachine<
|
|
|
6434
3879
|
| InternalPatchEvent
|
|
6435
3880
|
| MutationEvent
|
|
6436
3881
|
| PatchesEvent
|
|
6437
|
-
| {
|
|
6438
|
-
type: 'add behavior'
|
|
6439
|
-
behavior: Behavior
|
|
6440
|
-
}
|
|
6441
|
-
| {
|
|
6442
|
-
type: 'remove behavior'
|
|
6443
|
-
behavior: Behavior
|
|
6444
|
-
}
|
|
6445
3882
|
| {
|
|
6446
3883
|
type: 'update readOnly'
|
|
6447
3884
|
readOnly: boolean
|
|
@@ -6462,6 +3899,14 @@ declare const editorMachine: StateMachine<
|
|
|
6462
3899
|
type: 'update maxBlocks'
|
|
6463
3900
|
maxBlocks: number | undefined
|
|
6464
3901
|
}
|
|
3902
|
+
| {
|
|
3903
|
+
type: 'add behavior'
|
|
3904
|
+
behaviorConfig: BehaviorConfig
|
|
3905
|
+
}
|
|
3906
|
+
| {
|
|
3907
|
+
type: 'remove behavior'
|
|
3908
|
+
behaviorConfig: BehaviorConfig
|
|
3909
|
+
}
|
|
6465
3910
|
| {
|
|
6466
3911
|
type: 'blur'
|
|
6467
3912
|
editor: PortableTextSlateEditor
|
|
@@ -6575,7 +4020,7 @@ declare const editorMachine: StateMachine<
|
|
|
6575
4020
|
readonly actions: readonly [
|
|
6576
4021
|
ActionFunction<
|
|
6577
4022
|
{
|
|
6578
|
-
behaviors: Set<
|
|
4023
|
+
behaviors: Set<BehaviorConfig>
|
|
6579
4024
|
converters: Set<Converter>
|
|
6580
4025
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6581
4026
|
keyGenerator: () => string
|
|
@@ -6602,14 +4047,6 @@ declare const editorMachine: StateMachine<
|
|
|
6602
4047
|
| InternalPatchEvent
|
|
6603
4048
|
| MutationEvent
|
|
6604
4049
|
| PatchesEvent
|
|
6605
|
-
| {
|
|
6606
|
-
type: 'add behavior'
|
|
6607
|
-
behavior: Behavior
|
|
6608
|
-
}
|
|
6609
|
-
| {
|
|
6610
|
-
type: 'remove behavior'
|
|
6611
|
-
behavior: Behavior
|
|
6612
|
-
}
|
|
6613
4050
|
| {
|
|
6614
4051
|
type: 'update readOnly'
|
|
6615
4052
|
readOnly: boolean
|
|
@@ -6630,6 +4067,14 @@ declare const editorMachine: StateMachine<
|
|
|
6630
4067
|
type: 'update maxBlocks'
|
|
6631
4068
|
maxBlocks: number | undefined
|
|
6632
4069
|
}
|
|
4070
|
+
| {
|
|
4071
|
+
type: 'add behavior'
|
|
4072
|
+
behaviorConfig: BehaviorConfig
|
|
4073
|
+
}
|
|
4074
|
+
| {
|
|
4075
|
+
type: 'remove behavior'
|
|
4076
|
+
behaviorConfig: BehaviorConfig
|
|
4077
|
+
}
|
|
6633
4078
|
| {
|
|
6634
4079
|
type: 'blur'
|
|
6635
4080
|
editor: PortableTextSlateEditor
|
|
@@ -6767,7 +4212,7 @@ declare const editorMachine: StateMachine<
|
|
|
6767
4212
|
context,
|
|
6768
4213
|
}: ActionArgs<
|
|
6769
4214
|
{
|
|
6770
|
-
behaviors: Set<
|
|
4215
|
+
behaviors: Set<BehaviorConfig>
|
|
6771
4216
|
converters: Set<Converter>
|
|
6772
4217
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6773
4218
|
keyGenerator: () => string
|
|
@@ -6787,14 +4232,6 @@ declare const editorMachine: StateMachine<
|
|
|
6787
4232
|
| InternalPatchEvent
|
|
6788
4233
|
| MutationEvent
|
|
6789
4234
|
| PatchesEvent
|
|
6790
|
-
| {
|
|
6791
|
-
type: 'add behavior'
|
|
6792
|
-
behavior: Behavior
|
|
6793
|
-
}
|
|
6794
|
-
| {
|
|
6795
|
-
type: 'remove behavior'
|
|
6796
|
-
behavior: Behavior
|
|
6797
|
-
}
|
|
6798
4235
|
| {
|
|
6799
4236
|
type: 'update readOnly'
|
|
6800
4237
|
readOnly: boolean
|
|
@@ -6815,6 +4252,14 @@ declare const editorMachine: StateMachine<
|
|
|
6815
4252
|
type: 'update maxBlocks'
|
|
6816
4253
|
maxBlocks: number | undefined
|
|
6817
4254
|
}
|
|
4255
|
+
| {
|
|
4256
|
+
type: 'add behavior'
|
|
4257
|
+
behaviorConfig: BehaviorConfig
|
|
4258
|
+
}
|
|
4259
|
+
| {
|
|
4260
|
+
type: 'remove behavior'
|
|
4261
|
+
behaviorConfig: BehaviorConfig
|
|
4262
|
+
}
|
|
6818
4263
|
| {
|
|
6819
4264
|
type: 'blur'
|
|
6820
4265
|
editor: PortableTextSlateEditor
|
|
@@ -6913,14 +4358,6 @@ declare const editorMachine: StateMachine<
|
|
|
6913
4358
|
| InternalPatchEvent
|
|
6914
4359
|
| MutationEvent
|
|
6915
4360
|
| PatchesEvent
|
|
6916
|
-
| {
|
|
6917
|
-
type: 'add behavior'
|
|
6918
|
-
behavior: Behavior
|
|
6919
|
-
}
|
|
6920
|
-
| {
|
|
6921
|
-
type: 'remove behavior'
|
|
6922
|
-
behavior: Behavior
|
|
6923
|
-
}
|
|
6924
4361
|
| {
|
|
6925
4362
|
type: 'update readOnly'
|
|
6926
4363
|
readOnly: boolean
|
|
@@ -6941,6 +4378,14 @@ declare const editorMachine: StateMachine<
|
|
|
6941
4378
|
type: 'update maxBlocks'
|
|
6942
4379
|
maxBlocks: number | undefined
|
|
6943
4380
|
}
|
|
4381
|
+
| {
|
|
4382
|
+
type: 'add behavior'
|
|
4383
|
+
behaviorConfig: BehaviorConfig
|
|
4384
|
+
}
|
|
4385
|
+
| {
|
|
4386
|
+
type: 'remove behavior'
|
|
4387
|
+
behaviorConfig: BehaviorConfig
|
|
4388
|
+
}
|
|
6944
4389
|
| {
|
|
6945
4390
|
type: 'blur'
|
|
6946
4391
|
editor: PortableTextSlateEditor
|
|
@@ -7039,7 +4484,7 @@ declare const editorMachine: StateMachine<
|
|
|
7039
4484
|
>) => void,
|
|
7040
4485
|
ActionFunction<
|
|
7041
4486
|
{
|
|
7042
|
-
behaviors: Set<
|
|
4487
|
+
behaviors: Set<BehaviorConfig>
|
|
7043
4488
|
converters: Set<Converter>
|
|
7044
4489
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
7045
4490
|
keyGenerator: () => string
|
|
@@ -7059,14 +4504,6 @@ declare const editorMachine: StateMachine<
|
|
|
7059
4504
|
| InternalPatchEvent
|
|
7060
4505
|
| MutationEvent
|
|
7061
4506
|
| PatchesEvent
|
|
7062
|
-
| {
|
|
7063
|
-
type: 'add behavior'
|
|
7064
|
-
behavior: Behavior
|
|
7065
|
-
}
|
|
7066
|
-
| {
|
|
7067
|
-
type: 'remove behavior'
|
|
7068
|
-
behavior: Behavior
|
|
7069
|
-
}
|
|
7070
4507
|
| {
|
|
7071
4508
|
type: 'update readOnly'
|
|
7072
4509
|
readOnly: boolean
|
|
@@ -7087,6 +4524,14 @@ declare const editorMachine: StateMachine<
|
|
|
7087
4524
|
type: 'update maxBlocks'
|
|
7088
4525
|
maxBlocks: number | undefined
|
|
7089
4526
|
}
|
|
4527
|
+
| {
|
|
4528
|
+
type: 'add behavior'
|
|
4529
|
+
behaviorConfig: BehaviorConfig
|
|
4530
|
+
}
|
|
4531
|
+
| {
|
|
4532
|
+
type: 'remove behavior'
|
|
4533
|
+
behaviorConfig: BehaviorConfig
|
|
4534
|
+
}
|
|
7090
4535
|
| {
|
|
7091
4536
|
type: 'blur'
|
|
7092
4537
|
editor: PortableTextSlateEditor
|
|
@@ -7185,14 +4630,6 @@ declare const editorMachine: StateMachine<
|
|
|
7185
4630
|
| InternalPatchEvent
|
|
7186
4631
|
| MutationEvent
|
|
7187
4632
|
| PatchesEvent
|
|
7188
|
-
| {
|
|
7189
|
-
type: 'add behavior'
|
|
7190
|
-
behavior: Behavior
|
|
7191
|
-
}
|
|
7192
|
-
| {
|
|
7193
|
-
type: 'remove behavior'
|
|
7194
|
-
behavior: Behavior
|
|
7195
|
-
}
|
|
7196
4633
|
| {
|
|
7197
4634
|
type: 'update readOnly'
|
|
7198
4635
|
readOnly: boolean
|
|
@@ -7213,6 +4650,14 @@ declare const editorMachine: StateMachine<
|
|
|
7213
4650
|
type: 'update maxBlocks'
|
|
7214
4651
|
maxBlocks: number | undefined
|
|
7215
4652
|
}
|
|
4653
|
+
| {
|
|
4654
|
+
type: 'add behavior'
|
|
4655
|
+
behaviorConfig: BehaviorConfig
|
|
4656
|
+
}
|
|
4657
|
+
| {
|
|
4658
|
+
type: 'remove behavior'
|
|
4659
|
+
behaviorConfig: BehaviorConfig
|
|
4660
|
+
}
|
|
7216
4661
|
| {
|
|
7217
4662
|
type: 'blur'
|
|
7218
4663
|
editor: PortableTextSlateEditor
|
|
@@ -7366,7 +4811,7 @@ declare const editorMachine: StateMachine<
|
|
|
7366
4811
|
readonly actions: readonly [
|
|
7367
4812
|
ActionFunction<
|
|
7368
4813
|
{
|
|
7369
|
-
behaviors: Set<
|
|
4814
|
+
behaviors: Set<BehaviorConfig>
|
|
7370
4815
|
converters: Set<Converter>
|
|
7371
4816
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
7372
4817
|
keyGenerator: () => string
|
|
@@ -7391,14 +4836,6 @@ declare const editorMachine: StateMachine<
|
|
|
7391
4836
|
| InternalPatchEvent
|
|
7392
4837
|
| MutationEvent
|
|
7393
4838
|
| PatchesEvent
|
|
7394
|
-
| {
|
|
7395
|
-
type: 'add behavior'
|
|
7396
|
-
behavior: Behavior
|
|
7397
|
-
}
|
|
7398
|
-
| {
|
|
7399
|
-
type: 'remove behavior'
|
|
7400
|
-
behavior: Behavior
|
|
7401
|
-
}
|
|
7402
4839
|
| {
|
|
7403
4840
|
type: 'update readOnly'
|
|
7404
4841
|
readOnly: boolean
|
|
@@ -7419,6 +4856,14 @@ declare const editorMachine: StateMachine<
|
|
|
7419
4856
|
type: 'update maxBlocks'
|
|
7420
4857
|
maxBlocks: number | undefined
|
|
7421
4858
|
}
|
|
4859
|
+
| {
|
|
4860
|
+
type: 'add behavior'
|
|
4861
|
+
behaviorConfig: BehaviorConfig
|
|
4862
|
+
}
|
|
4863
|
+
| {
|
|
4864
|
+
type: 'remove behavior'
|
|
4865
|
+
behaviorConfig: BehaviorConfig
|
|
4866
|
+
}
|
|
7422
4867
|
| {
|
|
7423
4868
|
type: 'blur'
|
|
7424
4869
|
editor: PortableTextSlateEditor
|
|
@@ -7650,6 +5095,15 @@ declare const editorMachine: StateMachine<
|
|
|
7650
5095
|
}
|
|
7651
5096
|
>
|
|
7652
5097
|
|
|
5098
|
+
declare type EditorPriority = {
|
|
5099
|
+
id: string
|
|
5100
|
+
name?: string
|
|
5101
|
+
reference?: {
|
|
5102
|
+
priority: EditorPriority
|
|
5103
|
+
importance: 'higher' | 'lower'
|
|
5104
|
+
}
|
|
5105
|
+
}
|
|
5106
|
+
|
|
7653
5107
|
/**
|
|
7654
5108
|
* @public
|
|
7655
5109
|
*/
|
|
@@ -8118,7 +5572,7 @@ declare type InputBehaviorEvent = {
|
|
|
8118
5572
|
declare type InsertPlacement = 'auto' | 'after' | 'before'
|
|
8119
5573
|
|
|
8120
5574
|
declare type InternalPatchEvent = NamespaceEvent<PatchEvent, 'internal'> & {
|
|
8121
|
-
|
|
5575
|
+
operationId?: string
|
|
8122
5576
|
value: Array<PortableTextBlock>
|
|
8123
5577
|
}
|
|
8124
5578
|
|