@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/behaviors/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type {
|
|
|
4
4
|
BlockDecoratorDefinition,
|
|
5
5
|
BlockListDefinition,
|
|
6
6
|
BlockStyleDefinition,
|
|
7
|
+
KeyedSegment,
|
|
7
8
|
ObjectSchemaType,
|
|
8
9
|
Path,
|
|
9
10
|
PortableTextBlock,
|
|
@@ -13,13 +14,11 @@ import type {
|
|
|
13
14
|
PortableTextSpan,
|
|
14
15
|
PortableTextTextBlock,
|
|
15
16
|
} from '@sanity/types'
|
|
16
|
-
import {KeyedSegment} from '@sanity/types'
|
|
17
17
|
import type {
|
|
18
18
|
FocusEvent as FocusEvent_2,
|
|
19
19
|
KeyboardEvent as KeyboardEvent_2,
|
|
20
20
|
} from 'react'
|
|
21
|
-
import type {Descendant, Operation} from 'slate'
|
|
22
|
-
import {TextUnit} from 'slate'
|
|
21
|
+
import type {Descendant, Operation, TextUnit} from 'slate'
|
|
23
22
|
import type {DOMNode} from 'slate-dom'
|
|
24
23
|
import type {ReactEditor} from 'slate-react'
|
|
25
24
|
import {
|
|
@@ -43,22 +42,6 @@ import {
|
|
|
43
42
|
Values,
|
|
44
43
|
} from 'xstate'
|
|
45
44
|
import {GuardArgs} from 'xstate/guards'
|
|
46
|
-
import {BlockOffset as BlockOffset_2} from '..'
|
|
47
|
-
import {
|
|
48
|
-
CustomBehaviorEvent as CustomBehaviorEvent_2,
|
|
49
|
-
NativeBehaviorEvent as NativeBehaviorEvent_2,
|
|
50
|
-
} from '../behaviors'
|
|
51
|
-
import {
|
|
52
|
-
InputBehaviorEvent as InputBehaviorEvent_2,
|
|
53
|
-
InsertPlacement as InsertPlacement_2,
|
|
54
|
-
MouseBehaviorEvent as MouseBehaviorEvent_2,
|
|
55
|
-
} from '../behaviors/behavior.types.event'
|
|
56
|
-
import {MIMEType as MIMEType_2} from '../internal-utils/mime-type'
|
|
57
|
-
import {
|
|
58
|
-
PickFromUnion as PickFromUnion_2,
|
|
59
|
-
StrictExtract as StrictExtract_2,
|
|
60
|
-
} from '../type-utils'
|
|
61
|
-
import {BlockWithOptionalKey as BlockWithOptionalKey_2} from '../types/block-with-optional-key'
|
|
62
45
|
|
|
63
46
|
declare type AbstractBehaviorEvent =
|
|
64
47
|
| {
|
|
@@ -303,6 +286,11 @@ export declare type BehaviorActionSet<TBehaviorEvent, TGuardResponse> = (
|
|
|
303
286
|
guardResponse: TGuardResponse,
|
|
304
287
|
) => Array<BehaviorAction>
|
|
305
288
|
|
|
289
|
+
declare type BehaviorConfig = {
|
|
290
|
+
behavior: Behavior
|
|
291
|
+
priority: EditorPriority
|
|
292
|
+
}
|
|
293
|
+
|
|
306
294
|
/**
|
|
307
295
|
* @beta
|
|
308
296
|
*/
|
|
@@ -622,7 +610,7 @@ declare type EditorContext = {
|
|
|
622
610
|
*/
|
|
623
611
|
declare const editorMachine: StateMachine<
|
|
624
612
|
{
|
|
625
|
-
behaviors: Set<
|
|
613
|
+
behaviors: Set<BehaviorConfig>
|
|
626
614
|
converters: Set<Converter>
|
|
627
615
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
628
616
|
keyGenerator: () => string
|
|
@@ -642,14 +630,6 @@ declare const editorMachine: StateMachine<
|
|
|
642
630
|
| InternalPatchEvent
|
|
643
631
|
| MutationEvent
|
|
644
632
|
| PatchesEvent
|
|
645
|
-
| {
|
|
646
|
-
type: 'add behavior'
|
|
647
|
-
behavior: Behavior
|
|
648
|
-
}
|
|
649
|
-
| {
|
|
650
|
-
type: 'remove behavior'
|
|
651
|
-
behavior: Behavior
|
|
652
|
-
}
|
|
653
633
|
| {
|
|
654
634
|
type: 'update readOnly'
|
|
655
635
|
readOnly: boolean
|
|
@@ -670,6 +650,14 @@ declare const editorMachine: StateMachine<
|
|
|
670
650
|
type: 'update maxBlocks'
|
|
671
651
|
maxBlocks: number | undefined
|
|
672
652
|
}
|
|
653
|
+
| {
|
|
654
|
+
type: 'add behavior'
|
|
655
|
+
behaviorConfig: BehaviorConfig
|
|
656
|
+
}
|
|
657
|
+
| {
|
|
658
|
+
type: 'remove behavior'
|
|
659
|
+
behaviorConfig: BehaviorConfig
|
|
660
|
+
}
|
|
673
661
|
| {
|
|
674
662
|
type: 'blur'
|
|
675
663
|
editor: PortableTextSlateEditor
|
|
@@ -966,7 +954,7 @@ declare const editorMachine: StateMachine<
|
|
|
966
954
|
self: ActorRef<
|
|
967
955
|
MachineSnapshot<
|
|
968
956
|
{
|
|
969
|
-
behaviors: Set<
|
|
957
|
+
behaviors: Set<BehaviorConfig>
|
|
970
958
|
converters: Set<Converter>
|
|
971
959
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
972
960
|
keyGenerator: () => string
|
|
@@ -986,14 +974,6 @@ declare const editorMachine: StateMachine<
|
|
|
986
974
|
| InternalPatchEvent
|
|
987
975
|
| MutationEvent
|
|
988
976
|
| PatchesEvent
|
|
989
|
-
| {
|
|
990
|
-
type: 'add behavior'
|
|
991
|
-
behavior: Behavior
|
|
992
|
-
}
|
|
993
|
-
| {
|
|
994
|
-
type: 'remove behavior'
|
|
995
|
-
behavior: Behavior
|
|
996
|
-
}
|
|
997
977
|
| {
|
|
998
978
|
type: 'update readOnly'
|
|
999
979
|
readOnly: boolean
|
|
@@ -1014,6 +994,14 @@ declare const editorMachine: StateMachine<
|
|
|
1014
994
|
type: 'update maxBlocks'
|
|
1015
995
|
maxBlocks: number | undefined
|
|
1016
996
|
}
|
|
997
|
+
| {
|
|
998
|
+
type: 'add behavior'
|
|
999
|
+
behaviorConfig: BehaviorConfig
|
|
1000
|
+
}
|
|
1001
|
+
| {
|
|
1002
|
+
type: 'remove behavior'
|
|
1003
|
+
behaviorConfig: BehaviorConfig
|
|
1004
|
+
}
|
|
1017
1005
|
| {
|
|
1018
1006
|
type: 'blur'
|
|
1019
1007
|
editor: PortableTextSlateEditor
|
|
@@ -1119,14 +1107,6 @@ declare const editorMachine: StateMachine<
|
|
|
1119
1107
|
| InternalPatchEvent
|
|
1120
1108
|
| MutationEvent
|
|
1121
1109
|
| PatchesEvent
|
|
1122
|
-
| {
|
|
1123
|
-
type: 'add behavior'
|
|
1124
|
-
behavior: Behavior
|
|
1125
|
-
}
|
|
1126
|
-
| {
|
|
1127
|
-
type: 'remove behavior'
|
|
1128
|
-
behavior: Behavior
|
|
1129
|
-
}
|
|
1130
1110
|
| {
|
|
1131
1111
|
type: 'update readOnly'
|
|
1132
1112
|
readOnly: boolean
|
|
@@ -1147,6 +1127,14 @@ declare const editorMachine: StateMachine<
|
|
|
1147
1127
|
type: 'update maxBlocks'
|
|
1148
1128
|
maxBlocks: number | undefined
|
|
1149
1129
|
}
|
|
1130
|
+
| {
|
|
1131
|
+
type: 'add behavior'
|
|
1132
|
+
behaviorConfig: BehaviorConfig
|
|
1133
|
+
}
|
|
1134
|
+
| {
|
|
1135
|
+
type: 'remove behavior'
|
|
1136
|
+
behaviorConfig: BehaviorConfig
|
|
1137
|
+
}
|
|
1150
1138
|
| {
|
|
1151
1139
|
type: 'blur'
|
|
1152
1140
|
editor: PortableTextSlateEditor
|
|
@@ -1245,2550 +1233,7 @@ declare const editorMachine: StateMachine<
|
|
|
1245
1233
|
AnyEventObject
|
|
1246
1234
|
>
|
|
1247
1235
|
}) => {
|
|
1248
|
-
behaviors: Set<
|
|
1249
|
-
Behavior<
|
|
1250
|
-
| 'serialize'
|
|
1251
|
-
| 'clipboard.copy'
|
|
1252
|
-
| 'clipboard.cut'
|
|
1253
|
-
| 'drag.dragstart'
|
|
1254
|
-
| 'serialization.failure'
|
|
1255
|
-
| 'serialization.success'
|
|
1256
|
-
| 'deserialize'
|
|
1257
|
-
| 'deserialization.failure'
|
|
1258
|
-
| 'deserialization.success'
|
|
1259
|
-
| 'split'
|
|
1260
|
-
| 'delete'
|
|
1261
|
-
| 'select'
|
|
1262
|
-
| '*'
|
|
1263
|
-
| 'annotation.add'
|
|
1264
|
-
| 'annotation.remove'
|
|
1265
|
-
| 'block.set'
|
|
1266
|
-
| 'block.unset'
|
|
1267
|
-
| 'decorator.add'
|
|
1268
|
-
| 'decorator.remove'
|
|
1269
|
-
| 'delete.backward'
|
|
1270
|
-
| 'delete.block'
|
|
1271
|
-
| 'delete.forward'
|
|
1272
|
-
| 'history.redo'
|
|
1273
|
-
| 'history.undo'
|
|
1274
|
-
| 'insert.inline object'
|
|
1275
|
-
| 'insert.block'
|
|
1276
|
-
| 'insert.span'
|
|
1277
|
-
| 'insert.text'
|
|
1278
|
-
| 'move.backward'
|
|
1279
|
-
| 'move.block'
|
|
1280
|
-
| 'move.forward'
|
|
1281
|
-
| 'annotation.toggle'
|
|
1282
|
-
| 'decorator.toggle'
|
|
1283
|
-
| 'delete.text'
|
|
1284
|
-
| 'insert.blocks'
|
|
1285
|
-
| 'insert.break'
|
|
1286
|
-
| 'insert.soft break'
|
|
1287
|
-
| 'list item.add'
|
|
1288
|
-
| 'list item.remove'
|
|
1289
|
-
| 'list item.toggle'
|
|
1290
|
-
| 'move.block down'
|
|
1291
|
-
| 'move.block up'
|
|
1292
|
-
| 'select.previous block'
|
|
1293
|
-
| 'select.next block'
|
|
1294
|
-
| 'style.add'
|
|
1295
|
-
| 'style.remove'
|
|
1296
|
-
| 'style.toggle'
|
|
1297
|
-
| 'clipboard.paste'
|
|
1298
|
-
| 'drag.drag'
|
|
1299
|
-
| 'drag.dragend'
|
|
1300
|
-
| 'drag.dragenter'
|
|
1301
|
-
| 'drag.dragover'
|
|
1302
|
-
| 'drag.dragleave'
|
|
1303
|
-
| 'drag.drop'
|
|
1304
|
-
| 'input.*'
|
|
1305
|
-
| 'keyboard.keydown'
|
|
1306
|
-
| 'keyboard.keyup'
|
|
1307
|
-
| 'mouse.click'
|
|
1308
|
-
| 'serialize.*'
|
|
1309
|
-
| 'deserialize.*'
|
|
1310
|
-
| 'split.*'
|
|
1311
|
-
| 'block.*'
|
|
1312
|
-
| 'style.*'
|
|
1313
|
-
| 'delete.*'
|
|
1314
|
-
| 'move.*'
|
|
1315
|
-
| 'select.*'
|
|
1316
|
-
| 'history.*'
|
|
1317
|
-
| 'serialization.*'
|
|
1318
|
-
| 'deserialization.*'
|
|
1319
|
-
| 'annotation.*'
|
|
1320
|
-
| 'decorator.*'
|
|
1321
|
-
| 'insert.*'
|
|
1322
|
-
| 'list item.*'
|
|
1323
|
-
| 'clipboard.*'
|
|
1324
|
-
| 'drag.*'
|
|
1325
|
-
| 'keyboard.*'
|
|
1326
|
-
| 'mouse.*'
|
|
1327
|
-
| `custom.${string}`,
|
|
1328
|
-
true,
|
|
1329
|
-
| {
|
|
1330
|
-
type: StrictExtract_2<
|
|
1331
|
-
| 'serialize'
|
|
1332
|
-
| 'serialization.failure'
|
|
1333
|
-
| 'serialization.success'
|
|
1334
|
-
| 'deserialize'
|
|
1335
|
-
| 'deserialization.failure'
|
|
1336
|
-
| 'deserialization.success'
|
|
1337
|
-
| 'split'
|
|
1338
|
-
| 'delete'
|
|
1339
|
-
| 'select'
|
|
1340
|
-
| 'annotation.add'
|
|
1341
|
-
| 'annotation.remove'
|
|
1342
|
-
| 'block.set'
|
|
1343
|
-
| 'block.unset'
|
|
1344
|
-
| 'decorator.add'
|
|
1345
|
-
| 'decorator.remove'
|
|
1346
|
-
| 'delete.backward'
|
|
1347
|
-
| 'delete.block'
|
|
1348
|
-
| 'delete.forward'
|
|
1349
|
-
| 'history.redo'
|
|
1350
|
-
| 'history.undo'
|
|
1351
|
-
| 'insert.inline object'
|
|
1352
|
-
| 'insert.block'
|
|
1353
|
-
| 'insert.span'
|
|
1354
|
-
| 'insert.text'
|
|
1355
|
-
| 'move.backward'
|
|
1356
|
-
| 'move.block'
|
|
1357
|
-
| 'move.forward'
|
|
1358
|
-
| 'annotation.toggle'
|
|
1359
|
-
| 'decorator.toggle'
|
|
1360
|
-
| 'delete.text'
|
|
1361
|
-
| 'insert.blocks'
|
|
1362
|
-
| 'insert.break'
|
|
1363
|
-
| 'insert.soft break'
|
|
1364
|
-
| 'list item.add'
|
|
1365
|
-
| 'list item.remove'
|
|
1366
|
-
| 'list item.toggle'
|
|
1367
|
-
| 'move.block down'
|
|
1368
|
-
| 'move.block up'
|
|
1369
|
-
| 'select.previous block'
|
|
1370
|
-
| 'select.next block'
|
|
1371
|
-
| 'style.add'
|
|
1372
|
-
| 'style.remove'
|
|
1373
|
-
| 'style.toggle',
|
|
1374
|
-
'annotation.add'
|
|
1375
|
-
>
|
|
1376
|
-
annotation: {
|
|
1377
|
-
name: string
|
|
1378
|
-
value: {
|
|
1379
|
-
[prop: string]: unknown
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
}
|
|
1383
|
-
| {
|
|
1384
|
-
type: StrictExtract_2<
|
|
1385
|
-
| 'serialize'
|
|
1386
|
-
| 'serialization.failure'
|
|
1387
|
-
| 'serialization.success'
|
|
1388
|
-
| 'deserialize'
|
|
1389
|
-
| 'deserialization.failure'
|
|
1390
|
-
| 'deserialization.success'
|
|
1391
|
-
| 'split'
|
|
1392
|
-
| 'delete'
|
|
1393
|
-
| 'select'
|
|
1394
|
-
| 'annotation.add'
|
|
1395
|
-
| 'annotation.remove'
|
|
1396
|
-
| 'block.set'
|
|
1397
|
-
| 'block.unset'
|
|
1398
|
-
| 'decorator.add'
|
|
1399
|
-
| 'decorator.remove'
|
|
1400
|
-
| 'delete.backward'
|
|
1401
|
-
| 'delete.block'
|
|
1402
|
-
| 'delete.forward'
|
|
1403
|
-
| 'history.redo'
|
|
1404
|
-
| 'history.undo'
|
|
1405
|
-
| 'insert.inline object'
|
|
1406
|
-
| 'insert.block'
|
|
1407
|
-
| 'insert.span'
|
|
1408
|
-
| 'insert.text'
|
|
1409
|
-
| 'move.backward'
|
|
1410
|
-
| 'move.block'
|
|
1411
|
-
| 'move.forward'
|
|
1412
|
-
| 'annotation.toggle'
|
|
1413
|
-
| 'decorator.toggle'
|
|
1414
|
-
| 'delete.text'
|
|
1415
|
-
| 'insert.blocks'
|
|
1416
|
-
| 'insert.break'
|
|
1417
|
-
| 'insert.soft break'
|
|
1418
|
-
| 'list item.add'
|
|
1419
|
-
| 'list item.remove'
|
|
1420
|
-
| 'list item.toggle'
|
|
1421
|
-
| 'move.block down'
|
|
1422
|
-
| 'move.block up'
|
|
1423
|
-
| 'select.previous block'
|
|
1424
|
-
| 'select.next block'
|
|
1425
|
-
| 'style.add'
|
|
1426
|
-
| 'style.remove'
|
|
1427
|
-
| 'style.toggle',
|
|
1428
|
-
'annotation.remove'
|
|
1429
|
-
>
|
|
1430
|
-
annotation: {
|
|
1431
|
-
name: string
|
|
1432
|
-
}
|
|
1433
|
-
}
|
|
1434
|
-
| {
|
|
1435
|
-
type: StrictExtract_2<
|
|
1436
|
-
| 'serialize'
|
|
1437
|
-
| 'serialization.failure'
|
|
1438
|
-
| 'serialization.success'
|
|
1439
|
-
| 'deserialize'
|
|
1440
|
-
| 'deserialization.failure'
|
|
1441
|
-
| 'deserialization.success'
|
|
1442
|
-
| 'split'
|
|
1443
|
-
| 'delete'
|
|
1444
|
-
| 'select'
|
|
1445
|
-
| 'annotation.add'
|
|
1446
|
-
| 'annotation.remove'
|
|
1447
|
-
| 'block.set'
|
|
1448
|
-
| 'block.unset'
|
|
1449
|
-
| 'decorator.add'
|
|
1450
|
-
| 'decorator.remove'
|
|
1451
|
-
| 'delete.backward'
|
|
1452
|
-
| 'delete.block'
|
|
1453
|
-
| 'delete.forward'
|
|
1454
|
-
| 'history.redo'
|
|
1455
|
-
| 'history.undo'
|
|
1456
|
-
| 'insert.inline object'
|
|
1457
|
-
| 'insert.block'
|
|
1458
|
-
| 'insert.span'
|
|
1459
|
-
| 'insert.text'
|
|
1460
|
-
| 'move.backward'
|
|
1461
|
-
| 'move.block'
|
|
1462
|
-
| 'move.forward'
|
|
1463
|
-
| 'annotation.toggle'
|
|
1464
|
-
| 'decorator.toggle'
|
|
1465
|
-
| 'delete.text'
|
|
1466
|
-
| 'insert.blocks'
|
|
1467
|
-
| 'insert.break'
|
|
1468
|
-
| 'insert.soft break'
|
|
1469
|
-
| 'list item.add'
|
|
1470
|
-
| 'list item.remove'
|
|
1471
|
-
| 'list item.toggle'
|
|
1472
|
-
| 'move.block down'
|
|
1473
|
-
| 'move.block up'
|
|
1474
|
-
| 'select.previous block'
|
|
1475
|
-
| 'select.next block'
|
|
1476
|
-
| 'style.add'
|
|
1477
|
-
| 'style.remove'
|
|
1478
|
-
| 'style.toggle',
|
|
1479
|
-
'block.set'
|
|
1480
|
-
>
|
|
1481
|
-
at: [KeyedSegment]
|
|
1482
|
-
props: Record<string, unknown>
|
|
1483
|
-
}
|
|
1484
|
-
| {
|
|
1485
|
-
type: StrictExtract_2<
|
|
1486
|
-
| 'serialize'
|
|
1487
|
-
| 'serialization.failure'
|
|
1488
|
-
| 'serialization.success'
|
|
1489
|
-
| 'deserialize'
|
|
1490
|
-
| 'deserialization.failure'
|
|
1491
|
-
| 'deserialization.success'
|
|
1492
|
-
| 'split'
|
|
1493
|
-
| 'delete'
|
|
1494
|
-
| 'select'
|
|
1495
|
-
| 'annotation.add'
|
|
1496
|
-
| 'annotation.remove'
|
|
1497
|
-
| 'block.set'
|
|
1498
|
-
| 'block.unset'
|
|
1499
|
-
| 'decorator.add'
|
|
1500
|
-
| 'decorator.remove'
|
|
1501
|
-
| 'delete.backward'
|
|
1502
|
-
| 'delete.block'
|
|
1503
|
-
| 'delete.forward'
|
|
1504
|
-
| 'history.redo'
|
|
1505
|
-
| 'history.undo'
|
|
1506
|
-
| 'insert.inline object'
|
|
1507
|
-
| 'insert.block'
|
|
1508
|
-
| 'insert.span'
|
|
1509
|
-
| 'insert.text'
|
|
1510
|
-
| 'move.backward'
|
|
1511
|
-
| 'move.block'
|
|
1512
|
-
| 'move.forward'
|
|
1513
|
-
| 'annotation.toggle'
|
|
1514
|
-
| 'decorator.toggle'
|
|
1515
|
-
| 'delete.text'
|
|
1516
|
-
| 'insert.blocks'
|
|
1517
|
-
| 'insert.break'
|
|
1518
|
-
| 'insert.soft break'
|
|
1519
|
-
| 'list item.add'
|
|
1520
|
-
| 'list item.remove'
|
|
1521
|
-
| 'list item.toggle'
|
|
1522
|
-
| 'move.block down'
|
|
1523
|
-
| 'move.block up'
|
|
1524
|
-
| 'select.previous block'
|
|
1525
|
-
| 'select.next block'
|
|
1526
|
-
| 'style.add'
|
|
1527
|
-
| 'style.remove'
|
|
1528
|
-
| 'style.toggle',
|
|
1529
|
-
'block.unset'
|
|
1530
|
-
>
|
|
1531
|
-
at: [KeyedSegment]
|
|
1532
|
-
props: Array<string>
|
|
1533
|
-
}
|
|
1534
|
-
| {
|
|
1535
|
-
type: StrictExtract_2<
|
|
1536
|
-
| 'serialize'
|
|
1537
|
-
| 'serialization.failure'
|
|
1538
|
-
| 'serialization.success'
|
|
1539
|
-
| 'deserialize'
|
|
1540
|
-
| 'deserialization.failure'
|
|
1541
|
-
| 'deserialization.success'
|
|
1542
|
-
| 'split'
|
|
1543
|
-
| 'delete'
|
|
1544
|
-
| 'select'
|
|
1545
|
-
| 'annotation.add'
|
|
1546
|
-
| 'annotation.remove'
|
|
1547
|
-
| 'block.set'
|
|
1548
|
-
| 'block.unset'
|
|
1549
|
-
| 'decorator.add'
|
|
1550
|
-
| 'decorator.remove'
|
|
1551
|
-
| 'delete.backward'
|
|
1552
|
-
| 'delete.block'
|
|
1553
|
-
| 'delete.forward'
|
|
1554
|
-
| 'history.redo'
|
|
1555
|
-
| 'history.undo'
|
|
1556
|
-
| 'insert.inline object'
|
|
1557
|
-
| 'insert.block'
|
|
1558
|
-
| 'insert.span'
|
|
1559
|
-
| 'insert.text'
|
|
1560
|
-
| 'move.backward'
|
|
1561
|
-
| 'move.block'
|
|
1562
|
-
| 'move.forward'
|
|
1563
|
-
| 'annotation.toggle'
|
|
1564
|
-
| 'decorator.toggle'
|
|
1565
|
-
| 'delete.text'
|
|
1566
|
-
| 'insert.blocks'
|
|
1567
|
-
| 'insert.break'
|
|
1568
|
-
| 'insert.soft break'
|
|
1569
|
-
| 'list item.add'
|
|
1570
|
-
| 'list item.remove'
|
|
1571
|
-
| 'list item.toggle'
|
|
1572
|
-
| 'move.block down'
|
|
1573
|
-
| 'move.block up'
|
|
1574
|
-
| 'select.previous block'
|
|
1575
|
-
| 'select.next block'
|
|
1576
|
-
| 'style.add'
|
|
1577
|
-
| 'style.remove'
|
|
1578
|
-
| 'style.toggle',
|
|
1579
|
-
'decorator.add'
|
|
1580
|
-
>
|
|
1581
|
-
decorator: string
|
|
1582
|
-
at?: {
|
|
1583
|
-
anchor: BlockOffset_2
|
|
1584
|
-
focus: BlockOffset_2
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
| {
|
|
1588
|
-
type: StrictExtract_2<
|
|
1589
|
-
| 'serialize'
|
|
1590
|
-
| 'serialization.failure'
|
|
1591
|
-
| 'serialization.success'
|
|
1592
|
-
| 'deserialize'
|
|
1593
|
-
| 'deserialization.failure'
|
|
1594
|
-
| 'deserialization.success'
|
|
1595
|
-
| 'split'
|
|
1596
|
-
| 'delete'
|
|
1597
|
-
| 'select'
|
|
1598
|
-
| 'annotation.add'
|
|
1599
|
-
| 'annotation.remove'
|
|
1600
|
-
| 'block.set'
|
|
1601
|
-
| 'block.unset'
|
|
1602
|
-
| 'decorator.add'
|
|
1603
|
-
| 'decorator.remove'
|
|
1604
|
-
| 'delete.backward'
|
|
1605
|
-
| 'delete.block'
|
|
1606
|
-
| 'delete.forward'
|
|
1607
|
-
| 'history.redo'
|
|
1608
|
-
| 'history.undo'
|
|
1609
|
-
| 'insert.inline object'
|
|
1610
|
-
| 'insert.block'
|
|
1611
|
-
| 'insert.span'
|
|
1612
|
-
| 'insert.text'
|
|
1613
|
-
| 'move.backward'
|
|
1614
|
-
| 'move.block'
|
|
1615
|
-
| 'move.forward'
|
|
1616
|
-
| 'annotation.toggle'
|
|
1617
|
-
| 'decorator.toggle'
|
|
1618
|
-
| 'delete.text'
|
|
1619
|
-
| 'insert.blocks'
|
|
1620
|
-
| 'insert.break'
|
|
1621
|
-
| 'insert.soft break'
|
|
1622
|
-
| 'list item.add'
|
|
1623
|
-
| 'list item.remove'
|
|
1624
|
-
| 'list item.toggle'
|
|
1625
|
-
| 'move.block down'
|
|
1626
|
-
| 'move.block up'
|
|
1627
|
-
| 'select.previous block'
|
|
1628
|
-
| 'select.next block'
|
|
1629
|
-
| 'style.add'
|
|
1630
|
-
| 'style.remove'
|
|
1631
|
-
| 'style.toggle',
|
|
1632
|
-
'decorator.remove'
|
|
1633
|
-
>
|
|
1634
|
-
decorator: string
|
|
1635
|
-
}
|
|
1636
|
-
| {
|
|
1637
|
-
type: StrictExtract_2<
|
|
1638
|
-
| 'serialize'
|
|
1639
|
-
| 'serialization.failure'
|
|
1640
|
-
| 'serialization.success'
|
|
1641
|
-
| 'deserialize'
|
|
1642
|
-
| 'deserialization.failure'
|
|
1643
|
-
| 'deserialization.success'
|
|
1644
|
-
| 'split'
|
|
1645
|
-
| 'delete'
|
|
1646
|
-
| 'select'
|
|
1647
|
-
| 'annotation.add'
|
|
1648
|
-
| 'annotation.remove'
|
|
1649
|
-
| 'block.set'
|
|
1650
|
-
| 'block.unset'
|
|
1651
|
-
| 'decorator.add'
|
|
1652
|
-
| 'decorator.remove'
|
|
1653
|
-
| 'delete.backward'
|
|
1654
|
-
| 'delete.block'
|
|
1655
|
-
| 'delete.forward'
|
|
1656
|
-
| 'history.redo'
|
|
1657
|
-
| 'history.undo'
|
|
1658
|
-
| 'insert.inline object'
|
|
1659
|
-
| 'insert.block'
|
|
1660
|
-
| 'insert.span'
|
|
1661
|
-
| 'insert.text'
|
|
1662
|
-
| 'move.backward'
|
|
1663
|
-
| 'move.block'
|
|
1664
|
-
| 'move.forward'
|
|
1665
|
-
| 'annotation.toggle'
|
|
1666
|
-
| 'decorator.toggle'
|
|
1667
|
-
| 'delete.text'
|
|
1668
|
-
| 'insert.blocks'
|
|
1669
|
-
| 'insert.break'
|
|
1670
|
-
| 'insert.soft break'
|
|
1671
|
-
| 'list item.add'
|
|
1672
|
-
| 'list item.remove'
|
|
1673
|
-
| 'list item.toggle'
|
|
1674
|
-
| 'move.block down'
|
|
1675
|
-
| 'move.block up'
|
|
1676
|
-
| 'select.previous block'
|
|
1677
|
-
| 'select.next block'
|
|
1678
|
-
| 'style.add'
|
|
1679
|
-
| 'style.remove'
|
|
1680
|
-
| 'style.toggle',
|
|
1681
|
-
'delete'
|
|
1682
|
-
>
|
|
1683
|
-
at: NonNullable<EditorSelection>
|
|
1684
|
-
}
|
|
1685
|
-
| {
|
|
1686
|
-
type: StrictExtract_2<
|
|
1687
|
-
| 'serialize'
|
|
1688
|
-
| 'serialization.failure'
|
|
1689
|
-
| 'serialization.success'
|
|
1690
|
-
| 'deserialize'
|
|
1691
|
-
| 'deserialization.failure'
|
|
1692
|
-
| 'deserialization.success'
|
|
1693
|
-
| 'split'
|
|
1694
|
-
| 'delete'
|
|
1695
|
-
| 'select'
|
|
1696
|
-
| 'annotation.add'
|
|
1697
|
-
| 'annotation.remove'
|
|
1698
|
-
| 'block.set'
|
|
1699
|
-
| 'block.unset'
|
|
1700
|
-
| 'decorator.add'
|
|
1701
|
-
| 'decorator.remove'
|
|
1702
|
-
| 'delete.backward'
|
|
1703
|
-
| 'delete.block'
|
|
1704
|
-
| 'delete.forward'
|
|
1705
|
-
| 'history.redo'
|
|
1706
|
-
| 'history.undo'
|
|
1707
|
-
| 'insert.inline object'
|
|
1708
|
-
| 'insert.block'
|
|
1709
|
-
| 'insert.span'
|
|
1710
|
-
| 'insert.text'
|
|
1711
|
-
| 'move.backward'
|
|
1712
|
-
| 'move.block'
|
|
1713
|
-
| 'move.forward'
|
|
1714
|
-
| 'annotation.toggle'
|
|
1715
|
-
| 'decorator.toggle'
|
|
1716
|
-
| 'delete.text'
|
|
1717
|
-
| 'insert.blocks'
|
|
1718
|
-
| 'insert.break'
|
|
1719
|
-
| 'insert.soft break'
|
|
1720
|
-
| 'list item.add'
|
|
1721
|
-
| 'list item.remove'
|
|
1722
|
-
| 'list item.toggle'
|
|
1723
|
-
| 'move.block down'
|
|
1724
|
-
| 'move.block up'
|
|
1725
|
-
| 'select.previous block'
|
|
1726
|
-
| 'select.next block'
|
|
1727
|
-
| 'style.add'
|
|
1728
|
-
| 'style.remove'
|
|
1729
|
-
| 'style.toggle',
|
|
1730
|
-
'delete.backward'
|
|
1731
|
-
>
|
|
1732
|
-
unit: TextUnit
|
|
1733
|
-
}
|
|
1734
|
-
| {
|
|
1735
|
-
type: StrictExtract_2<
|
|
1736
|
-
| 'serialize'
|
|
1737
|
-
| 'serialization.failure'
|
|
1738
|
-
| 'serialization.success'
|
|
1739
|
-
| 'deserialize'
|
|
1740
|
-
| 'deserialization.failure'
|
|
1741
|
-
| 'deserialization.success'
|
|
1742
|
-
| 'split'
|
|
1743
|
-
| 'delete'
|
|
1744
|
-
| 'select'
|
|
1745
|
-
| 'annotation.add'
|
|
1746
|
-
| 'annotation.remove'
|
|
1747
|
-
| 'block.set'
|
|
1748
|
-
| 'block.unset'
|
|
1749
|
-
| 'decorator.add'
|
|
1750
|
-
| 'decorator.remove'
|
|
1751
|
-
| 'delete.backward'
|
|
1752
|
-
| 'delete.block'
|
|
1753
|
-
| 'delete.forward'
|
|
1754
|
-
| 'history.redo'
|
|
1755
|
-
| 'history.undo'
|
|
1756
|
-
| 'insert.inline object'
|
|
1757
|
-
| 'insert.block'
|
|
1758
|
-
| 'insert.span'
|
|
1759
|
-
| 'insert.text'
|
|
1760
|
-
| 'move.backward'
|
|
1761
|
-
| 'move.block'
|
|
1762
|
-
| 'move.forward'
|
|
1763
|
-
| 'annotation.toggle'
|
|
1764
|
-
| 'decorator.toggle'
|
|
1765
|
-
| 'delete.text'
|
|
1766
|
-
| 'insert.blocks'
|
|
1767
|
-
| 'insert.break'
|
|
1768
|
-
| 'insert.soft break'
|
|
1769
|
-
| 'list item.add'
|
|
1770
|
-
| 'list item.remove'
|
|
1771
|
-
| 'list item.toggle'
|
|
1772
|
-
| 'move.block down'
|
|
1773
|
-
| 'move.block up'
|
|
1774
|
-
| 'select.previous block'
|
|
1775
|
-
| 'select.next block'
|
|
1776
|
-
| 'style.add'
|
|
1777
|
-
| 'style.remove'
|
|
1778
|
-
| 'style.toggle',
|
|
1779
|
-
'delete.block'
|
|
1780
|
-
>
|
|
1781
|
-
at: [KeyedSegment]
|
|
1782
|
-
}
|
|
1783
|
-
| {
|
|
1784
|
-
type: StrictExtract_2<
|
|
1785
|
-
| 'serialize'
|
|
1786
|
-
| 'serialization.failure'
|
|
1787
|
-
| 'serialization.success'
|
|
1788
|
-
| 'deserialize'
|
|
1789
|
-
| 'deserialization.failure'
|
|
1790
|
-
| 'deserialization.success'
|
|
1791
|
-
| 'split'
|
|
1792
|
-
| 'delete'
|
|
1793
|
-
| 'select'
|
|
1794
|
-
| 'annotation.add'
|
|
1795
|
-
| 'annotation.remove'
|
|
1796
|
-
| 'block.set'
|
|
1797
|
-
| 'block.unset'
|
|
1798
|
-
| 'decorator.add'
|
|
1799
|
-
| 'decorator.remove'
|
|
1800
|
-
| 'delete.backward'
|
|
1801
|
-
| 'delete.block'
|
|
1802
|
-
| 'delete.forward'
|
|
1803
|
-
| 'history.redo'
|
|
1804
|
-
| 'history.undo'
|
|
1805
|
-
| 'insert.inline object'
|
|
1806
|
-
| 'insert.block'
|
|
1807
|
-
| 'insert.span'
|
|
1808
|
-
| 'insert.text'
|
|
1809
|
-
| 'move.backward'
|
|
1810
|
-
| 'move.block'
|
|
1811
|
-
| 'move.forward'
|
|
1812
|
-
| 'annotation.toggle'
|
|
1813
|
-
| 'decorator.toggle'
|
|
1814
|
-
| 'delete.text'
|
|
1815
|
-
| 'insert.blocks'
|
|
1816
|
-
| 'insert.break'
|
|
1817
|
-
| 'insert.soft break'
|
|
1818
|
-
| 'list item.add'
|
|
1819
|
-
| 'list item.remove'
|
|
1820
|
-
| 'list item.toggle'
|
|
1821
|
-
| 'move.block down'
|
|
1822
|
-
| 'move.block up'
|
|
1823
|
-
| 'select.previous block'
|
|
1824
|
-
| 'select.next block'
|
|
1825
|
-
| 'style.add'
|
|
1826
|
-
| 'style.remove'
|
|
1827
|
-
| 'style.toggle',
|
|
1828
|
-
'delete.forward'
|
|
1829
|
-
>
|
|
1830
|
-
unit: TextUnit
|
|
1831
|
-
}
|
|
1832
|
-
| {
|
|
1833
|
-
type: StrictExtract_2<
|
|
1834
|
-
| 'serialize'
|
|
1835
|
-
| 'serialization.failure'
|
|
1836
|
-
| 'serialization.success'
|
|
1837
|
-
| 'deserialize'
|
|
1838
|
-
| 'deserialization.failure'
|
|
1839
|
-
| 'deserialization.success'
|
|
1840
|
-
| 'split'
|
|
1841
|
-
| 'delete'
|
|
1842
|
-
| 'select'
|
|
1843
|
-
| 'annotation.add'
|
|
1844
|
-
| 'annotation.remove'
|
|
1845
|
-
| 'block.set'
|
|
1846
|
-
| 'block.unset'
|
|
1847
|
-
| 'decorator.add'
|
|
1848
|
-
| 'decorator.remove'
|
|
1849
|
-
| 'delete.backward'
|
|
1850
|
-
| 'delete.block'
|
|
1851
|
-
| 'delete.forward'
|
|
1852
|
-
| 'history.redo'
|
|
1853
|
-
| 'history.undo'
|
|
1854
|
-
| 'insert.inline object'
|
|
1855
|
-
| 'insert.block'
|
|
1856
|
-
| 'insert.span'
|
|
1857
|
-
| 'insert.text'
|
|
1858
|
-
| 'move.backward'
|
|
1859
|
-
| 'move.block'
|
|
1860
|
-
| 'move.forward'
|
|
1861
|
-
| 'annotation.toggle'
|
|
1862
|
-
| 'decorator.toggle'
|
|
1863
|
-
| 'delete.text'
|
|
1864
|
-
| 'insert.blocks'
|
|
1865
|
-
| 'insert.break'
|
|
1866
|
-
| 'insert.soft break'
|
|
1867
|
-
| 'list item.add'
|
|
1868
|
-
| 'list item.remove'
|
|
1869
|
-
| 'list item.toggle'
|
|
1870
|
-
| 'move.block down'
|
|
1871
|
-
| 'move.block up'
|
|
1872
|
-
| 'select.previous block'
|
|
1873
|
-
| 'select.next block'
|
|
1874
|
-
| 'style.add'
|
|
1875
|
-
| 'style.remove'
|
|
1876
|
-
| 'style.toggle',
|
|
1877
|
-
'history.redo'
|
|
1878
|
-
>
|
|
1879
|
-
}
|
|
1880
|
-
| {
|
|
1881
|
-
type: StrictExtract_2<
|
|
1882
|
-
| 'serialize'
|
|
1883
|
-
| 'serialization.failure'
|
|
1884
|
-
| 'serialization.success'
|
|
1885
|
-
| 'deserialize'
|
|
1886
|
-
| 'deserialization.failure'
|
|
1887
|
-
| 'deserialization.success'
|
|
1888
|
-
| 'split'
|
|
1889
|
-
| 'delete'
|
|
1890
|
-
| 'select'
|
|
1891
|
-
| 'annotation.add'
|
|
1892
|
-
| 'annotation.remove'
|
|
1893
|
-
| 'block.set'
|
|
1894
|
-
| 'block.unset'
|
|
1895
|
-
| 'decorator.add'
|
|
1896
|
-
| 'decorator.remove'
|
|
1897
|
-
| 'delete.backward'
|
|
1898
|
-
| 'delete.block'
|
|
1899
|
-
| 'delete.forward'
|
|
1900
|
-
| 'history.redo'
|
|
1901
|
-
| 'history.undo'
|
|
1902
|
-
| 'insert.inline object'
|
|
1903
|
-
| 'insert.block'
|
|
1904
|
-
| 'insert.span'
|
|
1905
|
-
| 'insert.text'
|
|
1906
|
-
| 'move.backward'
|
|
1907
|
-
| 'move.block'
|
|
1908
|
-
| 'move.forward'
|
|
1909
|
-
| 'annotation.toggle'
|
|
1910
|
-
| 'decorator.toggle'
|
|
1911
|
-
| 'delete.text'
|
|
1912
|
-
| 'insert.blocks'
|
|
1913
|
-
| 'insert.break'
|
|
1914
|
-
| 'insert.soft break'
|
|
1915
|
-
| 'list item.add'
|
|
1916
|
-
| 'list item.remove'
|
|
1917
|
-
| 'list item.toggle'
|
|
1918
|
-
| 'move.block down'
|
|
1919
|
-
| 'move.block up'
|
|
1920
|
-
| 'select.previous block'
|
|
1921
|
-
| 'select.next block'
|
|
1922
|
-
| 'style.add'
|
|
1923
|
-
| 'style.remove'
|
|
1924
|
-
| 'style.toggle',
|
|
1925
|
-
'history.undo'
|
|
1926
|
-
>
|
|
1927
|
-
}
|
|
1928
|
-
| {
|
|
1929
|
-
type: StrictExtract_2<
|
|
1930
|
-
| 'serialize'
|
|
1931
|
-
| 'serialization.failure'
|
|
1932
|
-
| 'serialization.success'
|
|
1933
|
-
| 'deserialize'
|
|
1934
|
-
| 'deserialization.failure'
|
|
1935
|
-
| 'deserialization.success'
|
|
1936
|
-
| 'split'
|
|
1937
|
-
| 'delete'
|
|
1938
|
-
| 'select'
|
|
1939
|
-
| 'annotation.add'
|
|
1940
|
-
| 'annotation.remove'
|
|
1941
|
-
| 'block.set'
|
|
1942
|
-
| 'block.unset'
|
|
1943
|
-
| 'decorator.add'
|
|
1944
|
-
| 'decorator.remove'
|
|
1945
|
-
| 'delete.backward'
|
|
1946
|
-
| 'delete.block'
|
|
1947
|
-
| 'delete.forward'
|
|
1948
|
-
| 'history.redo'
|
|
1949
|
-
| 'history.undo'
|
|
1950
|
-
| 'insert.inline object'
|
|
1951
|
-
| 'insert.block'
|
|
1952
|
-
| 'insert.span'
|
|
1953
|
-
| 'insert.text'
|
|
1954
|
-
| 'move.backward'
|
|
1955
|
-
| 'move.block'
|
|
1956
|
-
| 'move.forward'
|
|
1957
|
-
| 'annotation.toggle'
|
|
1958
|
-
| 'decorator.toggle'
|
|
1959
|
-
| 'delete.text'
|
|
1960
|
-
| 'insert.blocks'
|
|
1961
|
-
| 'insert.break'
|
|
1962
|
-
| 'insert.soft break'
|
|
1963
|
-
| 'list item.add'
|
|
1964
|
-
| 'list item.remove'
|
|
1965
|
-
| 'list item.toggle'
|
|
1966
|
-
| 'move.block down'
|
|
1967
|
-
| 'move.block up'
|
|
1968
|
-
| 'select.previous block'
|
|
1969
|
-
| 'select.next block'
|
|
1970
|
-
| 'style.add'
|
|
1971
|
-
| 'style.remove'
|
|
1972
|
-
| 'style.toggle',
|
|
1973
|
-
'insert.inline object'
|
|
1974
|
-
>
|
|
1975
|
-
inlineObject: {
|
|
1976
|
-
name: string
|
|
1977
|
-
value?: {
|
|
1978
|
-
[prop: string]: unknown
|
|
1979
|
-
}
|
|
1980
|
-
}
|
|
1981
|
-
}
|
|
1982
|
-
| {
|
|
1983
|
-
type: StrictExtract_2<
|
|
1984
|
-
| 'serialize'
|
|
1985
|
-
| 'serialization.failure'
|
|
1986
|
-
| 'serialization.success'
|
|
1987
|
-
| 'deserialize'
|
|
1988
|
-
| 'deserialization.failure'
|
|
1989
|
-
| 'deserialization.success'
|
|
1990
|
-
| 'split'
|
|
1991
|
-
| 'delete'
|
|
1992
|
-
| 'select'
|
|
1993
|
-
| 'annotation.add'
|
|
1994
|
-
| 'annotation.remove'
|
|
1995
|
-
| 'block.set'
|
|
1996
|
-
| 'block.unset'
|
|
1997
|
-
| 'decorator.add'
|
|
1998
|
-
| 'decorator.remove'
|
|
1999
|
-
| 'delete.backward'
|
|
2000
|
-
| 'delete.block'
|
|
2001
|
-
| 'delete.forward'
|
|
2002
|
-
| 'history.redo'
|
|
2003
|
-
| 'history.undo'
|
|
2004
|
-
| 'insert.inline object'
|
|
2005
|
-
| 'insert.block'
|
|
2006
|
-
| 'insert.span'
|
|
2007
|
-
| 'insert.text'
|
|
2008
|
-
| 'move.backward'
|
|
2009
|
-
| 'move.block'
|
|
2010
|
-
| 'move.forward'
|
|
2011
|
-
| 'annotation.toggle'
|
|
2012
|
-
| 'decorator.toggle'
|
|
2013
|
-
| 'delete.text'
|
|
2014
|
-
| 'insert.blocks'
|
|
2015
|
-
| 'insert.break'
|
|
2016
|
-
| 'insert.soft break'
|
|
2017
|
-
| 'list item.add'
|
|
2018
|
-
| 'list item.remove'
|
|
2019
|
-
| 'list item.toggle'
|
|
2020
|
-
| 'move.block down'
|
|
2021
|
-
| 'move.block up'
|
|
2022
|
-
| 'select.previous block'
|
|
2023
|
-
| 'select.next block'
|
|
2024
|
-
| 'style.add'
|
|
2025
|
-
| 'style.remove'
|
|
2026
|
-
| 'style.toggle',
|
|
2027
|
-
'insert.block'
|
|
2028
|
-
>
|
|
2029
|
-
block: BlockWithOptionalKey_2
|
|
2030
|
-
placement: InsertPlacement_2
|
|
2031
|
-
select?: 'start' | 'end' | 'none'
|
|
2032
|
-
}
|
|
2033
|
-
| {
|
|
2034
|
-
type: StrictExtract_2<
|
|
2035
|
-
| 'serialize'
|
|
2036
|
-
| 'serialization.failure'
|
|
2037
|
-
| 'serialization.success'
|
|
2038
|
-
| 'deserialize'
|
|
2039
|
-
| 'deserialization.failure'
|
|
2040
|
-
| 'deserialization.success'
|
|
2041
|
-
| 'split'
|
|
2042
|
-
| 'delete'
|
|
2043
|
-
| 'select'
|
|
2044
|
-
| 'annotation.add'
|
|
2045
|
-
| 'annotation.remove'
|
|
2046
|
-
| 'block.set'
|
|
2047
|
-
| 'block.unset'
|
|
2048
|
-
| 'decorator.add'
|
|
2049
|
-
| 'decorator.remove'
|
|
2050
|
-
| 'delete.backward'
|
|
2051
|
-
| 'delete.block'
|
|
2052
|
-
| 'delete.forward'
|
|
2053
|
-
| 'history.redo'
|
|
2054
|
-
| 'history.undo'
|
|
2055
|
-
| 'insert.inline object'
|
|
2056
|
-
| 'insert.block'
|
|
2057
|
-
| 'insert.span'
|
|
2058
|
-
| 'insert.text'
|
|
2059
|
-
| 'move.backward'
|
|
2060
|
-
| 'move.block'
|
|
2061
|
-
| 'move.forward'
|
|
2062
|
-
| 'annotation.toggle'
|
|
2063
|
-
| 'decorator.toggle'
|
|
2064
|
-
| 'delete.text'
|
|
2065
|
-
| 'insert.blocks'
|
|
2066
|
-
| 'insert.break'
|
|
2067
|
-
| 'insert.soft break'
|
|
2068
|
-
| 'list item.add'
|
|
2069
|
-
| 'list item.remove'
|
|
2070
|
-
| 'list item.toggle'
|
|
2071
|
-
| 'move.block down'
|
|
2072
|
-
| 'move.block up'
|
|
2073
|
-
| 'select.previous block'
|
|
2074
|
-
| 'select.next block'
|
|
2075
|
-
| 'style.add'
|
|
2076
|
-
| 'style.remove'
|
|
2077
|
-
| 'style.toggle',
|
|
2078
|
-
'insert.span'
|
|
2079
|
-
>
|
|
2080
|
-
text: string
|
|
2081
|
-
annotations?: Array<{
|
|
2082
|
-
name: string
|
|
2083
|
-
value: {
|
|
2084
|
-
[prop: string]: unknown
|
|
2085
|
-
}
|
|
2086
|
-
}>
|
|
2087
|
-
decorators?: Array<string>
|
|
2088
|
-
}
|
|
2089
|
-
| {
|
|
2090
|
-
type: StrictExtract_2<
|
|
2091
|
-
| 'serialize'
|
|
2092
|
-
| 'serialization.failure'
|
|
2093
|
-
| 'serialization.success'
|
|
2094
|
-
| 'deserialize'
|
|
2095
|
-
| 'deserialization.failure'
|
|
2096
|
-
| 'deserialization.success'
|
|
2097
|
-
| 'split'
|
|
2098
|
-
| 'delete'
|
|
2099
|
-
| 'select'
|
|
2100
|
-
| 'annotation.add'
|
|
2101
|
-
| 'annotation.remove'
|
|
2102
|
-
| 'block.set'
|
|
2103
|
-
| 'block.unset'
|
|
2104
|
-
| 'decorator.add'
|
|
2105
|
-
| 'decorator.remove'
|
|
2106
|
-
| 'delete.backward'
|
|
2107
|
-
| 'delete.block'
|
|
2108
|
-
| 'delete.forward'
|
|
2109
|
-
| 'history.redo'
|
|
2110
|
-
| 'history.undo'
|
|
2111
|
-
| 'insert.inline object'
|
|
2112
|
-
| 'insert.block'
|
|
2113
|
-
| 'insert.span'
|
|
2114
|
-
| 'insert.text'
|
|
2115
|
-
| 'move.backward'
|
|
2116
|
-
| 'move.block'
|
|
2117
|
-
| 'move.forward'
|
|
2118
|
-
| 'annotation.toggle'
|
|
2119
|
-
| 'decorator.toggle'
|
|
2120
|
-
| 'delete.text'
|
|
2121
|
-
| 'insert.blocks'
|
|
2122
|
-
| 'insert.break'
|
|
2123
|
-
| 'insert.soft break'
|
|
2124
|
-
| 'list item.add'
|
|
2125
|
-
| 'list item.remove'
|
|
2126
|
-
| 'list item.toggle'
|
|
2127
|
-
| 'move.block down'
|
|
2128
|
-
| 'move.block up'
|
|
2129
|
-
| 'select.previous block'
|
|
2130
|
-
| 'select.next block'
|
|
2131
|
-
| 'style.add'
|
|
2132
|
-
| 'style.remove'
|
|
2133
|
-
| 'style.toggle',
|
|
2134
|
-
'insert.text'
|
|
2135
|
-
>
|
|
2136
|
-
text: string
|
|
2137
|
-
}
|
|
2138
|
-
| {
|
|
2139
|
-
type: StrictExtract_2<
|
|
2140
|
-
| 'serialize'
|
|
2141
|
-
| 'serialization.failure'
|
|
2142
|
-
| 'serialization.success'
|
|
2143
|
-
| 'deserialize'
|
|
2144
|
-
| 'deserialization.failure'
|
|
2145
|
-
| 'deserialization.success'
|
|
2146
|
-
| 'split'
|
|
2147
|
-
| 'delete'
|
|
2148
|
-
| 'select'
|
|
2149
|
-
| 'annotation.add'
|
|
2150
|
-
| 'annotation.remove'
|
|
2151
|
-
| 'block.set'
|
|
2152
|
-
| 'block.unset'
|
|
2153
|
-
| 'decorator.add'
|
|
2154
|
-
| 'decorator.remove'
|
|
2155
|
-
| 'delete.backward'
|
|
2156
|
-
| 'delete.block'
|
|
2157
|
-
| 'delete.forward'
|
|
2158
|
-
| 'history.redo'
|
|
2159
|
-
| 'history.undo'
|
|
2160
|
-
| 'insert.inline object'
|
|
2161
|
-
| 'insert.block'
|
|
2162
|
-
| 'insert.span'
|
|
2163
|
-
| 'insert.text'
|
|
2164
|
-
| 'move.backward'
|
|
2165
|
-
| 'move.block'
|
|
2166
|
-
| 'move.forward'
|
|
2167
|
-
| 'annotation.toggle'
|
|
2168
|
-
| 'decorator.toggle'
|
|
2169
|
-
| 'delete.text'
|
|
2170
|
-
| 'insert.blocks'
|
|
2171
|
-
| 'insert.break'
|
|
2172
|
-
| 'insert.soft break'
|
|
2173
|
-
| 'list item.add'
|
|
2174
|
-
| 'list item.remove'
|
|
2175
|
-
| 'list item.toggle'
|
|
2176
|
-
| 'move.block down'
|
|
2177
|
-
| 'move.block up'
|
|
2178
|
-
| 'select.previous block'
|
|
2179
|
-
| 'select.next block'
|
|
2180
|
-
| 'style.add'
|
|
2181
|
-
| 'style.remove'
|
|
2182
|
-
| 'style.toggle',
|
|
2183
|
-
'move.backward'
|
|
2184
|
-
>
|
|
2185
|
-
distance: number
|
|
2186
|
-
}
|
|
2187
|
-
| {
|
|
2188
|
-
type: StrictExtract_2<
|
|
2189
|
-
| 'serialize'
|
|
2190
|
-
| 'serialization.failure'
|
|
2191
|
-
| 'serialization.success'
|
|
2192
|
-
| 'deserialize'
|
|
2193
|
-
| 'deserialization.failure'
|
|
2194
|
-
| 'deserialization.success'
|
|
2195
|
-
| 'split'
|
|
2196
|
-
| 'delete'
|
|
2197
|
-
| 'select'
|
|
2198
|
-
| 'annotation.add'
|
|
2199
|
-
| 'annotation.remove'
|
|
2200
|
-
| 'block.set'
|
|
2201
|
-
| 'block.unset'
|
|
2202
|
-
| 'decorator.add'
|
|
2203
|
-
| 'decorator.remove'
|
|
2204
|
-
| 'delete.backward'
|
|
2205
|
-
| 'delete.block'
|
|
2206
|
-
| 'delete.forward'
|
|
2207
|
-
| 'history.redo'
|
|
2208
|
-
| 'history.undo'
|
|
2209
|
-
| 'insert.inline object'
|
|
2210
|
-
| 'insert.block'
|
|
2211
|
-
| 'insert.span'
|
|
2212
|
-
| 'insert.text'
|
|
2213
|
-
| 'move.backward'
|
|
2214
|
-
| 'move.block'
|
|
2215
|
-
| 'move.forward'
|
|
2216
|
-
| 'annotation.toggle'
|
|
2217
|
-
| 'decorator.toggle'
|
|
2218
|
-
| 'delete.text'
|
|
2219
|
-
| 'insert.blocks'
|
|
2220
|
-
| 'insert.break'
|
|
2221
|
-
| 'insert.soft break'
|
|
2222
|
-
| 'list item.add'
|
|
2223
|
-
| 'list item.remove'
|
|
2224
|
-
| 'list item.toggle'
|
|
2225
|
-
| 'move.block down'
|
|
2226
|
-
| 'move.block up'
|
|
2227
|
-
| 'select.previous block'
|
|
2228
|
-
| 'select.next block'
|
|
2229
|
-
| 'style.add'
|
|
2230
|
-
| 'style.remove'
|
|
2231
|
-
| 'style.toggle',
|
|
2232
|
-
'move.block'
|
|
2233
|
-
>
|
|
2234
|
-
at: [KeyedSegment]
|
|
2235
|
-
to: [KeyedSegment]
|
|
2236
|
-
}
|
|
2237
|
-
| {
|
|
2238
|
-
type: StrictExtract_2<
|
|
2239
|
-
| 'serialize'
|
|
2240
|
-
| 'serialization.failure'
|
|
2241
|
-
| 'serialization.success'
|
|
2242
|
-
| 'deserialize'
|
|
2243
|
-
| 'deserialization.failure'
|
|
2244
|
-
| 'deserialization.success'
|
|
2245
|
-
| 'split'
|
|
2246
|
-
| 'delete'
|
|
2247
|
-
| 'select'
|
|
2248
|
-
| 'annotation.add'
|
|
2249
|
-
| 'annotation.remove'
|
|
2250
|
-
| 'block.set'
|
|
2251
|
-
| 'block.unset'
|
|
2252
|
-
| 'decorator.add'
|
|
2253
|
-
| 'decorator.remove'
|
|
2254
|
-
| 'delete.backward'
|
|
2255
|
-
| 'delete.block'
|
|
2256
|
-
| 'delete.forward'
|
|
2257
|
-
| 'history.redo'
|
|
2258
|
-
| 'history.undo'
|
|
2259
|
-
| 'insert.inline object'
|
|
2260
|
-
| 'insert.block'
|
|
2261
|
-
| 'insert.span'
|
|
2262
|
-
| 'insert.text'
|
|
2263
|
-
| 'move.backward'
|
|
2264
|
-
| 'move.block'
|
|
2265
|
-
| 'move.forward'
|
|
2266
|
-
| 'annotation.toggle'
|
|
2267
|
-
| 'decorator.toggle'
|
|
2268
|
-
| 'delete.text'
|
|
2269
|
-
| 'insert.blocks'
|
|
2270
|
-
| 'insert.break'
|
|
2271
|
-
| 'insert.soft break'
|
|
2272
|
-
| 'list item.add'
|
|
2273
|
-
| 'list item.remove'
|
|
2274
|
-
| 'list item.toggle'
|
|
2275
|
-
| 'move.block down'
|
|
2276
|
-
| 'move.block up'
|
|
2277
|
-
| 'select.previous block'
|
|
2278
|
-
| 'select.next block'
|
|
2279
|
-
| 'style.add'
|
|
2280
|
-
| 'style.remove'
|
|
2281
|
-
| 'style.toggle',
|
|
2282
|
-
'move.forward'
|
|
2283
|
-
>
|
|
2284
|
-
distance: number
|
|
2285
|
-
}
|
|
2286
|
-
| {
|
|
2287
|
-
type: StrictExtract_2<
|
|
2288
|
-
| 'serialize'
|
|
2289
|
-
| 'serialization.failure'
|
|
2290
|
-
| 'serialization.success'
|
|
2291
|
-
| 'deserialize'
|
|
2292
|
-
| 'deserialization.failure'
|
|
2293
|
-
| 'deserialization.success'
|
|
2294
|
-
| 'split'
|
|
2295
|
-
| 'delete'
|
|
2296
|
-
| 'select'
|
|
2297
|
-
| 'annotation.add'
|
|
2298
|
-
| 'annotation.remove'
|
|
2299
|
-
| 'block.set'
|
|
2300
|
-
| 'block.unset'
|
|
2301
|
-
| 'decorator.add'
|
|
2302
|
-
| 'decorator.remove'
|
|
2303
|
-
| 'delete.backward'
|
|
2304
|
-
| 'delete.block'
|
|
2305
|
-
| 'delete.forward'
|
|
2306
|
-
| 'history.redo'
|
|
2307
|
-
| 'history.undo'
|
|
2308
|
-
| 'insert.inline object'
|
|
2309
|
-
| 'insert.block'
|
|
2310
|
-
| 'insert.span'
|
|
2311
|
-
| 'insert.text'
|
|
2312
|
-
| 'move.backward'
|
|
2313
|
-
| 'move.block'
|
|
2314
|
-
| 'move.forward'
|
|
2315
|
-
| 'annotation.toggle'
|
|
2316
|
-
| 'decorator.toggle'
|
|
2317
|
-
| 'delete.text'
|
|
2318
|
-
| 'insert.blocks'
|
|
2319
|
-
| 'insert.break'
|
|
2320
|
-
| 'insert.soft break'
|
|
2321
|
-
| 'list item.add'
|
|
2322
|
-
| 'list item.remove'
|
|
2323
|
-
| 'list item.toggle'
|
|
2324
|
-
| 'move.block down'
|
|
2325
|
-
| 'move.block up'
|
|
2326
|
-
| 'select.previous block'
|
|
2327
|
-
| 'select.next block'
|
|
2328
|
-
| 'style.add'
|
|
2329
|
-
| 'style.remove'
|
|
2330
|
-
| 'style.toggle',
|
|
2331
|
-
'select'
|
|
2332
|
-
>
|
|
2333
|
-
at: EditorSelection
|
|
2334
|
-
}
|
|
2335
|
-
| {
|
|
2336
|
-
type: StrictExtract_2<
|
|
2337
|
-
| 'serialize'
|
|
2338
|
-
| 'serialization.failure'
|
|
2339
|
-
| 'serialization.success'
|
|
2340
|
-
| 'deserialize'
|
|
2341
|
-
| 'deserialization.failure'
|
|
2342
|
-
| 'deserialization.success'
|
|
2343
|
-
| 'split'
|
|
2344
|
-
| 'delete'
|
|
2345
|
-
| 'select'
|
|
2346
|
-
| 'annotation.add'
|
|
2347
|
-
| 'annotation.remove'
|
|
2348
|
-
| 'block.set'
|
|
2349
|
-
| 'block.unset'
|
|
2350
|
-
| 'decorator.add'
|
|
2351
|
-
| 'decorator.remove'
|
|
2352
|
-
| 'delete.backward'
|
|
2353
|
-
| 'delete.block'
|
|
2354
|
-
| 'delete.forward'
|
|
2355
|
-
| 'history.redo'
|
|
2356
|
-
| 'history.undo'
|
|
2357
|
-
| 'insert.inline object'
|
|
2358
|
-
| 'insert.block'
|
|
2359
|
-
| 'insert.span'
|
|
2360
|
-
| 'insert.text'
|
|
2361
|
-
| 'move.backward'
|
|
2362
|
-
| 'move.block'
|
|
2363
|
-
| 'move.forward'
|
|
2364
|
-
| 'annotation.toggle'
|
|
2365
|
-
| 'decorator.toggle'
|
|
2366
|
-
| 'delete.text'
|
|
2367
|
-
| 'insert.blocks'
|
|
2368
|
-
| 'insert.break'
|
|
2369
|
-
| 'insert.soft break'
|
|
2370
|
-
| 'list item.add'
|
|
2371
|
-
| 'list item.remove'
|
|
2372
|
-
| 'list item.toggle'
|
|
2373
|
-
| 'move.block down'
|
|
2374
|
-
| 'move.block up'
|
|
2375
|
-
| 'select.previous block'
|
|
2376
|
-
| 'select.next block'
|
|
2377
|
-
| 'style.add'
|
|
2378
|
-
| 'style.remove'
|
|
2379
|
-
| 'style.toggle',
|
|
2380
|
-
'annotation.toggle'
|
|
2381
|
-
>
|
|
2382
|
-
annotation: {
|
|
2383
|
-
name: string
|
|
2384
|
-
value: {
|
|
2385
|
-
[prop: string]: unknown
|
|
2386
|
-
}
|
|
2387
|
-
}
|
|
2388
|
-
}
|
|
2389
|
-
| {
|
|
2390
|
-
type: StrictExtract_2<
|
|
2391
|
-
| 'serialize'
|
|
2392
|
-
| 'serialization.failure'
|
|
2393
|
-
| 'serialization.success'
|
|
2394
|
-
| 'deserialize'
|
|
2395
|
-
| 'deserialization.failure'
|
|
2396
|
-
| 'deserialization.success'
|
|
2397
|
-
| 'split'
|
|
2398
|
-
| 'delete'
|
|
2399
|
-
| 'select'
|
|
2400
|
-
| 'annotation.add'
|
|
2401
|
-
| 'annotation.remove'
|
|
2402
|
-
| 'block.set'
|
|
2403
|
-
| 'block.unset'
|
|
2404
|
-
| 'decorator.add'
|
|
2405
|
-
| 'decorator.remove'
|
|
2406
|
-
| 'delete.backward'
|
|
2407
|
-
| 'delete.block'
|
|
2408
|
-
| 'delete.forward'
|
|
2409
|
-
| 'history.redo'
|
|
2410
|
-
| 'history.undo'
|
|
2411
|
-
| 'insert.inline object'
|
|
2412
|
-
| 'insert.block'
|
|
2413
|
-
| 'insert.span'
|
|
2414
|
-
| 'insert.text'
|
|
2415
|
-
| 'move.backward'
|
|
2416
|
-
| 'move.block'
|
|
2417
|
-
| 'move.forward'
|
|
2418
|
-
| 'annotation.toggle'
|
|
2419
|
-
| 'decorator.toggle'
|
|
2420
|
-
| 'delete.text'
|
|
2421
|
-
| 'insert.blocks'
|
|
2422
|
-
| 'insert.break'
|
|
2423
|
-
| 'insert.soft break'
|
|
2424
|
-
| 'list item.add'
|
|
2425
|
-
| 'list item.remove'
|
|
2426
|
-
| 'list item.toggle'
|
|
2427
|
-
| 'move.block down'
|
|
2428
|
-
| 'move.block up'
|
|
2429
|
-
| 'select.previous block'
|
|
2430
|
-
| 'select.next block'
|
|
2431
|
-
| 'style.add'
|
|
2432
|
-
| 'style.remove'
|
|
2433
|
-
| 'style.toggle',
|
|
2434
|
-
'decorator.toggle'
|
|
2435
|
-
>
|
|
2436
|
-
decorator: string
|
|
2437
|
-
at?: {
|
|
2438
|
-
anchor: BlockOffset_2
|
|
2439
|
-
focus: BlockOffset_2
|
|
2440
|
-
}
|
|
2441
|
-
}
|
|
2442
|
-
| {
|
|
2443
|
-
type: StrictExtract_2<
|
|
2444
|
-
| 'serialize'
|
|
2445
|
-
| 'serialization.failure'
|
|
2446
|
-
| 'serialization.success'
|
|
2447
|
-
| 'deserialize'
|
|
2448
|
-
| 'deserialization.failure'
|
|
2449
|
-
| 'deserialization.success'
|
|
2450
|
-
| 'split'
|
|
2451
|
-
| 'delete'
|
|
2452
|
-
| 'select'
|
|
2453
|
-
| 'annotation.add'
|
|
2454
|
-
| 'annotation.remove'
|
|
2455
|
-
| 'block.set'
|
|
2456
|
-
| 'block.unset'
|
|
2457
|
-
| 'decorator.add'
|
|
2458
|
-
| 'decorator.remove'
|
|
2459
|
-
| 'delete.backward'
|
|
2460
|
-
| 'delete.block'
|
|
2461
|
-
| 'delete.forward'
|
|
2462
|
-
| 'history.redo'
|
|
2463
|
-
| 'history.undo'
|
|
2464
|
-
| 'insert.inline object'
|
|
2465
|
-
| 'insert.block'
|
|
2466
|
-
| 'insert.span'
|
|
2467
|
-
| 'insert.text'
|
|
2468
|
-
| 'move.backward'
|
|
2469
|
-
| 'move.block'
|
|
2470
|
-
| 'move.forward'
|
|
2471
|
-
| 'annotation.toggle'
|
|
2472
|
-
| 'decorator.toggle'
|
|
2473
|
-
| 'delete.text'
|
|
2474
|
-
| 'insert.blocks'
|
|
2475
|
-
| 'insert.break'
|
|
2476
|
-
| 'insert.soft break'
|
|
2477
|
-
| 'list item.add'
|
|
2478
|
-
| 'list item.remove'
|
|
2479
|
-
| 'list item.toggle'
|
|
2480
|
-
| 'move.block down'
|
|
2481
|
-
| 'move.block up'
|
|
2482
|
-
| 'select.previous block'
|
|
2483
|
-
| 'select.next block'
|
|
2484
|
-
| 'style.add'
|
|
2485
|
-
| 'style.remove'
|
|
2486
|
-
| 'style.toggle',
|
|
2487
|
-
'delete.text'
|
|
2488
|
-
>
|
|
2489
|
-
at: {
|
|
2490
|
-
anchor: BlockOffset_2
|
|
2491
|
-
focus: BlockOffset_2
|
|
2492
|
-
}
|
|
2493
|
-
}
|
|
2494
|
-
| {
|
|
2495
|
-
type: StrictExtract_2<
|
|
2496
|
-
| 'serialize'
|
|
2497
|
-
| 'serialization.failure'
|
|
2498
|
-
| 'serialization.success'
|
|
2499
|
-
| 'deserialize'
|
|
2500
|
-
| 'deserialization.failure'
|
|
2501
|
-
| 'deserialization.success'
|
|
2502
|
-
| 'split'
|
|
2503
|
-
| 'delete'
|
|
2504
|
-
| 'select'
|
|
2505
|
-
| 'annotation.add'
|
|
2506
|
-
| 'annotation.remove'
|
|
2507
|
-
| 'block.set'
|
|
2508
|
-
| 'block.unset'
|
|
2509
|
-
| 'decorator.add'
|
|
2510
|
-
| 'decorator.remove'
|
|
2511
|
-
| 'delete.backward'
|
|
2512
|
-
| 'delete.block'
|
|
2513
|
-
| 'delete.forward'
|
|
2514
|
-
| 'history.redo'
|
|
2515
|
-
| 'history.undo'
|
|
2516
|
-
| 'insert.inline object'
|
|
2517
|
-
| 'insert.block'
|
|
2518
|
-
| 'insert.span'
|
|
2519
|
-
| 'insert.text'
|
|
2520
|
-
| 'move.backward'
|
|
2521
|
-
| 'move.block'
|
|
2522
|
-
| 'move.forward'
|
|
2523
|
-
| 'annotation.toggle'
|
|
2524
|
-
| 'decorator.toggle'
|
|
2525
|
-
| 'delete.text'
|
|
2526
|
-
| 'insert.blocks'
|
|
2527
|
-
| 'insert.break'
|
|
2528
|
-
| 'insert.soft break'
|
|
2529
|
-
| 'list item.add'
|
|
2530
|
-
| 'list item.remove'
|
|
2531
|
-
| 'list item.toggle'
|
|
2532
|
-
| 'move.block down'
|
|
2533
|
-
| 'move.block up'
|
|
2534
|
-
| 'select.previous block'
|
|
2535
|
-
| 'select.next block'
|
|
2536
|
-
| 'style.add'
|
|
2537
|
-
| 'style.remove'
|
|
2538
|
-
| 'style.toggle',
|
|
2539
|
-
'deserialize'
|
|
2540
|
-
>
|
|
2541
|
-
originEvent:
|
|
2542
|
-
| PickFromUnion_2<
|
|
2543
|
-
NativeBehaviorEvent_2,
|
|
2544
|
-
'type',
|
|
2545
|
-
'drag.drop' | 'clipboard.paste'
|
|
2546
|
-
>
|
|
2547
|
-
| InputBehaviorEvent_2
|
|
2548
|
-
}
|
|
2549
|
-
| {
|
|
2550
|
-
type: StrictExtract_2<
|
|
2551
|
-
| 'serialize'
|
|
2552
|
-
| 'serialization.failure'
|
|
2553
|
-
| 'serialization.success'
|
|
2554
|
-
| 'deserialize'
|
|
2555
|
-
| 'deserialization.failure'
|
|
2556
|
-
| 'deserialization.success'
|
|
2557
|
-
| 'split'
|
|
2558
|
-
| 'delete'
|
|
2559
|
-
| 'select'
|
|
2560
|
-
| 'annotation.add'
|
|
2561
|
-
| 'annotation.remove'
|
|
2562
|
-
| 'block.set'
|
|
2563
|
-
| 'block.unset'
|
|
2564
|
-
| 'decorator.add'
|
|
2565
|
-
| 'decorator.remove'
|
|
2566
|
-
| 'delete.backward'
|
|
2567
|
-
| 'delete.block'
|
|
2568
|
-
| 'delete.forward'
|
|
2569
|
-
| 'history.redo'
|
|
2570
|
-
| 'history.undo'
|
|
2571
|
-
| 'insert.inline object'
|
|
2572
|
-
| 'insert.block'
|
|
2573
|
-
| 'insert.span'
|
|
2574
|
-
| 'insert.text'
|
|
2575
|
-
| 'move.backward'
|
|
2576
|
-
| 'move.block'
|
|
2577
|
-
| 'move.forward'
|
|
2578
|
-
| 'annotation.toggle'
|
|
2579
|
-
| 'decorator.toggle'
|
|
2580
|
-
| 'delete.text'
|
|
2581
|
-
| 'insert.blocks'
|
|
2582
|
-
| 'insert.break'
|
|
2583
|
-
| 'insert.soft break'
|
|
2584
|
-
| 'list item.add'
|
|
2585
|
-
| 'list item.remove'
|
|
2586
|
-
| 'list item.toggle'
|
|
2587
|
-
| 'move.block down'
|
|
2588
|
-
| 'move.block up'
|
|
2589
|
-
| 'select.previous block'
|
|
2590
|
-
| 'select.next block'
|
|
2591
|
-
| 'style.add'
|
|
2592
|
-
| 'style.remove'
|
|
2593
|
-
| 'style.toggle',
|
|
2594
|
-
'serialize'
|
|
2595
|
-
>
|
|
2596
|
-
originEvent: PickFromUnion_2<
|
|
2597
|
-
NativeBehaviorEvent_2,
|
|
2598
|
-
'type',
|
|
2599
|
-
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
2600
|
-
>
|
|
2601
|
-
}
|
|
2602
|
-
| {
|
|
2603
|
-
type: StrictExtract_2<
|
|
2604
|
-
| 'serialize'
|
|
2605
|
-
| 'serialization.failure'
|
|
2606
|
-
| 'serialization.success'
|
|
2607
|
-
| 'deserialize'
|
|
2608
|
-
| 'deserialization.failure'
|
|
2609
|
-
| 'deserialization.success'
|
|
2610
|
-
| 'split'
|
|
2611
|
-
| 'delete'
|
|
2612
|
-
| 'select'
|
|
2613
|
-
| 'annotation.add'
|
|
2614
|
-
| 'annotation.remove'
|
|
2615
|
-
| 'block.set'
|
|
2616
|
-
| 'block.unset'
|
|
2617
|
-
| 'decorator.add'
|
|
2618
|
-
| 'decorator.remove'
|
|
2619
|
-
| 'delete.backward'
|
|
2620
|
-
| 'delete.block'
|
|
2621
|
-
| 'delete.forward'
|
|
2622
|
-
| 'history.redo'
|
|
2623
|
-
| 'history.undo'
|
|
2624
|
-
| 'insert.inline object'
|
|
2625
|
-
| 'insert.block'
|
|
2626
|
-
| 'insert.span'
|
|
2627
|
-
| 'insert.text'
|
|
2628
|
-
| 'move.backward'
|
|
2629
|
-
| 'move.block'
|
|
2630
|
-
| 'move.forward'
|
|
2631
|
-
| 'annotation.toggle'
|
|
2632
|
-
| 'decorator.toggle'
|
|
2633
|
-
| 'delete.text'
|
|
2634
|
-
| 'insert.blocks'
|
|
2635
|
-
| 'insert.break'
|
|
2636
|
-
| 'insert.soft break'
|
|
2637
|
-
| 'list item.add'
|
|
2638
|
-
| 'list item.remove'
|
|
2639
|
-
| 'list item.toggle'
|
|
2640
|
-
| 'move.block down'
|
|
2641
|
-
| 'move.block up'
|
|
2642
|
-
| 'select.previous block'
|
|
2643
|
-
| 'select.next block'
|
|
2644
|
-
| 'style.add'
|
|
2645
|
-
| 'style.remove'
|
|
2646
|
-
| 'style.toggle',
|
|
2647
|
-
'deserialization.success'
|
|
2648
|
-
>
|
|
2649
|
-
mimeType: MIMEType_2
|
|
2650
|
-
data: Array<PortableTextBlock>
|
|
2651
|
-
originEvent:
|
|
2652
|
-
| PickFromUnion_2<
|
|
2653
|
-
NativeBehaviorEvent_2,
|
|
2654
|
-
'type',
|
|
2655
|
-
'drag.drop' | 'clipboard.paste'
|
|
2656
|
-
>
|
|
2657
|
-
| InputBehaviorEvent_2
|
|
2658
|
-
}
|
|
2659
|
-
| {
|
|
2660
|
-
type: StrictExtract_2<
|
|
2661
|
-
| 'serialize'
|
|
2662
|
-
| 'serialization.failure'
|
|
2663
|
-
| 'serialization.success'
|
|
2664
|
-
| 'deserialize'
|
|
2665
|
-
| 'deserialization.failure'
|
|
2666
|
-
| 'deserialization.success'
|
|
2667
|
-
| 'split'
|
|
2668
|
-
| 'delete'
|
|
2669
|
-
| 'select'
|
|
2670
|
-
| 'annotation.add'
|
|
2671
|
-
| 'annotation.remove'
|
|
2672
|
-
| 'block.set'
|
|
2673
|
-
| 'block.unset'
|
|
2674
|
-
| 'decorator.add'
|
|
2675
|
-
| 'decorator.remove'
|
|
2676
|
-
| 'delete.backward'
|
|
2677
|
-
| 'delete.block'
|
|
2678
|
-
| 'delete.forward'
|
|
2679
|
-
| 'history.redo'
|
|
2680
|
-
| 'history.undo'
|
|
2681
|
-
| 'insert.inline object'
|
|
2682
|
-
| 'insert.block'
|
|
2683
|
-
| 'insert.span'
|
|
2684
|
-
| 'insert.text'
|
|
2685
|
-
| 'move.backward'
|
|
2686
|
-
| 'move.block'
|
|
2687
|
-
| 'move.forward'
|
|
2688
|
-
| 'annotation.toggle'
|
|
2689
|
-
| 'decorator.toggle'
|
|
2690
|
-
| 'delete.text'
|
|
2691
|
-
| 'insert.blocks'
|
|
2692
|
-
| 'insert.break'
|
|
2693
|
-
| 'insert.soft break'
|
|
2694
|
-
| 'list item.add'
|
|
2695
|
-
| 'list item.remove'
|
|
2696
|
-
| 'list item.toggle'
|
|
2697
|
-
| 'move.block down'
|
|
2698
|
-
| 'move.block up'
|
|
2699
|
-
| 'select.previous block'
|
|
2700
|
-
| 'select.next block'
|
|
2701
|
-
| 'style.add'
|
|
2702
|
-
| 'style.remove'
|
|
2703
|
-
| 'style.toggle',
|
|
2704
|
-
'deserialization.failure'
|
|
2705
|
-
>
|
|
2706
|
-
mimeType: MIMEType_2
|
|
2707
|
-
reason: string
|
|
2708
|
-
originEvent:
|
|
2709
|
-
| PickFromUnion_2<
|
|
2710
|
-
NativeBehaviorEvent_2,
|
|
2711
|
-
'type',
|
|
2712
|
-
'drag.drop' | 'clipboard.paste'
|
|
2713
|
-
>
|
|
2714
|
-
| InputBehaviorEvent_2
|
|
2715
|
-
}
|
|
2716
|
-
| {
|
|
2717
|
-
type: StrictExtract_2<
|
|
2718
|
-
| 'serialize'
|
|
2719
|
-
| 'serialization.failure'
|
|
2720
|
-
| 'serialization.success'
|
|
2721
|
-
| 'deserialize'
|
|
2722
|
-
| 'deserialization.failure'
|
|
2723
|
-
| 'deserialization.success'
|
|
2724
|
-
| 'split'
|
|
2725
|
-
| 'delete'
|
|
2726
|
-
| 'select'
|
|
2727
|
-
| 'annotation.add'
|
|
2728
|
-
| 'annotation.remove'
|
|
2729
|
-
| 'block.set'
|
|
2730
|
-
| 'block.unset'
|
|
2731
|
-
| 'decorator.add'
|
|
2732
|
-
| 'decorator.remove'
|
|
2733
|
-
| 'delete.backward'
|
|
2734
|
-
| 'delete.block'
|
|
2735
|
-
| 'delete.forward'
|
|
2736
|
-
| 'history.redo'
|
|
2737
|
-
| 'history.undo'
|
|
2738
|
-
| 'insert.inline object'
|
|
2739
|
-
| 'insert.block'
|
|
2740
|
-
| 'insert.span'
|
|
2741
|
-
| 'insert.text'
|
|
2742
|
-
| 'move.backward'
|
|
2743
|
-
| 'move.block'
|
|
2744
|
-
| 'move.forward'
|
|
2745
|
-
| 'annotation.toggle'
|
|
2746
|
-
| 'decorator.toggle'
|
|
2747
|
-
| 'delete.text'
|
|
2748
|
-
| 'insert.blocks'
|
|
2749
|
-
| 'insert.break'
|
|
2750
|
-
| 'insert.soft break'
|
|
2751
|
-
| 'list item.add'
|
|
2752
|
-
| 'list item.remove'
|
|
2753
|
-
| 'list item.toggle'
|
|
2754
|
-
| 'move.block down'
|
|
2755
|
-
| 'move.block up'
|
|
2756
|
-
| 'select.previous block'
|
|
2757
|
-
| 'select.next block'
|
|
2758
|
-
| 'style.add'
|
|
2759
|
-
| 'style.remove'
|
|
2760
|
-
| 'style.toggle',
|
|
2761
|
-
'serialization.success'
|
|
2762
|
-
>
|
|
2763
|
-
mimeType: MIMEType_2
|
|
2764
|
-
data: string
|
|
2765
|
-
originEvent: PickFromUnion_2<
|
|
2766
|
-
NativeBehaviorEvent_2,
|
|
2767
|
-
'type',
|
|
2768
|
-
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
2769
|
-
>
|
|
2770
|
-
}
|
|
2771
|
-
| {
|
|
2772
|
-
type: StrictExtract_2<
|
|
2773
|
-
| 'serialize'
|
|
2774
|
-
| 'serialization.failure'
|
|
2775
|
-
| 'serialization.success'
|
|
2776
|
-
| 'deserialize'
|
|
2777
|
-
| 'deserialization.failure'
|
|
2778
|
-
| 'deserialization.success'
|
|
2779
|
-
| 'split'
|
|
2780
|
-
| 'delete'
|
|
2781
|
-
| 'select'
|
|
2782
|
-
| 'annotation.add'
|
|
2783
|
-
| 'annotation.remove'
|
|
2784
|
-
| 'block.set'
|
|
2785
|
-
| 'block.unset'
|
|
2786
|
-
| 'decorator.add'
|
|
2787
|
-
| 'decorator.remove'
|
|
2788
|
-
| 'delete.backward'
|
|
2789
|
-
| 'delete.block'
|
|
2790
|
-
| 'delete.forward'
|
|
2791
|
-
| 'history.redo'
|
|
2792
|
-
| 'history.undo'
|
|
2793
|
-
| 'insert.inline object'
|
|
2794
|
-
| 'insert.block'
|
|
2795
|
-
| 'insert.span'
|
|
2796
|
-
| 'insert.text'
|
|
2797
|
-
| 'move.backward'
|
|
2798
|
-
| 'move.block'
|
|
2799
|
-
| 'move.forward'
|
|
2800
|
-
| 'annotation.toggle'
|
|
2801
|
-
| 'decorator.toggle'
|
|
2802
|
-
| 'delete.text'
|
|
2803
|
-
| 'insert.blocks'
|
|
2804
|
-
| 'insert.break'
|
|
2805
|
-
| 'insert.soft break'
|
|
2806
|
-
| 'list item.add'
|
|
2807
|
-
| 'list item.remove'
|
|
2808
|
-
| 'list item.toggle'
|
|
2809
|
-
| 'move.block down'
|
|
2810
|
-
| 'move.block up'
|
|
2811
|
-
| 'select.previous block'
|
|
2812
|
-
| 'select.next block'
|
|
2813
|
-
| 'style.add'
|
|
2814
|
-
| 'style.remove'
|
|
2815
|
-
| 'style.toggle',
|
|
2816
|
-
'serialization.failure'
|
|
2817
|
-
>
|
|
2818
|
-
mimeType: MIMEType_2
|
|
2819
|
-
reason: string
|
|
2820
|
-
originEvent: PickFromUnion_2<
|
|
2821
|
-
NativeBehaviorEvent_2,
|
|
2822
|
-
'type',
|
|
2823
|
-
'clipboard.copy' | 'clipboard.cut' | 'drag.dragstart'
|
|
2824
|
-
>
|
|
2825
|
-
}
|
|
2826
|
-
| {
|
|
2827
|
-
type: StrictExtract_2<
|
|
2828
|
-
| 'serialize'
|
|
2829
|
-
| 'serialization.failure'
|
|
2830
|
-
| 'serialization.success'
|
|
2831
|
-
| 'deserialize'
|
|
2832
|
-
| 'deserialization.failure'
|
|
2833
|
-
| 'deserialization.success'
|
|
2834
|
-
| 'split'
|
|
2835
|
-
| 'delete'
|
|
2836
|
-
| 'select'
|
|
2837
|
-
| 'annotation.add'
|
|
2838
|
-
| 'annotation.remove'
|
|
2839
|
-
| 'block.set'
|
|
2840
|
-
| 'block.unset'
|
|
2841
|
-
| 'decorator.add'
|
|
2842
|
-
| 'decorator.remove'
|
|
2843
|
-
| 'delete.backward'
|
|
2844
|
-
| 'delete.block'
|
|
2845
|
-
| 'delete.forward'
|
|
2846
|
-
| 'history.redo'
|
|
2847
|
-
| 'history.undo'
|
|
2848
|
-
| 'insert.inline object'
|
|
2849
|
-
| 'insert.block'
|
|
2850
|
-
| 'insert.span'
|
|
2851
|
-
| 'insert.text'
|
|
2852
|
-
| 'move.backward'
|
|
2853
|
-
| 'move.block'
|
|
2854
|
-
| 'move.forward'
|
|
2855
|
-
| 'annotation.toggle'
|
|
2856
|
-
| 'decorator.toggle'
|
|
2857
|
-
| 'delete.text'
|
|
2858
|
-
| 'insert.blocks'
|
|
2859
|
-
| 'insert.break'
|
|
2860
|
-
| 'insert.soft break'
|
|
2861
|
-
| 'list item.add'
|
|
2862
|
-
| 'list item.remove'
|
|
2863
|
-
| 'list item.toggle'
|
|
2864
|
-
| 'move.block down'
|
|
2865
|
-
| 'move.block up'
|
|
2866
|
-
| 'select.previous block'
|
|
2867
|
-
| 'select.next block'
|
|
2868
|
-
| 'style.add'
|
|
2869
|
-
| 'style.remove'
|
|
2870
|
-
| 'style.toggle',
|
|
2871
|
-
'insert.blocks'
|
|
2872
|
-
>
|
|
2873
|
-
blocks: Array<BlockWithOptionalKey_2>
|
|
2874
|
-
placement: InsertPlacement_2
|
|
2875
|
-
}
|
|
2876
|
-
| {
|
|
2877
|
-
type: StrictExtract_2<
|
|
2878
|
-
| 'serialize'
|
|
2879
|
-
| 'serialization.failure'
|
|
2880
|
-
| 'serialization.success'
|
|
2881
|
-
| 'deserialize'
|
|
2882
|
-
| 'deserialization.failure'
|
|
2883
|
-
| 'deserialization.success'
|
|
2884
|
-
| 'split'
|
|
2885
|
-
| 'delete'
|
|
2886
|
-
| 'select'
|
|
2887
|
-
| 'annotation.add'
|
|
2888
|
-
| 'annotation.remove'
|
|
2889
|
-
| 'block.set'
|
|
2890
|
-
| 'block.unset'
|
|
2891
|
-
| 'decorator.add'
|
|
2892
|
-
| 'decorator.remove'
|
|
2893
|
-
| 'delete.backward'
|
|
2894
|
-
| 'delete.block'
|
|
2895
|
-
| 'delete.forward'
|
|
2896
|
-
| 'history.redo'
|
|
2897
|
-
| 'history.undo'
|
|
2898
|
-
| 'insert.inline object'
|
|
2899
|
-
| 'insert.block'
|
|
2900
|
-
| 'insert.span'
|
|
2901
|
-
| 'insert.text'
|
|
2902
|
-
| 'move.backward'
|
|
2903
|
-
| 'move.block'
|
|
2904
|
-
| 'move.forward'
|
|
2905
|
-
| 'annotation.toggle'
|
|
2906
|
-
| 'decorator.toggle'
|
|
2907
|
-
| 'delete.text'
|
|
2908
|
-
| 'insert.blocks'
|
|
2909
|
-
| 'insert.break'
|
|
2910
|
-
| 'insert.soft break'
|
|
2911
|
-
| 'list item.add'
|
|
2912
|
-
| 'list item.remove'
|
|
2913
|
-
| 'list item.toggle'
|
|
2914
|
-
| 'move.block down'
|
|
2915
|
-
| 'move.block up'
|
|
2916
|
-
| 'select.previous block'
|
|
2917
|
-
| 'select.next block'
|
|
2918
|
-
| 'style.add'
|
|
2919
|
-
| 'style.remove'
|
|
2920
|
-
| 'style.toggle',
|
|
2921
|
-
'insert.break'
|
|
2922
|
-
>
|
|
2923
|
-
}
|
|
2924
|
-
| {
|
|
2925
|
-
type: StrictExtract_2<
|
|
2926
|
-
| 'serialize'
|
|
2927
|
-
| 'serialization.failure'
|
|
2928
|
-
| 'serialization.success'
|
|
2929
|
-
| 'deserialize'
|
|
2930
|
-
| 'deserialization.failure'
|
|
2931
|
-
| 'deserialization.success'
|
|
2932
|
-
| 'split'
|
|
2933
|
-
| 'delete'
|
|
2934
|
-
| 'select'
|
|
2935
|
-
| 'annotation.add'
|
|
2936
|
-
| 'annotation.remove'
|
|
2937
|
-
| 'block.set'
|
|
2938
|
-
| 'block.unset'
|
|
2939
|
-
| 'decorator.add'
|
|
2940
|
-
| 'decorator.remove'
|
|
2941
|
-
| 'delete.backward'
|
|
2942
|
-
| 'delete.block'
|
|
2943
|
-
| 'delete.forward'
|
|
2944
|
-
| 'history.redo'
|
|
2945
|
-
| 'history.undo'
|
|
2946
|
-
| 'insert.inline object'
|
|
2947
|
-
| 'insert.block'
|
|
2948
|
-
| 'insert.span'
|
|
2949
|
-
| 'insert.text'
|
|
2950
|
-
| 'move.backward'
|
|
2951
|
-
| 'move.block'
|
|
2952
|
-
| 'move.forward'
|
|
2953
|
-
| 'annotation.toggle'
|
|
2954
|
-
| 'decorator.toggle'
|
|
2955
|
-
| 'delete.text'
|
|
2956
|
-
| 'insert.blocks'
|
|
2957
|
-
| 'insert.break'
|
|
2958
|
-
| 'insert.soft break'
|
|
2959
|
-
| 'list item.add'
|
|
2960
|
-
| 'list item.remove'
|
|
2961
|
-
| 'list item.toggle'
|
|
2962
|
-
| 'move.block down'
|
|
2963
|
-
| 'move.block up'
|
|
2964
|
-
| 'select.previous block'
|
|
2965
|
-
| 'select.next block'
|
|
2966
|
-
| 'style.add'
|
|
2967
|
-
| 'style.remove'
|
|
2968
|
-
| 'style.toggle',
|
|
2969
|
-
'insert.soft break'
|
|
2970
|
-
>
|
|
2971
|
-
}
|
|
2972
|
-
| {
|
|
2973
|
-
type: StrictExtract_2<
|
|
2974
|
-
| 'serialize'
|
|
2975
|
-
| 'serialization.failure'
|
|
2976
|
-
| 'serialization.success'
|
|
2977
|
-
| 'deserialize'
|
|
2978
|
-
| 'deserialization.failure'
|
|
2979
|
-
| 'deserialization.success'
|
|
2980
|
-
| 'split'
|
|
2981
|
-
| 'delete'
|
|
2982
|
-
| 'select'
|
|
2983
|
-
| 'annotation.add'
|
|
2984
|
-
| 'annotation.remove'
|
|
2985
|
-
| 'block.set'
|
|
2986
|
-
| 'block.unset'
|
|
2987
|
-
| 'decorator.add'
|
|
2988
|
-
| 'decorator.remove'
|
|
2989
|
-
| 'delete.backward'
|
|
2990
|
-
| 'delete.block'
|
|
2991
|
-
| 'delete.forward'
|
|
2992
|
-
| 'history.redo'
|
|
2993
|
-
| 'history.undo'
|
|
2994
|
-
| 'insert.inline object'
|
|
2995
|
-
| 'insert.block'
|
|
2996
|
-
| 'insert.span'
|
|
2997
|
-
| 'insert.text'
|
|
2998
|
-
| 'move.backward'
|
|
2999
|
-
| 'move.block'
|
|
3000
|
-
| 'move.forward'
|
|
3001
|
-
| 'annotation.toggle'
|
|
3002
|
-
| 'decorator.toggle'
|
|
3003
|
-
| 'delete.text'
|
|
3004
|
-
| 'insert.blocks'
|
|
3005
|
-
| 'insert.break'
|
|
3006
|
-
| 'insert.soft break'
|
|
3007
|
-
| 'list item.add'
|
|
3008
|
-
| 'list item.remove'
|
|
3009
|
-
| 'list item.toggle'
|
|
3010
|
-
| 'move.block down'
|
|
3011
|
-
| 'move.block up'
|
|
3012
|
-
| 'select.previous block'
|
|
3013
|
-
| 'select.next block'
|
|
3014
|
-
| 'style.add'
|
|
3015
|
-
| 'style.remove'
|
|
3016
|
-
| 'style.toggle',
|
|
3017
|
-
'list item.add'
|
|
3018
|
-
>
|
|
3019
|
-
listItem: string
|
|
3020
|
-
}
|
|
3021
|
-
| {
|
|
3022
|
-
type: StrictExtract_2<
|
|
3023
|
-
| 'serialize'
|
|
3024
|
-
| 'serialization.failure'
|
|
3025
|
-
| 'serialization.success'
|
|
3026
|
-
| 'deserialize'
|
|
3027
|
-
| 'deserialization.failure'
|
|
3028
|
-
| 'deserialization.success'
|
|
3029
|
-
| 'split'
|
|
3030
|
-
| 'delete'
|
|
3031
|
-
| 'select'
|
|
3032
|
-
| 'annotation.add'
|
|
3033
|
-
| 'annotation.remove'
|
|
3034
|
-
| 'block.set'
|
|
3035
|
-
| 'block.unset'
|
|
3036
|
-
| 'decorator.add'
|
|
3037
|
-
| 'decorator.remove'
|
|
3038
|
-
| 'delete.backward'
|
|
3039
|
-
| 'delete.block'
|
|
3040
|
-
| 'delete.forward'
|
|
3041
|
-
| 'history.redo'
|
|
3042
|
-
| 'history.undo'
|
|
3043
|
-
| 'insert.inline object'
|
|
3044
|
-
| 'insert.block'
|
|
3045
|
-
| 'insert.span'
|
|
3046
|
-
| 'insert.text'
|
|
3047
|
-
| 'move.backward'
|
|
3048
|
-
| 'move.block'
|
|
3049
|
-
| 'move.forward'
|
|
3050
|
-
| 'annotation.toggle'
|
|
3051
|
-
| 'decorator.toggle'
|
|
3052
|
-
| 'delete.text'
|
|
3053
|
-
| 'insert.blocks'
|
|
3054
|
-
| 'insert.break'
|
|
3055
|
-
| 'insert.soft break'
|
|
3056
|
-
| 'list item.add'
|
|
3057
|
-
| 'list item.remove'
|
|
3058
|
-
| 'list item.toggle'
|
|
3059
|
-
| 'move.block down'
|
|
3060
|
-
| 'move.block up'
|
|
3061
|
-
| 'select.previous block'
|
|
3062
|
-
| 'select.next block'
|
|
3063
|
-
| 'style.add'
|
|
3064
|
-
| 'style.remove'
|
|
3065
|
-
| 'style.toggle',
|
|
3066
|
-
'list item.remove'
|
|
3067
|
-
>
|
|
3068
|
-
listItem: string
|
|
3069
|
-
}
|
|
3070
|
-
| {
|
|
3071
|
-
type: StrictExtract_2<
|
|
3072
|
-
| 'serialize'
|
|
3073
|
-
| 'serialization.failure'
|
|
3074
|
-
| 'serialization.success'
|
|
3075
|
-
| 'deserialize'
|
|
3076
|
-
| 'deserialization.failure'
|
|
3077
|
-
| 'deserialization.success'
|
|
3078
|
-
| 'split'
|
|
3079
|
-
| 'delete'
|
|
3080
|
-
| 'select'
|
|
3081
|
-
| 'annotation.add'
|
|
3082
|
-
| 'annotation.remove'
|
|
3083
|
-
| 'block.set'
|
|
3084
|
-
| 'block.unset'
|
|
3085
|
-
| 'decorator.add'
|
|
3086
|
-
| 'decorator.remove'
|
|
3087
|
-
| 'delete.backward'
|
|
3088
|
-
| 'delete.block'
|
|
3089
|
-
| 'delete.forward'
|
|
3090
|
-
| 'history.redo'
|
|
3091
|
-
| 'history.undo'
|
|
3092
|
-
| 'insert.inline object'
|
|
3093
|
-
| 'insert.block'
|
|
3094
|
-
| 'insert.span'
|
|
3095
|
-
| 'insert.text'
|
|
3096
|
-
| 'move.backward'
|
|
3097
|
-
| 'move.block'
|
|
3098
|
-
| 'move.forward'
|
|
3099
|
-
| 'annotation.toggle'
|
|
3100
|
-
| 'decorator.toggle'
|
|
3101
|
-
| 'delete.text'
|
|
3102
|
-
| 'insert.blocks'
|
|
3103
|
-
| 'insert.break'
|
|
3104
|
-
| 'insert.soft break'
|
|
3105
|
-
| 'list item.add'
|
|
3106
|
-
| 'list item.remove'
|
|
3107
|
-
| 'list item.toggle'
|
|
3108
|
-
| 'move.block down'
|
|
3109
|
-
| 'move.block up'
|
|
3110
|
-
| 'select.previous block'
|
|
3111
|
-
| 'select.next block'
|
|
3112
|
-
| 'style.add'
|
|
3113
|
-
| 'style.remove'
|
|
3114
|
-
| 'style.toggle',
|
|
3115
|
-
'list item.toggle'
|
|
3116
|
-
>
|
|
3117
|
-
listItem: string
|
|
3118
|
-
}
|
|
3119
|
-
| {
|
|
3120
|
-
type: StrictExtract_2<
|
|
3121
|
-
| 'serialize'
|
|
3122
|
-
| 'serialization.failure'
|
|
3123
|
-
| 'serialization.success'
|
|
3124
|
-
| 'deserialize'
|
|
3125
|
-
| 'deserialization.failure'
|
|
3126
|
-
| 'deserialization.success'
|
|
3127
|
-
| 'split'
|
|
3128
|
-
| 'delete'
|
|
3129
|
-
| 'select'
|
|
3130
|
-
| 'annotation.add'
|
|
3131
|
-
| 'annotation.remove'
|
|
3132
|
-
| 'block.set'
|
|
3133
|
-
| 'block.unset'
|
|
3134
|
-
| 'decorator.add'
|
|
3135
|
-
| 'decorator.remove'
|
|
3136
|
-
| 'delete.backward'
|
|
3137
|
-
| 'delete.block'
|
|
3138
|
-
| 'delete.forward'
|
|
3139
|
-
| 'history.redo'
|
|
3140
|
-
| 'history.undo'
|
|
3141
|
-
| 'insert.inline object'
|
|
3142
|
-
| 'insert.block'
|
|
3143
|
-
| 'insert.span'
|
|
3144
|
-
| 'insert.text'
|
|
3145
|
-
| 'move.backward'
|
|
3146
|
-
| 'move.block'
|
|
3147
|
-
| 'move.forward'
|
|
3148
|
-
| 'annotation.toggle'
|
|
3149
|
-
| 'decorator.toggle'
|
|
3150
|
-
| 'delete.text'
|
|
3151
|
-
| 'insert.blocks'
|
|
3152
|
-
| 'insert.break'
|
|
3153
|
-
| 'insert.soft break'
|
|
3154
|
-
| 'list item.add'
|
|
3155
|
-
| 'list item.remove'
|
|
3156
|
-
| 'list item.toggle'
|
|
3157
|
-
| 'move.block down'
|
|
3158
|
-
| 'move.block up'
|
|
3159
|
-
| 'select.previous block'
|
|
3160
|
-
| 'select.next block'
|
|
3161
|
-
| 'style.add'
|
|
3162
|
-
| 'style.remove'
|
|
3163
|
-
| 'style.toggle',
|
|
3164
|
-
'move.block down'
|
|
3165
|
-
>
|
|
3166
|
-
at: [KeyedSegment]
|
|
3167
|
-
}
|
|
3168
|
-
| {
|
|
3169
|
-
type: StrictExtract_2<
|
|
3170
|
-
| 'serialize'
|
|
3171
|
-
| 'serialization.failure'
|
|
3172
|
-
| 'serialization.success'
|
|
3173
|
-
| 'deserialize'
|
|
3174
|
-
| 'deserialization.failure'
|
|
3175
|
-
| 'deserialization.success'
|
|
3176
|
-
| 'split'
|
|
3177
|
-
| 'delete'
|
|
3178
|
-
| 'select'
|
|
3179
|
-
| 'annotation.add'
|
|
3180
|
-
| 'annotation.remove'
|
|
3181
|
-
| 'block.set'
|
|
3182
|
-
| 'block.unset'
|
|
3183
|
-
| 'decorator.add'
|
|
3184
|
-
| 'decorator.remove'
|
|
3185
|
-
| 'delete.backward'
|
|
3186
|
-
| 'delete.block'
|
|
3187
|
-
| 'delete.forward'
|
|
3188
|
-
| 'history.redo'
|
|
3189
|
-
| 'history.undo'
|
|
3190
|
-
| 'insert.inline object'
|
|
3191
|
-
| 'insert.block'
|
|
3192
|
-
| 'insert.span'
|
|
3193
|
-
| 'insert.text'
|
|
3194
|
-
| 'move.backward'
|
|
3195
|
-
| 'move.block'
|
|
3196
|
-
| 'move.forward'
|
|
3197
|
-
| 'annotation.toggle'
|
|
3198
|
-
| 'decorator.toggle'
|
|
3199
|
-
| 'delete.text'
|
|
3200
|
-
| 'insert.blocks'
|
|
3201
|
-
| 'insert.break'
|
|
3202
|
-
| 'insert.soft break'
|
|
3203
|
-
| 'list item.add'
|
|
3204
|
-
| 'list item.remove'
|
|
3205
|
-
| 'list item.toggle'
|
|
3206
|
-
| 'move.block down'
|
|
3207
|
-
| 'move.block up'
|
|
3208
|
-
| 'select.previous block'
|
|
3209
|
-
| 'select.next block'
|
|
3210
|
-
| 'style.add'
|
|
3211
|
-
| 'style.remove'
|
|
3212
|
-
| 'style.toggle',
|
|
3213
|
-
'move.block up'
|
|
3214
|
-
>
|
|
3215
|
-
at: [KeyedSegment]
|
|
3216
|
-
}
|
|
3217
|
-
| {
|
|
3218
|
-
type: StrictExtract_2<
|
|
3219
|
-
| 'serialize'
|
|
3220
|
-
| 'serialization.failure'
|
|
3221
|
-
| 'serialization.success'
|
|
3222
|
-
| 'deserialize'
|
|
3223
|
-
| 'deserialization.failure'
|
|
3224
|
-
| 'deserialization.success'
|
|
3225
|
-
| 'split'
|
|
3226
|
-
| 'delete'
|
|
3227
|
-
| 'select'
|
|
3228
|
-
| 'annotation.add'
|
|
3229
|
-
| 'annotation.remove'
|
|
3230
|
-
| 'block.set'
|
|
3231
|
-
| 'block.unset'
|
|
3232
|
-
| 'decorator.add'
|
|
3233
|
-
| 'decorator.remove'
|
|
3234
|
-
| 'delete.backward'
|
|
3235
|
-
| 'delete.block'
|
|
3236
|
-
| 'delete.forward'
|
|
3237
|
-
| 'history.redo'
|
|
3238
|
-
| 'history.undo'
|
|
3239
|
-
| 'insert.inline object'
|
|
3240
|
-
| 'insert.block'
|
|
3241
|
-
| 'insert.span'
|
|
3242
|
-
| 'insert.text'
|
|
3243
|
-
| 'move.backward'
|
|
3244
|
-
| 'move.block'
|
|
3245
|
-
| 'move.forward'
|
|
3246
|
-
| 'annotation.toggle'
|
|
3247
|
-
| 'decorator.toggle'
|
|
3248
|
-
| 'delete.text'
|
|
3249
|
-
| 'insert.blocks'
|
|
3250
|
-
| 'insert.break'
|
|
3251
|
-
| 'insert.soft break'
|
|
3252
|
-
| 'list item.add'
|
|
3253
|
-
| 'list item.remove'
|
|
3254
|
-
| 'list item.toggle'
|
|
3255
|
-
| 'move.block down'
|
|
3256
|
-
| 'move.block up'
|
|
3257
|
-
| 'select.previous block'
|
|
3258
|
-
| 'select.next block'
|
|
3259
|
-
| 'style.add'
|
|
3260
|
-
| 'style.remove'
|
|
3261
|
-
| 'style.toggle',
|
|
3262
|
-
'select.previous block'
|
|
3263
|
-
>
|
|
3264
|
-
select?: 'start' | 'end'
|
|
3265
|
-
}
|
|
3266
|
-
| {
|
|
3267
|
-
type: StrictExtract_2<
|
|
3268
|
-
| 'serialize'
|
|
3269
|
-
| 'serialization.failure'
|
|
3270
|
-
| 'serialization.success'
|
|
3271
|
-
| 'deserialize'
|
|
3272
|
-
| 'deserialization.failure'
|
|
3273
|
-
| 'deserialization.success'
|
|
3274
|
-
| 'split'
|
|
3275
|
-
| 'delete'
|
|
3276
|
-
| 'select'
|
|
3277
|
-
| 'annotation.add'
|
|
3278
|
-
| 'annotation.remove'
|
|
3279
|
-
| 'block.set'
|
|
3280
|
-
| 'block.unset'
|
|
3281
|
-
| 'decorator.add'
|
|
3282
|
-
| 'decorator.remove'
|
|
3283
|
-
| 'delete.backward'
|
|
3284
|
-
| 'delete.block'
|
|
3285
|
-
| 'delete.forward'
|
|
3286
|
-
| 'history.redo'
|
|
3287
|
-
| 'history.undo'
|
|
3288
|
-
| 'insert.inline object'
|
|
3289
|
-
| 'insert.block'
|
|
3290
|
-
| 'insert.span'
|
|
3291
|
-
| 'insert.text'
|
|
3292
|
-
| 'move.backward'
|
|
3293
|
-
| 'move.block'
|
|
3294
|
-
| 'move.forward'
|
|
3295
|
-
| 'annotation.toggle'
|
|
3296
|
-
| 'decorator.toggle'
|
|
3297
|
-
| 'delete.text'
|
|
3298
|
-
| 'insert.blocks'
|
|
3299
|
-
| 'insert.break'
|
|
3300
|
-
| 'insert.soft break'
|
|
3301
|
-
| 'list item.add'
|
|
3302
|
-
| 'list item.remove'
|
|
3303
|
-
| 'list item.toggle'
|
|
3304
|
-
| 'move.block down'
|
|
3305
|
-
| 'move.block up'
|
|
3306
|
-
| 'select.previous block'
|
|
3307
|
-
| 'select.next block'
|
|
3308
|
-
| 'style.add'
|
|
3309
|
-
| 'style.remove'
|
|
3310
|
-
| 'style.toggle',
|
|
3311
|
-
'select.next block'
|
|
3312
|
-
>
|
|
3313
|
-
select?: 'start' | 'end'
|
|
3314
|
-
}
|
|
3315
|
-
| {
|
|
3316
|
-
type: StrictExtract_2<
|
|
3317
|
-
| 'serialize'
|
|
3318
|
-
| 'serialization.failure'
|
|
3319
|
-
| 'serialization.success'
|
|
3320
|
-
| 'deserialize'
|
|
3321
|
-
| 'deserialization.failure'
|
|
3322
|
-
| 'deserialization.success'
|
|
3323
|
-
| 'split'
|
|
3324
|
-
| 'delete'
|
|
3325
|
-
| 'select'
|
|
3326
|
-
| 'annotation.add'
|
|
3327
|
-
| 'annotation.remove'
|
|
3328
|
-
| 'block.set'
|
|
3329
|
-
| 'block.unset'
|
|
3330
|
-
| 'decorator.add'
|
|
3331
|
-
| 'decorator.remove'
|
|
3332
|
-
| 'delete.backward'
|
|
3333
|
-
| 'delete.block'
|
|
3334
|
-
| 'delete.forward'
|
|
3335
|
-
| 'history.redo'
|
|
3336
|
-
| 'history.undo'
|
|
3337
|
-
| 'insert.inline object'
|
|
3338
|
-
| 'insert.block'
|
|
3339
|
-
| 'insert.span'
|
|
3340
|
-
| 'insert.text'
|
|
3341
|
-
| 'move.backward'
|
|
3342
|
-
| 'move.block'
|
|
3343
|
-
| 'move.forward'
|
|
3344
|
-
| 'annotation.toggle'
|
|
3345
|
-
| 'decorator.toggle'
|
|
3346
|
-
| 'delete.text'
|
|
3347
|
-
| 'insert.blocks'
|
|
3348
|
-
| 'insert.break'
|
|
3349
|
-
| 'insert.soft break'
|
|
3350
|
-
| 'list item.add'
|
|
3351
|
-
| 'list item.remove'
|
|
3352
|
-
| 'list item.toggle'
|
|
3353
|
-
| 'move.block down'
|
|
3354
|
-
| 'move.block up'
|
|
3355
|
-
| 'select.previous block'
|
|
3356
|
-
| 'select.next block'
|
|
3357
|
-
| 'style.add'
|
|
3358
|
-
| 'style.remove'
|
|
3359
|
-
| 'style.toggle',
|
|
3360
|
-
'split'
|
|
3361
|
-
>
|
|
3362
|
-
}
|
|
3363
|
-
| {
|
|
3364
|
-
type: StrictExtract_2<
|
|
3365
|
-
| 'serialize'
|
|
3366
|
-
| 'serialization.failure'
|
|
3367
|
-
| 'serialization.success'
|
|
3368
|
-
| 'deserialize'
|
|
3369
|
-
| 'deserialization.failure'
|
|
3370
|
-
| 'deserialization.success'
|
|
3371
|
-
| 'split'
|
|
3372
|
-
| 'delete'
|
|
3373
|
-
| 'select'
|
|
3374
|
-
| 'annotation.add'
|
|
3375
|
-
| 'annotation.remove'
|
|
3376
|
-
| 'block.set'
|
|
3377
|
-
| 'block.unset'
|
|
3378
|
-
| 'decorator.add'
|
|
3379
|
-
| 'decorator.remove'
|
|
3380
|
-
| 'delete.backward'
|
|
3381
|
-
| 'delete.block'
|
|
3382
|
-
| 'delete.forward'
|
|
3383
|
-
| 'history.redo'
|
|
3384
|
-
| 'history.undo'
|
|
3385
|
-
| 'insert.inline object'
|
|
3386
|
-
| 'insert.block'
|
|
3387
|
-
| 'insert.span'
|
|
3388
|
-
| 'insert.text'
|
|
3389
|
-
| 'move.backward'
|
|
3390
|
-
| 'move.block'
|
|
3391
|
-
| 'move.forward'
|
|
3392
|
-
| 'annotation.toggle'
|
|
3393
|
-
| 'decorator.toggle'
|
|
3394
|
-
| 'delete.text'
|
|
3395
|
-
| 'insert.blocks'
|
|
3396
|
-
| 'insert.break'
|
|
3397
|
-
| 'insert.soft break'
|
|
3398
|
-
| 'list item.add'
|
|
3399
|
-
| 'list item.remove'
|
|
3400
|
-
| 'list item.toggle'
|
|
3401
|
-
| 'move.block down'
|
|
3402
|
-
| 'move.block up'
|
|
3403
|
-
| 'select.previous block'
|
|
3404
|
-
| 'select.next block'
|
|
3405
|
-
| 'style.add'
|
|
3406
|
-
| 'style.remove'
|
|
3407
|
-
| 'style.toggle',
|
|
3408
|
-
'style.add'
|
|
3409
|
-
>
|
|
3410
|
-
style: string
|
|
3411
|
-
}
|
|
3412
|
-
| {
|
|
3413
|
-
type: StrictExtract_2<
|
|
3414
|
-
| 'serialize'
|
|
3415
|
-
| 'serialization.failure'
|
|
3416
|
-
| 'serialization.success'
|
|
3417
|
-
| 'deserialize'
|
|
3418
|
-
| 'deserialization.failure'
|
|
3419
|
-
| 'deserialization.success'
|
|
3420
|
-
| 'split'
|
|
3421
|
-
| 'delete'
|
|
3422
|
-
| 'select'
|
|
3423
|
-
| 'annotation.add'
|
|
3424
|
-
| 'annotation.remove'
|
|
3425
|
-
| 'block.set'
|
|
3426
|
-
| 'block.unset'
|
|
3427
|
-
| 'decorator.add'
|
|
3428
|
-
| 'decorator.remove'
|
|
3429
|
-
| 'delete.backward'
|
|
3430
|
-
| 'delete.block'
|
|
3431
|
-
| 'delete.forward'
|
|
3432
|
-
| 'history.redo'
|
|
3433
|
-
| 'history.undo'
|
|
3434
|
-
| 'insert.inline object'
|
|
3435
|
-
| 'insert.block'
|
|
3436
|
-
| 'insert.span'
|
|
3437
|
-
| 'insert.text'
|
|
3438
|
-
| 'move.backward'
|
|
3439
|
-
| 'move.block'
|
|
3440
|
-
| 'move.forward'
|
|
3441
|
-
| 'annotation.toggle'
|
|
3442
|
-
| 'decorator.toggle'
|
|
3443
|
-
| 'delete.text'
|
|
3444
|
-
| 'insert.blocks'
|
|
3445
|
-
| 'insert.break'
|
|
3446
|
-
| 'insert.soft break'
|
|
3447
|
-
| 'list item.add'
|
|
3448
|
-
| 'list item.remove'
|
|
3449
|
-
| 'list item.toggle'
|
|
3450
|
-
| 'move.block down'
|
|
3451
|
-
| 'move.block up'
|
|
3452
|
-
| 'select.previous block'
|
|
3453
|
-
| 'select.next block'
|
|
3454
|
-
| 'style.add'
|
|
3455
|
-
| 'style.remove'
|
|
3456
|
-
| 'style.toggle',
|
|
3457
|
-
'style.remove'
|
|
3458
|
-
>
|
|
3459
|
-
style: string
|
|
3460
|
-
}
|
|
3461
|
-
| {
|
|
3462
|
-
type: StrictExtract_2<
|
|
3463
|
-
| 'serialize'
|
|
3464
|
-
| 'serialization.failure'
|
|
3465
|
-
| 'serialization.success'
|
|
3466
|
-
| 'deserialize'
|
|
3467
|
-
| 'deserialization.failure'
|
|
3468
|
-
| 'deserialization.success'
|
|
3469
|
-
| 'split'
|
|
3470
|
-
| 'delete'
|
|
3471
|
-
| 'select'
|
|
3472
|
-
| 'annotation.add'
|
|
3473
|
-
| 'annotation.remove'
|
|
3474
|
-
| 'block.set'
|
|
3475
|
-
| 'block.unset'
|
|
3476
|
-
| 'decorator.add'
|
|
3477
|
-
| 'decorator.remove'
|
|
3478
|
-
| 'delete.backward'
|
|
3479
|
-
| 'delete.block'
|
|
3480
|
-
| 'delete.forward'
|
|
3481
|
-
| 'history.redo'
|
|
3482
|
-
| 'history.undo'
|
|
3483
|
-
| 'insert.inline object'
|
|
3484
|
-
| 'insert.block'
|
|
3485
|
-
| 'insert.span'
|
|
3486
|
-
| 'insert.text'
|
|
3487
|
-
| 'move.backward'
|
|
3488
|
-
| 'move.block'
|
|
3489
|
-
| 'move.forward'
|
|
3490
|
-
| 'annotation.toggle'
|
|
3491
|
-
| 'decorator.toggle'
|
|
3492
|
-
| 'delete.text'
|
|
3493
|
-
| 'insert.blocks'
|
|
3494
|
-
| 'insert.break'
|
|
3495
|
-
| 'insert.soft break'
|
|
3496
|
-
| 'list item.add'
|
|
3497
|
-
| 'list item.remove'
|
|
3498
|
-
| 'list item.toggle'
|
|
3499
|
-
| 'move.block down'
|
|
3500
|
-
| 'move.block up'
|
|
3501
|
-
| 'select.previous block'
|
|
3502
|
-
| 'select.next block'
|
|
3503
|
-
| 'style.add'
|
|
3504
|
-
| 'style.remove'
|
|
3505
|
-
| 'style.toggle',
|
|
3506
|
-
'style.toggle'
|
|
3507
|
-
>
|
|
3508
|
-
style: string
|
|
3509
|
-
}
|
|
3510
|
-
| {
|
|
3511
|
-
type: StrictExtract_2<
|
|
3512
|
-
| 'clipboard.copy'
|
|
3513
|
-
| 'clipboard.cut'
|
|
3514
|
-
| 'drag.dragstart'
|
|
3515
|
-
| 'clipboard.paste'
|
|
3516
|
-
| 'drag.drag'
|
|
3517
|
-
| 'drag.dragend'
|
|
3518
|
-
| 'drag.dragenter'
|
|
3519
|
-
| 'drag.dragover'
|
|
3520
|
-
| 'drag.dragleave'
|
|
3521
|
-
| 'drag.drop'
|
|
3522
|
-
| 'input.*'
|
|
3523
|
-
| 'keyboard.keydown'
|
|
3524
|
-
| 'keyboard.keyup'
|
|
3525
|
-
| 'mouse.click',
|
|
3526
|
-
'clipboard.copy'
|
|
3527
|
-
>
|
|
3528
|
-
originEvent: {
|
|
3529
|
-
dataTransfer: DataTransfer
|
|
3530
|
-
}
|
|
3531
|
-
position: Pick<EventPosition, 'selection'>
|
|
3532
|
-
}
|
|
3533
|
-
| {
|
|
3534
|
-
type: StrictExtract_2<
|
|
3535
|
-
| 'clipboard.copy'
|
|
3536
|
-
| 'clipboard.cut'
|
|
3537
|
-
| 'drag.dragstart'
|
|
3538
|
-
| 'clipboard.paste'
|
|
3539
|
-
| 'drag.drag'
|
|
3540
|
-
| 'drag.dragend'
|
|
3541
|
-
| 'drag.dragenter'
|
|
3542
|
-
| 'drag.dragover'
|
|
3543
|
-
| 'drag.dragleave'
|
|
3544
|
-
| 'drag.drop'
|
|
3545
|
-
| 'input.*'
|
|
3546
|
-
| 'keyboard.keydown'
|
|
3547
|
-
| 'keyboard.keyup'
|
|
3548
|
-
| 'mouse.click',
|
|
3549
|
-
'clipboard.cut'
|
|
3550
|
-
>
|
|
3551
|
-
originEvent: {
|
|
3552
|
-
dataTransfer: DataTransfer
|
|
3553
|
-
}
|
|
3554
|
-
position: Pick<EventPosition, 'selection'>
|
|
3555
|
-
}
|
|
3556
|
-
| {
|
|
3557
|
-
type: StrictExtract_2<
|
|
3558
|
-
| 'clipboard.copy'
|
|
3559
|
-
| 'clipboard.cut'
|
|
3560
|
-
| 'drag.dragstart'
|
|
3561
|
-
| 'clipboard.paste'
|
|
3562
|
-
| 'drag.drag'
|
|
3563
|
-
| 'drag.dragend'
|
|
3564
|
-
| 'drag.dragenter'
|
|
3565
|
-
| 'drag.dragover'
|
|
3566
|
-
| 'drag.dragleave'
|
|
3567
|
-
| 'drag.drop'
|
|
3568
|
-
| 'input.*'
|
|
3569
|
-
| 'keyboard.keydown'
|
|
3570
|
-
| 'keyboard.keyup'
|
|
3571
|
-
| 'mouse.click',
|
|
3572
|
-
'clipboard.paste'
|
|
3573
|
-
>
|
|
3574
|
-
originEvent: {
|
|
3575
|
-
dataTransfer: DataTransfer
|
|
3576
|
-
}
|
|
3577
|
-
position: Pick<EventPosition, 'selection'>
|
|
3578
|
-
}
|
|
3579
|
-
| {
|
|
3580
|
-
type: StrictExtract_2<
|
|
3581
|
-
| 'clipboard.copy'
|
|
3582
|
-
| 'clipboard.cut'
|
|
3583
|
-
| 'drag.dragstart'
|
|
3584
|
-
| 'clipboard.paste'
|
|
3585
|
-
| 'drag.drag'
|
|
3586
|
-
| 'drag.dragend'
|
|
3587
|
-
| 'drag.dragenter'
|
|
3588
|
-
| 'drag.dragover'
|
|
3589
|
-
| 'drag.dragleave'
|
|
3590
|
-
| 'drag.drop'
|
|
3591
|
-
| 'input.*'
|
|
3592
|
-
| 'keyboard.keydown'
|
|
3593
|
-
| 'keyboard.keyup'
|
|
3594
|
-
| 'mouse.click',
|
|
3595
|
-
'drag.dragstart'
|
|
3596
|
-
>
|
|
3597
|
-
originEvent: {
|
|
3598
|
-
dataTransfer: DataTransfer
|
|
3599
|
-
}
|
|
3600
|
-
position: Pick<EventPosition, 'selection'>
|
|
3601
|
-
}
|
|
3602
|
-
| {
|
|
3603
|
-
type: StrictExtract_2<
|
|
3604
|
-
| 'clipboard.copy'
|
|
3605
|
-
| 'clipboard.cut'
|
|
3606
|
-
| 'drag.dragstart'
|
|
3607
|
-
| 'clipboard.paste'
|
|
3608
|
-
| 'drag.drag'
|
|
3609
|
-
| 'drag.dragend'
|
|
3610
|
-
| 'drag.dragenter'
|
|
3611
|
-
| 'drag.dragover'
|
|
3612
|
-
| 'drag.dragleave'
|
|
3613
|
-
| 'drag.drop'
|
|
3614
|
-
| 'input.*'
|
|
3615
|
-
| 'keyboard.keydown'
|
|
3616
|
-
| 'keyboard.keyup'
|
|
3617
|
-
| 'mouse.click',
|
|
3618
|
-
'drag.drag'
|
|
3619
|
-
>
|
|
3620
|
-
originEvent: {
|
|
3621
|
-
dataTransfer: DataTransfer
|
|
3622
|
-
}
|
|
3623
|
-
}
|
|
3624
|
-
| {
|
|
3625
|
-
type: StrictExtract_2<
|
|
3626
|
-
| 'clipboard.copy'
|
|
3627
|
-
| 'clipboard.cut'
|
|
3628
|
-
| 'drag.dragstart'
|
|
3629
|
-
| 'clipboard.paste'
|
|
3630
|
-
| 'drag.drag'
|
|
3631
|
-
| 'drag.dragend'
|
|
3632
|
-
| 'drag.dragenter'
|
|
3633
|
-
| 'drag.dragover'
|
|
3634
|
-
| 'drag.dragleave'
|
|
3635
|
-
| 'drag.drop'
|
|
3636
|
-
| 'input.*'
|
|
3637
|
-
| 'keyboard.keydown'
|
|
3638
|
-
| 'keyboard.keyup'
|
|
3639
|
-
| 'mouse.click',
|
|
3640
|
-
'drag.dragend'
|
|
3641
|
-
>
|
|
3642
|
-
originEvent: {
|
|
3643
|
-
dataTransfer: DataTransfer
|
|
3644
|
-
}
|
|
3645
|
-
}
|
|
3646
|
-
| {
|
|
3647
|
-
type: StrictExtract_2<
|
|
3648
|
-
| 'clipboard.copy'
|
|
3649
|
-
| 'clipboard.cut'
|
|
3650
|
-
| 'drag.dragstart'
|
|
3651
|
-
| 'clipboard.paste'
|
|
3652
|
-
| 'drag.drag'
|
|
3653
|
-
| 'drag.dragend'
|
|
3654
|
-
| 'drag.dragenter'
|
|
3655
|
-
| 'drag.dragover'
|
|
3656
|
-
| 'drag.dragleave'
|
|
3657
|
-
| 'drag.drop'
|
|
3658
|
-
| 'input.*'
|
|
3659
|
-
| 'keyboard.keydown'
|
|
3660
|
-
| 'keyboard.keyup'
|
|
3661
|
-
| 'mouse.click',
|
|
3662
|
-
'drag.dragenter'
|
|
3663
|
-
>
|
|
3664
|
-
originEvent: {
|
|
3665
|
-
dataTransfer: DataTransfer
|
|
3666
|
-
}
|
|
3667
|
-
position: EventPosition
|
|
3668
|
-
}
|
|
3669
|
-
| {
|
|
3670
|
-
type: StrictExtract_2<
|
|
3671
|
-
| 'clipboard.copy'
|
|
3672
|
-
| 'clipboard.cut'
|
|
3673
|
-
| 'drag.dragstart'
|
|
3674
|
-
| 'clipboard.paste'
|
|
3675
|
-
| 'drag.drag'
|
|
3676
|
-
| 'drag.dragend'
|
|
3677
|
-
| 'drag.dragenter'
|
|
3678
|
-
| 'drag.dragover'
|
|
3679
|
-
| 'drag.dragleave'
|
|
3680
|
-
| 'drag.drop'
|
|
3681
|
-
| 'input.*'
|
|
3682
|
-
| 'keyboard.keydown'
|
|
3683
|
-
| 'keyboard.keyup'
|
|
3684
|
-
| 'mouse.click',
|
|
3685
|
-
'drag.dragover'
|
|
3686
|
-
>
|
|
3687
|
-
originEvent: {
|
|
3688
|
-
dataTransfer: DataTransfer
|
|
3689
|
-
}
|
|
3690
|
-
position: EventPosition
|
|
3691
|
-
}
|
|
3692
|
-
| {
|
|
3693
|
-
type: StrictExtract_2<
|
|
3694
|
-
| 'clipboard.copy'
|
|
3695
|
-
| 'clipboard.cut'
|
|
3696
|
-
| 'drag.dragstart'
|
|
3697
|
-
| 'clipboard.paste'
|
|
3698
|
-
| 'drag.drag'
|
|
3699
|
-
| 'drag.dragend'
|
|
3700
|
-
| 'drag.dragenter'
|
|
3701
|
-
| 'drag.dragover'
|
|
3702
|
-
| 'drag.dragleave'
|
|
3703
|
-
| 'drag.drop'
|
|
3704
|
-
| 'input.*'
|
|
3705
|
-
| 'keyboard.keydown'
|
|
3706
|
-
| 'keyboard.keyup'
|
|
3707
|
-
| 'mouse.click',
|
|
3708
|
-
'drag.drop'
|
|
3709
|
-
>
|
|
3710
|
-
originEvent: {
|
|
3711
|
-
dataTransfer: DataTransfer
|
|
3712
|
-
}
|
|
3713
|
-
position: EventPosition
|
|
3714
|
-
}
|
|
3715
|
-
| {
|
|
3716
|
-
type: StrictExtract_2<
|
|
3717
|
-
| 'clipboard.copy'
|
|
3718
|
-
| 'clipboard.cut'
|
|
3719
|
-
| 'drag.dragstart'
|
|
3720
|
-
| 'clipboard.paste'
|
|
3721
|
-
| 'drag.drag'
|
|
3722
|
-
| 'drag.dragend'
|
|
3723
|
-
| 'drag.dragenter'
|
|
3724
|
-
| 'drag.dragover'
|
|
3725
|
-
| 'drag.dragleave'
|
|
3726
|
-
| 'drag.drop'
|
|
3727
|
-
| 'input.*'
|
|
3728
|
-
| 'keyboard.keydown'
|
|
3729
|
-
| 'keyboard.keyup'
|
|
3730
|
-
| 'mouse.click',
|
|
3731
|
-
'drag.dragleave'
|
|
3732
|
-
>
|
|
3733
|
-
originEvent: {
|
|
3734
|
-
dataTransfer: DataTransfer
|
|
3735
|
-
}
|
|
3736
|
-
}
|
|
3737
|
-
| InputBehaviorEvent_2
|
|
3738
|
-
| {
|
|
3739
|
-
type: StrictExtract_2<
|
|
3740
|
-
| 'clipboard.copy'
|
|
3741
|
-
| 'clipboard.cut'
|
|
3742
|
-
| 'drag.dragstart'
|
|
3743
|
-
| 'clipboard.paste'
|
|
3744
|
-
| 'drag.drag'
|
|
3745
|
-
| 'drag.dragend'
|
|
3746
|
-
| 'drag.dragenter'
|
|
3747
|
-
| 'drag.dragover'
|
|
3748
|
-
| 'drag.dragleave'
|
|
3749
|
-
| 'drag.drop'
|
|
3750
|
-
| 'input.*'
|
|
3751
|
-
| 'keyboard.keydown'
|
|
3752
|
-
| 'keyboard.keyup'
|
|
3753
|
-
| 'mouse.click',
|
|
3754
|
-
'keyboard.keydown'
|
|
3755
|
-
>
|
|
3756
|
-
originEvent: Pick<
|
|
3757
|
-
KeyboardEvent,
|
|
3758
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
3759
|
-
>
|
|
3760
|
-
}
|
|
3761
|
-
| {
|
|
3762
|
-
type: StrictExtract_2<
|
|
3763
|
-
| 'clipboard.copy'
|
|
3764
|
-
| 'clipboard.cut'
|
|
3765
|
-
| 'drag.dragstart'
|
|
3766
|
-
| 'clipboard.paste'
|
|
3767
|
-
| 'drag.drag'
|
|
3768
|
-
| 'drag.dragend'
|
|
3769
|
-
| 'drag.dragenter'
|
|
3770
|
-
| 'drag.dragover'
|
|
3771
|
-
| 'drag.dragleave'
|
|
3772
|
-
| 'drag.drop'
|
|
3773
|
-
| 'input.*'
|
|
3774
|
-
| 'keyboard.keydown'
|
|
3775
|
-
| 'keyboard.keyup'
|
|
3776
|
-
| 'mouse.click',
|
|
3777
|
-
'keyboard.keyup'
|
|
3778
|
-
>
|
|
3779
|
-
originEvent: Pick<
|
|
3780
|
-
KeyboardEvent,
|
|
3781
|
-
'key' | 'code' | 'altKey' | 'ctrlKey' | 'metaKey' | 'shiftKey'
|
|
3782
|
-
>
|
|
3783
|
-
}
|
|
3784
|
-
| MouseBehaviorEvent_2
|
|
3785
|
-
| CustomBehaviorEvent_2<
|
|
3786
|
-
Record<string, unknown>,
|
|
3787
|
-
string,
|
|
3788
|
-
`custom.${string}`
|
|
3789
|
-
>
|
|
3790
|
-
>
|
|
3791
|
-
>
|
|
1236
|
+
behaviors: Set<never>
|
|
3792
1237
|
converters: Set<Converter>
|
|
3793
1238
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3794
1239
|
keyGenerator: () => string
|
|
@@ -3804,7 +1249,7 @@ declare const editorMachine: StateMachine<
|
|
|
3804
1249
|
readonly 'notify.blurred': {
|
|
3805
1250
|
readonly actions: ActionFunction<
|
|
3806
1251
|
{
|
|
3807
|
-
behaviors: Set<
|
|
1252
|
+
behaviors: Set<BehaviorConfig>
|
|
3808
1253
|
converters: Set<Converter>
|
|
3809
1254
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
3810
1255
|
keyGenerator: () => string
|
|
@@ -3828,14 +1273,6 @@ declare const editorMachine: StateMachine<
|
|
|
3828
1273
|
| InternalPatchEvent
|
|
3829
1274
|
| MutationEvent
|
|
3830
1275
|
| PatchesEvent
|
|
3831
|
-
| {
|
|
3832
|
-
type: 'add behavior'
|
|
3833
|
-
behavior: Behavior
|
|
3834
|
-
}
|
|
3835
|
-
| {
|
|
3836
|
-
type: 'remove behavior'
|
|
3837
|
-
behavior: Behavior
|
|
3838
|
-
}
|
|
3839
1276
|
| {
|
|
3840
1277
|
type: 'update readOnly'
|
|
3841
1278
|
readOnly: boolean
|
|
@@ -3856,6 +1293,14 @@ declare const editorMachine: StateMachine<
|
|
|
3856
1293
|
type: 'update maxBlocks'
|
|
3857
1294
|
maxBlocks: number | undefined
|
|
3858
1295
|
}
|
|
1296
|
+
| {
|
|
1297
|
+
type: 'add behavior'
|
|
1298
|
+
behaviorConfig: BehaviorConfig
|
|
1299
|
+
}
|
|
1300
|
+
| {
|
|
1301
|
+
type: 'remove behavior'
|
|
1302
|
+
behaviorConfig: BehaviorConfig
|
|
1303
|
+
}
|
|
3859
1304
|
| {
|
|
3860
1305
|
type: 'blur'
|
|
3861
1306
|
editor: PortableTextSlateEditor
|
|
@@ -4008,7 +1453,7 @@ declare const editorMachine: StateMachine<
|
|
|
4008
1453
|
readonly 'notify.done loading': {
|
|
4009
1454
|
readonly actions: ActionFunction<
|
|
4010
1455
|
{
|
|
4011
|
-
behaviors: Set<
|
|
1456
|
+
behaviors: Set<BehaviorConfig>
|
|
4012
1457
|
converters: Set<Converter>
|
|
4013
1458
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4014
1459
|
keyGenerator: () => string
|
|
@@ -4031,14 +1476,6 @@ declare const editorMachine: StateMachine<
|
|
|
4031
1476
|
| InternalPatchEvent
|
|
4032
1477
|
| MutationEvent
|
|
4033
1478
|
| PatchesEvent
|
|
4034
|
-
| {
|
|
4035
|
-
type: 'add behavior'
|
|
4036
|
-
behavior: Behavior
|
|
4037
|
-
}
|
|
4038
|
-
| {
|
|
4039
|
-
type: 'remove behavior'
|
|
4040
|
-
behavior: Behavior
|
|
4041
|
-
}
|
|
4042
1479
|
| {
|
|
4043
1480
|
type: 'update readOnly'
|
|
4044
1481
|
readOnly: boolean
|
|
@@ -4059,6 +1496,14 @@ declare const editorMachine: StateMachine<
|
|
|
4059
1496
|
type: 'update maxBlocks'
|
|
4060
1497
|
maxBlocks: number | undefined
|
|
4061
1498
|
}
|
|
1499
|
+
| {
|
|
1500
|
+
type: 'add behavior'
|
|
1501
|
+
behaviorConfig: BehaviorConfig
|
|
1502
|
+
}
|
|
1503
|
+
| {
|
|
1504
|
+
type: 'remove behavior'
|
|
1505
|
+
behaviorConfig: BehaviorConfig
|
|
1506
|
+
}
|
|
4062
1507
|
| {
|
|
4063
1508
|
type: 'blur'
|
|
4064
1509
|
editor: PortableTextSlateEditor
|
|
@@ -4211,7 +1656,7 @@ declare const editorMachine: StateMachine<
|
|
|
4211
1656
|
readonly 'notify.error': {
|
|
4212
1657
|
readonly actions: ActionFunction<
|
|
4213
1658
|
{
|
|
4214
|
-
behaviors: Set<
|
|
1659
|
+
behaviors: Set<BehaviorConfig>
|
|
4215
1660
|
converters: Set<Converter>
|
|
4216
1661
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4217
1662
|
keyGenerator: () => string
|
|
@@ -4237,14 +1682,6 @@ declare const editorMachine: StateMachine<
|
|
|
4237
1682
|
| InternalPatchEvent
|
|
4238
1683
|
| MutationEvent
|
|
4239
1684
|
| PatchesEvent
|
|
4240
|
-
| {
|
|
4241
|
-
type: 'add behavior'
|
|
4242
|
-
behavior: Behavior
|
|
4243
|
-
}
|
|
4244
|
-
| {
|
|
4245
|
-
type: 'remove behavior'
|
|
4246
|
-
behavior: Behavior
|
|
4247
|
-
}
|
|
4248
1685
|
| {
|
|
4249
1686
|
type: 'update readOnly'
|
|
4250
1687
|
readOnly: boolean
|
|
@@ -4265,6 +1702,14 @@ declare const editorMachine: StateMachine<
|
|
|
4265
1702
|
type: 'update maxBlocks'
|
|
4266
1703
|
maxBlocks: number | undefined
|
|
4267
1704
|
}
|
|
1705
|
+
| {
|
|
1706
|
+
type: 'add behavior'
|
|
1707
|
+
behaviorConfig: BehaviorConfig
|
|
1708
|
+
}
|
|
1709
|
+
| {
|
|
1710
|
+
type: 'remove behavior'
|
|
1711
|
+
behaviorConfig: BehaviorConfig
|
|
1712
|
+
}
|
|
4268
1713
|
| {
|
|
4269
1714
|
type: 'blur'
|
|
4270
1715
|
editor: PortableTextSlateEditor
|
|
@@ -4417,7 +1862,7 @@ declare const editorMachine: StateMachine<
|
|
|
4417
1862
|
readonly 'notify.invalid value': {
|
|
4418
1863
|
readonly actions: ActionFunction<
|
|
4419
1864
|
{
|
|
4420
|
-
behaviors: Set<
|
|
1865
|
+
behaviors: Set<BehaviorConfig>
|
|
4421
1866
|
converters: Set<Converter>
|
|
4422
1867
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4423
1868
|
keyGenerator: () => string
|
|
@@ -4442,14 +1887,6 @@ declare const editorMachine: StateMachine<
|
|
|
4442
1887
|
| InternalPatchEvent
|
|
4443
1888
|
| MutationEvent
|
|
4444
1889
|
| PatchesEvent
|
|
4445
|
-
| {
|
|
4446
|
-
type: 'add behavior'
|
|
4447
|
-
behavior: Behavior
|
|
4448
|
-
}
|
|
4449
|
-
| {
|
|
4450
|
-
type: 'remove behavior'
|
|
4451
|
-
behavior: Behavior
|
|
4452
|
-
}
|
|
4453
1890
|
| {
|
|
4454
1891
|
type: 'update readOnly'
|
|
4455
1892
|
readOnly: boolean
|
|
@@ -4470,6 +1907,14 @@ declare const editorMachine: StateMachine<
|
|
|
4470
1907
|
type: 'update maxBlocks'
|
|
4471
1908
|
maxBlocks: number | undefined
|
|
4472
1909
|
}
|
|
1910
|
+
| {
|
|
1911
|
+
type: 'add behavior'
|
|
1912
|
+
behaviorConfig: BehaviorConfig
|
|
1913
|
+
}
|
|
1914
|
+
| {
|
|
1915
|
+
type: 'remove behavior'
|
|
1916
|
+
behaviorConfig: BehaviorConfig
|
|
1917
|
+
}
|
|
4473
1918
|
| {
|
|
4474
1919
|
type: 'blur'
|
|
4475
1920
|
editor: PortableTextSlateEditor
|
|
@@ -4622,7 +2067,7 @@ declare const editorMachine: StateMachine<
|
|
|
4622
2067
|
readonly 'notify.focused': {
|
|
4623
2068
|
readonly actions: ActionFunction<
|
|
4624
2069
|
{
|
|
4625
|
-
behaviors: Set<
|
|
2070
|
+
behaviors: Set<BehaviorConfig>
|
|
4626
2071
|
converters: Set<Converter>
|
|
4627
2072
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4628
2073
|
keyGenerator: () => string
|
|
@@ -4646,14 +2091,6 @@ declare const editorMachine: StateMachine<
|
|
|
4646
2091
|
| InternalPatchEvent
|
|
4647
2092
|
| MutationEvent
|
|
4648
2093
|
| PatchesEvent
|
|
4649
|
-
| {
|
|
4650
|
-
type: 'add behavior'
|
|
4651
|
-
behavior: Behavior
|
|
4652
|
-
}
|
|
4653
|
-
| {
|
|
4654
|
-
type: 'remove behavior'
|
|
4655
|
-
behavior: Behavior
|
|
4656
|
-
}
|
|
4657
2094
|
| {
|
|
4658
2095
|
type: 'update readOnly'
|
|
4659
2096
|
readOnly: boolean
|
|
@@ -4674,6 +2111,14 @@ declare const editorMachine: StateMachine<
|
|
|
4674
2111
|
type: 'update maxBlocks'
|
|
4675
2112
|
maxBlocks: number | undefined
|
|
4676
2113
|
}
|
|
2114
|
+
| {
|
|
2115
|
+
type: 'add behavior'
|
|
2116
|
+
behaviorConfig: BehaviorConfig
|
|
2117
|
+
}
|
|
2118
|
+
| {
|
|
2119
|
+
type: 'remove behavior'
|
|
2120
|
+
behaviorConfig: BehaviorConfig
|
|
2121
|
+
}
|
|
4677
2122
|
| {
|
|
4678
2123
|
type: 'blur'
|
|
4679
2124
|
editor: PortableTextSlateEditor
|
|
@@ -4827,7 +2272,7 @@ declare const editorMachine: StateMachine<
|
|
|
4827
2272
|
readonly actions: readonly [
|
|
4828
2273
|
ActionFunction<
|
|
4829
2274
|
{
|
|
4830
|
-
behaviors: Set<
|
|
2275
|
+
behaviors: Set<BehaviorConfig>
|
|
4831
2276
|
converters: Set<Converter>
|
|
4832
2277
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4833
2278
|
keyGenerator: () => string
|
|
@@ -4851,14 +2296,6 @@ declare const editorMachine: StateMachine<
|
|
|
4851
2296
|
| InternalPatchEvent
|
|
4852
2297
|
| MutationEvent
|
|
4853
2298
|
| PatchesEvent
|
|
4854
|
-
| {
|
|
4855
|
-
type: 'add behavior'
|
|
4856
|
-
behavior: Behavior
|
|
4857
|
-
}
|
|
4858
|
-
| {
|
|
4859
|
-
type: 'remove behavior'
|
|
4860
|
-
behavior: Behavior
|
|
4861
|
-
}
|
|
4862
2299
|
| {
|
|
4863
2300
|
type: 'update readOnly'
|
|
4864
2301
|
readOnly: boolean
|
|
@@ -4879,6 +2316,14 @@ declare const editorMachine: StateMachine<
|
|
|
4879
2316
|
type: 'update maxBlocks'
|
|
4880
2317
|
maxBlocks: number | undefined
|
|
4881
2318
|
}
|
|
2319
|
+
| {
|
|
2320
|
+
type: 'add behavior'
|
|
2321
|
+
behaviorConfig: BehaviorConfig
|
|
2322
|
+
}
|
|
2323
|
+
| {
|
|
2324
|
+
type: 'remove behavior'
|
|
2325
|
+
behaviorConfig: BehaviorConfig
|
|
2326
|
+
}
|
|
4882
2327
|
| {
|
|
4883
2328
|
type: 'blur'
|
|
4884
2329
|
editor: PortableTextSlateEditor
|
|
@@ -4983,7 +2428,7 @@ declare const editorMachine: StateMachine<
|
|
|
4983
2428
|
>,
|
|
4984
2429
|
ActionFunction<
|
|
4985
2430
|
{
|
|
4986
|
-
behaviors: Set<
|
|
2431
|
+
behaviors: Set<BehaviorConfig>
|
|
4987
2432
|
converters: Set<Converter>
|
|
4988
2433
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
4989
2434
|
keyGenerator: () => string
|
|
@@ -5007,14 +2452,6 @@ declare const editorMachine: StateMachine<
|
|
|
5007
2452
|
| InternalPatchEvent
|
|
5008
2453
|
| MutationEvent
|
|
5009
2454
|
| PatchesEvent
|
|
5010
|
-
| {
|
|
5011
|
-
type: 'add behavior'
|
|
5012
|
-
behavior: Behavior
|
|
5013
|
-
}
|
|
5014
|
-
| {
|
|
5015
|
-
type: 'remove behavior'
|
|
5016
|
-
behavior: Behavior
|
|
5017
|
-
}
|
|
5018
2455
|
| {
|
|
5019
2456
|
type: 'update readOnly'
|
|
5020
2457
|
readOnly: boolean
|
|
@@ -5035,6 +2472,14 @@ declare const editorMachine: StateMachine<
|
|
|
5035
2472
|
type: 'update maxBlocks'
|
|
5036
2473
|
maxBlocks: number | undefined
|
|
5037
2474
|
}
|
|
2475
|
+
| {
|
|
2476
|
+
type: 'add behavior'
|
|
2477
|
+
behaviorConfig: BehaviorConfig
|
|
2478
|
+
}
|
|
2479
|
+
| {
|
|
2480
|
+
type: 'remove behavior'
|
|
2481
|
+
behaviorConfig: BehaviorConfig
|
|
2482
|
+
}
|
|
5038
2483
|
| {
|
|
5039
2484
|
type: 'blur'
|
|
5040
2485
|
editor: PortableTextSlateEditor
|
|
@@ -5188,7 +2633,7 @@ declare const editorMachine: StateMachine<
|
|
|
5188
2633
|
readonly 'notify.unset': {
|
|
5189
2634
|
readonly actions: ActionFunction<
|
|
5190
2635
|
{
|
|
5191
|
-
behaviors: Set<
|
|
2636
|
+
behaviors: Set<BehaviorConfig>
|
|
5192
2637
|
converters: Set<Converter>
|
|
5193
2638
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
5194
2639
|
keyGenerator: () => string
|
|
@@ -5212,14 +2657,6 @@ declare const editorMachine: StateMachine<
|
|
|
5212
2657
|
| InternalPatchEvent
|
|
5213
2658
|
| MutationEvent
|
|
5214
2659
|
| PatchesEvent
|
|
5215
|
-
| {
|
|
5216
|
-
type: 'add behavior'
|
|
5217
|
-
behavior: Behavior
|
|
5218
|
-
}
|
|
5219
|
-
| {
|
|
5220
|
-
type: 'remove behavior'
|
|
5221
|
-
behavior: Behavior
|
|
5222
|
-
}
|
|
5223
2660
|
| {
|
|
5224
2661
|
type: 'update readOnly'
|
|
5225
2662
|
readOnly: boolean
|
|
@@ -5240,6 +2677,14 @@ declare const editorMachine: StateMachine<
|
|
|
5240
2677
|
type: 'update maxBlocks'
|
|
5241
2678
|
maxBlocks: number | undefined
|
|
5242
2679
|
}
|
|
2680
|
+
| {
|
|
2681
|
+
type: 'add behavior'
|
|
2682
|
+
behaviorConfig: BehaviorConfig
|
|
2683
|
+
}
|
|
2684
|
+
| {
|
|
2685
|
+
type: 'remove behavior'
|
|
2686
|
+
behaviorConfig: BehaviorConfig
|
|
2687
|
+
}
|
|
5243
2688
|
| {
|
|
5244
2689
|
type: 'blur'
|
|
5245
2690
|
editor: PortableTextSlateEditor
|
|
@@ -5392,7 +2837,7 @@ declare const editorMachine: StateMachine<
|
|
|
5392
2837
|
readonly 'notify.loading': {
|
|
5393
2838
|
readonly actions: ActionFunction<
|
|
5394
2839
|
{
|
|
5395
|
-
behaviors: Set<
|
|
2840
|
+
behaviors: Set<BehaviorConfig>
|
|
5396
2841
|
converters: Set<Converter>
|
|
5397
2842
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
5398
2843
|
keyGenerator: () => string
|
|
@@ -5415,14 +2860,6 @@ declare const editorMachine: StateMachine<
|
|
|
5415
2860
|
| InternalPatchEvent
|
|
5416
2861
|
| MutationEvent
|
|
5417
2862
|
| PatchesEvent
|
|
5418
|
-
| {
|
|
5419
|
-
type: 'add behavior'
|
|
5420
|
-
behavior: Behavior
|
|
5421
|
-
}
|
|
5422
|
-
| {
|
|
5423
|
-
type: 'remove behavior'
|
|
5424
|
-
behavior: Behavior
|
|
5425
|
-
}
|
|
5426
2863
|
| {
|
|
5427
2864
|
type: 'update readOnly'
|
|
5428
2865
|
readOnly: boolean
|
|
@@ -5443,6 +2880,14 @@ declare const editorMachine: StateMachine<
|
|
|
5443
2880
|
type: 'update maxBlocks'
|
|
5444
2881
|
maxBlocks: number | undefined
|
|
5445
2882
|
}
|
|
2883
|
+
| {
|
|
2884
|
+
type: 'add behavior'
|
|
2885
|
+
behaviorConfig: BehaviorConfig
|
|
2886
|
+
}
|
|
2887
|
+
| {
|
|
2888
|
+
type: 'remove behavior'
|
|
2889
|
+
behaviorConfig: BehaviorConfig
|
|
2890
|
+
}
|
|
5446
2891
|
| {
|
|
5447
2892
|
type: 'blur'
|
|
5448
2893
|
editor: PortableTextSlateEditor
|
|
@@ -5595,7 +3040,7 @@ declare const editorMachine: StateMachine<
|
|
|
5595
3040
|
readonly 'notify.value changed': {
|
|
5596
3041
|
readonly actions: ActionFunction<
|
|
5597
3042
|
{
|
|
5598
|
-
behaviors: Set<
|
|
3043
|
+
behaviors: Set<BehaviorConfig>
|
|
5599
3044
|
converters: Set<Converter>
|
|
5600
3045
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
5601
3046
|
keyGenerator: () => string
|
|
@@ -5619,14 +3064,6 @@ declare const editorMachine: StateMachine<
|
|
|
5619
3064
|
| InternalPatchEvent
|
|
5620
3065
|
| MutationEvent
|
|
5621
3066
|
| PatchesEvent
|
|
5622
|
-
| {
|
|
5623
|
-
type: 'add behavior'
|
|
5624
|
-
behavior: Behavior
|
|
5625
|
-
}
|
|
5626
|
-
| {
|
|
5627
|
-
type: 'remove behavior'
|
|
5628
|
-
behavior: Behavior
|
|
5629
|
-
}
|
|
5630
3067
|
| {
|
|
5631
3068
|
type: 'update readOnly'
|
|
5632
3069
|
readOnly: boolean
|
|
@@ -5647,6 +3084,14 @@ declare const editorMachine: StateMachine<
|
|
|
5647
3084
|
type: 'update maxBlocks'
|
|
5648
3085
|
maxBlocks: number | undefined
|
|
5649
3086
|
}
|
|
3087
|
+
| {
|
|
3088
|
+
type: 'add behavior'
|
|
3089
|
+
behaviorConfig: BehaviorConfig
|
|
3090
|
+
}
|
|
3091
|
+
| {
|
|
3092
|
+
type: 'remove behavior'
|
|
3093
|
+
behaviorConfig: BehaviorConfig
|
|
3094
|
+
}
|
|
5650
3095
|
| {
|
|
5651
3096
|
type: 'blur'
|
|
5652
3097
|
editor: PortableTextSlateEditor
|
|
@@ -5805,7 +3250,7 @@ declare const editorMachine: StateMachine<
|
|
|
5805
3250
|
readonly 'update key generator': {
|
|
5806
3251
|
readonly actions: ActionFunction<
|
|
5807
3252
|
{
|
|
5808
|
-
behaviors: Set<
|
|
3253
|
+
behaviors: Set<BehaviorConfig>
|
|
5809
3254
|
converters: Set<Converter>
|
|
5810
3255
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
5811
3256
|
keyGenerator: () => string
|
|
@@ -5829,14 +3274,6 @@ declare const editorMachine: StateMachine<
|
|
|
5829
3274
|
| InternalPatchEvent
|
|
5830
3275
|
| MutationEvent
|
|
5831
3276
|
| PatchesEvent
|
|
5832
|
-
| {
|
|
5833
|
-
type: 'add behavior'
|
|
5834
|
-
behavior: Behavior
|
|
5835
|
-
}
|
|
5836
|
-
| {
|
|
5837
|
-
type: 'remove behavior'
|
|
5838
|
-
behavior: Behavior
|
|
5839
|
-
}
|
|
5840
3277
|
| {
|
|
5841
3278
|
type: 'update readOnly'
|
|
5842
3279
|
readOnly: boolean
|
|
@@ -5857,6 +3294,14 @@ declare const editorMachine: StateMachine<
|
|
|
5857
3294
|
type: 'update maxBlocks'
|
|
5858
3295
|
maxBlocks: number | undefined
|
|
5859
3296
|
}
|
|
3297
|
+
| {
|
|
3298
|
+
type: 'add behavior'
|
|
3299
|
+
behaviorConfig: BehaviorConfig
|
|
3300
|
+
}
|
|
3301
|
+
| {
|
|
3302
|
+
type: 'remove behavior'
|
|
3303
|
+
behaviorConfig: BehaviorConfig
|
|
3304
|
+
}
|
|
5860
3305
|
| {
|
|
5861
3306
|
type: 'blur'
|
|
5862
3307
|
editor: PortableTextSlateEditor
|
|
@@ -5966,7 +3411,7 @@ declare const editorMachine: StateMachine<
|
|
|
5966
3411
|
readonly 'update value': {
|
|
5967
3412
|
readonly actions: ActionFunction<
|
|
5968
3413
|
{
|
|
5969
|
-
behaviors: Set<
|
|
3414
|
+
behaviors: Set<BehaviorConfig>
|
|
5970
3415
|
converters: Set<Converter>
|
|
5971
3416
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
5972
3417
|
keyGenerator: () => string
|
|
@@ -5990,14 +3435,6 @@ declare const editorMachine: StateMachine<
|
|
|
5990
3435
|
| InternalPatchEvent
|
|
5991
3436
|
| MutationEvent
|
|
5992
3437
|
| PatchesEvent
|
|
5993
|
-
| {
|
|
5994
|
-
type: 'add behavior'
|
|
5995
|
-
behavior: Behavior
|
|
5996
|
-
}
|
|
5997
|
-
| {
|
|
5998
|
-
type: 'remove behavior'
|
|
5999
|
-
behavior: Behavior
|
|
6000
|
-
}
|
|
6001
3438
|
| {
|
|
6002
3439
|
type: 'update readOnly'
|
|
6003
3440
|
readOnly: boolean
|
|
@@ -6018,6 +3455,14 @@ declare const editorMachine: StateMachine<
|
|
|
6018
3455
|
type: 'update maxBlocks'
|
|
6019
3456
|
maxBlocks: number | undefined
|
|
6020
3457
|
}
|
|
3458
|
+
| {
|
|
3459
|
+
type: 'add behavior'
|
|
3460
|
+
behaviorConfig: BehaviorConfig
|
|
3461
|
+
}
|
|
3462
|
+
| {
|
|
3463
|
+
type: 'remove behavior'
|
|
3464
|
+
behaviorConfig: BehaviorConfig
|
|
3465
|
+
}
|
|
6021
3466
|
| {
|
|
6022
3467
|
type: 'blur'
|
|
6023
3468
|
editor: PortableTextSlateEditor
|
|
@@ -6124,7 +3569,7 @@ declare const editorMachine: StateMachine<
|
|
|
6124
3569
|
readonly 'update maxBlocks': {
|
|
6125
3570
|
readonly actions: ActionFunction<
|
|
6126
3571
|
{
|
|
6127
|
-
behaviors: Set<
|
|
3572
|
+
behaviors: Set<BehaviorConfig>
|
|
6128
3573
|
converters: Set<Converter>
|
|
6129
3574
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6130
3575
|
keyGenerator: () => string
|
|
@@ -6148,14 +3593,6 @@ declare const editorMachine: StateMachine<
|
|
|
6148
3593
|
| InternalPatchEvent
|
|
6149
3594
|
| MutationEvent
|
|
6150
3595
|
| PatchesEvent
|
|
6151
|
-
| {
|
|
6152
|
-
type: 'add behavior'
|
|
6153
|
-
behavior: Behavior
|
|
6154
|
-
}
|
|
6155
|
-
| {
|
|
6156
|
-
type: 'remove behavior'
|
|
6157
|
-
behavior: Behavior
|
|
6158
|
-
}
|
|
6159
3596
|
| {
|
|
6160
3597
|
type: 'update readOnly'
|
|
6161
3598
|
readOnly: boolean
|
|
@@ -6176,6 +3613,14 @@ declare const editorMachine: StateMachine<
|
|
|
6176
3613
|
type: 'update maxBlocks'
|
|
6177
3614
|
maxBlocks: number | undefined
|
|
6178
3615
|
}
|
|
3616
|
+
| {
|
|
3617
|
+
type: 'add behavior'
|
|
3618
|
+
behaviorConfig: BehaviorConfig
|
|
3619
|
+
}
|
|
3620
|
+
| {
|
|
3621
|
+
type: 'remove behavior'
|
|
3622
|
+
behaviorConfig: BehaviorConfig
|
|
3623
|
+
}
|
|
6179
3624
|
| {
|
|
6180
3625
|
type: 'blur'
|
|
6181
3626
|
editor: PortableTextSlateEditor
|
|
@@ -6294,7 +3739,7 @@ declare const editorMachine: StateMachine<
|
|
|
6294
3739
|
event,
|
|
6295
3740
|
}: GuardArgs<
|
|
6296
3741
|
{
|
|
6297
|
-
behaviors: Set<
|
|
3742
|
+
behaviors: Set<BehaviorConfig>
|
|
6298
3743
|
converters: Set<Converter>
|
|
6299
3744
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6300
3745
|
keyGenerator: () => string
|
|
@@ -6332,7 +3777,7 @@ declare const editorMachine: StateMachine<
|
|
|
6332
3777
|
context,
|
|
6333
3778
|
}: GuardArgs<
|
|
6334
3779
|
{
|
|
6335
|
-
behaviors: Set<
|
|
3780
|
+
behaviors: Set<BehaviorConfig>
|
|
6336
3781
|
converters: Set<Converter>
|
|
6337
3782
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6338
3783
|
keyGenerator: () => string
|
|
@@ -6369,7 +3814,7 @@ declare const editorMachine: StateMachine<
|
|
|
6369
3814
|
event,
|
|
6370
3815
|
}: GuardArgs<
|
|
6371
3816
|
{
|
|
6372
|
-
behaviors: Set<
|
|
3817
|
+
behaviors: Set<BehaviorConfig>
|
|
6373
3818
|
converters: Set<Converter>
|
|
6374
3819
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6375
3820
|
keyGenerator: () => string
|
|
@@ -6405,7 +3850,7 @@ declare const editorMachine: StateMachine<
|
|
|
6405
3850
|
event,
|
|
6406
3851
|
}: GuardArgs<
|
|
6407
3852
|
{
|
|
6408
|
-
behaviors: Set<
|
|
3853
|
+
behaviors: Set<BehaviorConfig>
|
|
6409
3854
|
converters: Set<Converter>
|
|
6410
3855
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6411
3856
|
keyGenerator: () => string
|
|
@@ -6441,7 +3886,7 @@ declare const editorMachine: StateMachine<
|
|
|
6441
3886
|
readonly actions: readonly [
|
|
6442
3887
|
ActionFunction<
|
|
6443
3888
|
{
|
|
6444
|
-
behaviors: Set<
|
|
3889
|
+
behaviors: Set<BehaviorConfig>
|
|
6445
3890
|
converters: Set<Converter>
|
|
6446
3891
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6447
3892
|
keyGenerator: () => string
|
|
@@ -6465,14 +3910,6 @@ declare const editorMachine: StateMachine<
|
|
|
6465
3910
|
| InternalPatchEvent
|
|
6466
3911
|
| MutationEvent
|
|
6467
3912
|
| PatchesEvent
|
|
6468
|
-
| {
|
|
6469
|
-
type: 'add behavior'
|
|
6470
|
-
behavior: Behavior
|
|
6471
|
-
}
|
|
6472
|
-
| {
|
|
6473
|
-
type: 'remove behavior'
|
|
6474
|
-
behavior: Behavior
|
|
6475
|
-
}
|
|
6476
3913
|
| {
|
|
6477
3914
|
type: 'update readOnly'
|
|
6478
3915
|
readOnly: boolean
|
|
@@ -6493,6 +3930,14 @@ declare const editorMachine: StateMachine<
|
|
|
6493
3930
|
type: 'update maxBlocks'
|
|
6494
3931
|
maxBlocks: number | undefined
|
|
6495
3932
|
}
|
|
3933
|
+
| {
|
|
3934
|
+
type: 'add behavior'
|
|
3935
|
+
behaviorConfig: BehaviorConfig
|
|
3936
|
+
}
|
|
3937
|
+
| {
|
|
3938
|
+
type: 'remove behavior'
|
|
3939
|
+
behaviorConfig: BehaviorConfig
|
|
3940
|
+
}
|
|
6496
3941
|
| {
|
|
6497
3942
|
type: 'blur'
|
|
6498
3943
|
editor: PortableTextSlateEditor
|
|
@@ -6606,7 +4051,7 @@ declare const editorMachine: StateMachine<
|
|
|
6606
4051
|
readonly actions: readonly [
|
|
6607
4052
|
ActionFunction<
|
|
6608
4053
|
{
|
|
6609
|
-
behaviors: Set<
|
|
4054
|
+
behaviors: Set<BehaviorConfig>
|
|
6610
4055
|
converters: Set<Converter>
|
|
6611
4056
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6612
4057
|
keyGenerator: () => string
|
|
@@ -6633,14 +4078,6 @@ declare const editorMachine: StateMachine<
|
|
|
6633
4078
|
| InternalPatchEvent
|
|
6634
4079
|
| MutationEvent
|
|
6635
4080
|
| PatchesEvent
|
|
6636
|
-
| {
|
|
6637
|
-
type: 'add behavior'
|
|
6638
|
-
behavior: Behavior
|
|
6639
|
-
}
|
|
6640
|
-
| {
|
|
6641
|
-
type: 'remove behavior'
|
|
6642
|
-
behavior: Behavior
|
|
6643
|
-
}
|
|
6644
4081
|
| {
|
|
6645
4082
|
type: 'update readOnly'
|
|
6646
4083
|
readOnly: boolean
|
|
@@ -6661,6 +4098,14 @@ declare const editorMachine: StateMachine<
|
|
|
6661
4098
|
type: 'update maxBlocks'
|
|
6662
4099
|
maxBlocks: number | undefined
|
|
6663
4100
|
}
|
|
4101
|
+
| {
|
|
4102
|
+
type: 'add behavior'
|
|
4103
|
+
behaviorConfig: BehaviorConfig
|
|
4104
|
+
}
|
|
4105
|
+
| {
|
|
4106
|
+
type: 'remove behavior'
|
|
4107
|
+
behaviorConfig: BehaviorConfig
|
|
4108
|
+
}
|
|
6664
4109
|
| {
|
|
6665
4110
|
type: 'blur'
|
|
6666
4111
|
editor: PortableTextSlateEditor
|
|
@@ -6798,7 +4243,7 @@ declare const editorMachine: StateMachine<
|
|
|
6798
4243
|
context,
|
|
6799
4244
|
}: ActionArgs<
|
|
6800
4245
|
{
|
|
6801
|
-
behaviors: Set<
|
|
4246
|
+
behaviors: Set<BehaviorConfig>
|
|
6802
4247
|
converters: Set<Converter>
|
|
6803
4248
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
6804
4249
|
keyGenerator: () => string
|
|
@@ -6818,14 +4263,6 @@ declare const editorMachine: StateMachine<
|
|
|
6818
4263
|
| InternalPatchEvent
|
|
6819
4264
|
| MutationEvent
|
|
6820
4265
|
| PatchesEvent
|
|
6821
|
-
| {
|
|
6822
|
-
type: 'add behavior'
|
|
6823
|
-
behavior: Behavior
|
|
6824
|
-
}
|
|
6825
|
-
| {
|
|
6826
|
-
type: 'remove behavior'
|
|
6827
|
-
behavior: Behavior
|
|
6828
|
-
}
|
|
6829
4266
|
| {
|
|
6830
4267
|
type: 'update readOnly'
|
|
6831
4268
|
readOnly: boolean
|
|
@@ -6846,6 +4283,14 @@ declare const editorMachine: StateMachine<
|
|
|
6846
4283
|
type: 'update maxBlocks'
|
|
6847
4284
|
maxBlocks: number | undefined
|
|
6848
4285
|
}
|
|
4286
|
+
| {
|
|
4287
|
+
type: 'add behavior'
|
|
4288
|
+
behaviorConfig: BehaviorConfig
|
|
4289
|
+
}
|
|
4290
|
+
| {
|
|
4291
|
+
type: 'remove behavior'
|
|
4292
|
+
behaviorConfig: BehaviorConfig
|
|
4293
|
+
}
|
|
6849
4294
|
| {
|
|
6850
4295
|
type: 'blur'
|
|
6851
4296
|
editor: PortableTextSlateEditor
|
|
@@ -6944,14 +4389,6 @@ declare const editorMachine: StateMachine<
|
|
|
6944
4389
|
| InternalPatchEvent
|
|
6945
4390
|
| MutationEvent
|
|
6946
4391
|
| PatchesEvent
|
|
6947
|
-
| {
|
|
6948
|
-
type: 'add behavior'
|
|
6949
|
-
behavior: Behavior
|
|
6950
|
-
}
|
|
6951
|
-
| {
|
|
6952
|
-
type: 'remove behavior'
|
|
6953
|
-
behavior: Behavior
|
|
6954
|
-
}
|
|
6955
4392
|
| {
|
|
6956
4393
|
type: 'update readOnly'
|
|
6957
4394
|
readOnly: boolean
|
|
@@ -6972,6 +4409,14 @@ declare const editorMachine: StateMachine<
|
|
|
6972
4409
|
type: 'update maxBlocks'
|
|
6973
4410
|
maxBlocks: number | undefined
|
|
6974
4411
|
}
|
|
4412
|
+
| {
|
|
4413
|
+
type: 'add behavior'
|
|
4414
|
+
behaviorConfig: BehaviorConfig
|
|
4415
|
+
}
|
|
4416
|
+
| {
|
|
4417
|
+
type: 'remove behavior'
|
|
4418
|
+
behaviorConfig: BehaviorConfig
|
|
4419
|
+
}
|
|
6975
4420
|
| {
|
|
6976
4421
|
type: 'blur'
|
|
6977
4422
|
editor: PortableTextSlateEditor
|
|
@@ -7070,7 +4515,7 @@ declare const editorMachine: StateMachine<
|
|
|
7070
4515
|
>) => void,
|
|
7071
4516
|
ActionFunction<
|
|
7072
4517
|
{
|
|
7073
|
-
behaviors: Set<
|
|
4518
|
+
behaviors: Set<BehaviorConfig>
|
|
7074
4519
|
converters: Set<Converter>
|
|
7075
4520
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
7076
4521
|
keyGenerator: () => string
|
|
@@ -7090,14 +4535,6 @@ declare const editorMachine: StateMachine<
|
|
|
7090
4535
|
| InternalPatchEvent
|
|
7091
4536
|
| MutationEvent
|
|
7092
4537
|
| PatchesEvent
|
|
7093
|
-
| {
|
|
7094
|
-
type: 'add behavior'
|
|
7095
|
-
behavior: Behavior
|
|
7096
|
-
}
|
|
7097
|
-
| {
|
|
7098
|
-
type: 'remove behavior'
|
|
7099
|
-
behavior: Behavior
|
|
7100
|
-
}
|
|
7101
4538
|
| {
|
|
7102
4539
|
type: 'update readOnly'
|
|
7103
4540
|
readOnly: boolean
|
|
@@ -7118,6 +4555,14 @@ declare const editorMachine: StateMachine<
|
|
|
7118
4555
|
type: 'update maxBlocks'
|
|
7119
4556
|
maxBlocks: number | undefined
|
|
7120
4557
|
}
|
|
4558
|
+
| {
|
|
4559
|
+
type: 'add behavior'
|
|
4560
|
+
behaviorConfig: BehaviorConfig
|
|
4561
|
+
}
|
|
4562
|
+
| {
|
|
4563
|
+
type: 'remove behavior'
|
|
4564
|
+
behaviorConfig: BehaviorConfig
|
|
4565
|
+
}
|
|
7121
4566
|
| {
|
|
7122
4567
|
type: 'blur'
|
|
7123
4568
|
editor: PortableTextSlateEditor
|
|
@@ -7216,14 +4661,6 @@ declare const editorMachine: StateMachine<
|
|
|
7216
4661
|
| InternalPatchEvent
|
|
7217
4662
|
| MutationEvent
|
|
7218
4663
|
| PatchesEvent
|
|
7219
|
-
| {
|
|
7220
|
-
type: 'add behavior'
|
|
7221
|
-
behavior: Behavior
|
|
7222
|
-
}
|
|
7223
|
-
| {
|
|
7224
|
-
type: 'remove behavior'
|
|
7225
|
-
behavior: Behavior
|
|
7226
|
-
}
|
|
7227
4664
|
| {
|
|
7228
4665
|
type: 'update readOnly'
|
|
7229
4666
|
readOnly: boolean
|
|
@@ -7244,6 +4681,14 @@ declare const editorMachine: StateMachine<
|
|
|
7244
4681
|
type: 'update maxBlocks'
|
|
7245
4682
|
maxBlocks: number | undefined
|
|
7246
4683
|
}
|
|
4684
|
+
| {
|
|
4685
|
+
type: 'add behavior'
|
|
4686
|
+
behaviorConfig: BehaviorConfig
|
|
4687
|
+
}
|
|
4688
|
+
| {
|
|
4689
|
+
type: 'remove behavior'
|
|
4690
|
+
behaviorConfig: BehaviorConfig
|
|
4691
|
+
}
|
|
7247
4692
|
| {
|
|
7248
4693
|
type: 'blur'
|
|
7249
4694
|
editor: PortableTextSlateEditor
|
|
@@ -7397,7 +4842,7 @@ declare const editorMachine: StateMachine<
|
|
|
7397
4842
|
readonly actions: readonly [
|
|
7398
4843
|
ActionFunction<
|
|
7399
4844
|
{
|
|
7400
|
-
behaviors: Set<
|
|
4845
|
+
behaviors: Set<BehaviorConfig>
|
|
7401
4846
|
converters: Set<Converter>
|
|
7402
4847
|
getLegacySchema: () => PortableTextMemberSchemaTypes
|
|
7403
4848
|
keyGenerator: () => string
|
|
@@ -7422,14 +4867,6 @@ declare const editorMachine: StateMachine<
|
|
|
7422
4867
|
| InternalPatchEvent
|
|
7423
4868
|
| MutationEvent
|
|
7424
4869
|
| PatchesEvent
|
|
7425
|
-
| {
|
|
7426
|
-
type: 'add behavior'
|
|
7427
|
-
behavior: Behavior
|
|
7428
|
-
}
|
|
7429
|
-
| {
|
|
7430
|
-
type: 'remove behavior'
|
|
7431
|
-
behavior: Behavior
|
|
7432
|
-
}
|
|
7433
4870
|
| {
|
|
7434
4871
|
type: 'update readOnly'
|
|
7435
4872
|
readOnly: boolean
|
|
@@ -7450,6 +4887,14 @@ declare const editorMachine: StateMachine<
|
|
|
7450
4887
|
type: 'update maxBlocks'
|
|
7451
4888
|
maxBlocks: number | undefined
|
|
7452
4889
|
}
|
|
4890
|
+
| {
|
|
4891
|
+
type: 'add behavior'
|
|
4892
|
+
behaviorConfig: BehaviorConfig
|
|
4893
|
+
}
|
|
4894
|
+
| {
|
|
4895
|
+
type: 'remove behavior'
|
|
4896
|
+
behaviorConfig: BehaviorConfig
|
|
4897
|
+
}
|
|
7453
4898
|
| {
|
|
7454
4899
|
type: 'blur'
|
|
7455
4900
|
editor: PortableTextSlateEditor
|
|
@@ -7681,6 +5126,15 @@ declare const editorMachine: StateMachine<
|
|
|
7681
5126
|
}
|
|
7682
5127
|
>
|
|
7683
5128
|
|
|
5129
|
+
declare type EditorPriority = {
|
|
5130
|
+
id: string
|
|
5131
|
+
name?: string
|
|
5132
|
+
reference?: {
|
|
5133
|
+
priority: EditorPriority
|
|
5134
|
+
importance: 'higher' | 'lower'
|
|
5135
|
+
}
|
|
5136
|
+
}
|
|
5137
|
+
|
|
7684
5138
|
/**
|
|
7685
5139
|
* @public
|
|
7686
5140
|
*/
|
|
@@ -7842,7 +5296,7 @@ declare type InputBehaviorEvent = {
|
|
|
7842
5296
|
declare type InsertPlacement = 'auto' | 'after' | 'before'
|
|
7843
5297
|
|
|
7844
5298
|
declare type InternalPatchEvent = NamespaceEvent<PatchEvent, 'internal'> & {
|
|
7845
|
-
|
|
5299
|
+
operationId?: string
|
|
7846
5300
|
value: Array<PortableTextBlock>
|
|
7847
5301
|
}
|
|
7848
5302
|
|