@portabletext/editor 1.24.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_chunks-cjs/behavior.core.cjs +283 -64
- package/lib/_chunks-cjs/behavior.core.cjs.map +1 -1
- package/lib/_chunks-cjs/selector.get-text-before.cjs +8 -8
- package/lib/_chunks-cjs/selector.get-text-before.cjs.map +1 -1
- package/lib/_chunks-cjs/selector.is-at-the-start-of-block.cjs +412 -0
- package/lib/_chunks-cjs/selector.is-at-the-start-of-block.cjs.map +1 -0
- package/lib/_chunks-cjs/util.is-empty-text-block.cjs +2 -2
- package/lib/_chunks-cjs/util.is-empty-text-block.cjs.map +1 -1
- package/lib/_chunks-cjs/util.is-equal-selection-points.cjs +46 -0
- package/lib/_chunks-cjs/util.is-equal-selection-points.cjs.map +1 -0
- package/lib/_chunks-cjs/util.reverse-selection.cjs +0 -16
- package/lib/_chunks-cjs/util.reverse-selection.cjs.map +1 -1
- package/lib/_chunks-es/behavior.core.js +259 -40
- package/lib/_chunks-es/behavior.core.js.map +1 -1
- package/lib/_chunks-es/selector.get-text-before.js +2 -2
- package/lib/_chunks-es/selector.is-at-the-start-of-block.js +414 -0
- package/lib/_chunks-es/selector.is-at-the-start-of-block.js.map +1 -0
- package/lib/_chunks-es/util.is-empty-text-block.js +1 -1
- package/lib/_chunks-es/util.is-equal-selection-points.js +47 -0
- package/lib/_chunks-es/util.is-equal-selection-points.js.map +1 -0
- package/lib/_chunks-es/util.reverse-selection.js +0 -16
- package/lib/_chunks-es/util.reverse-selection.js.map +1 -1
- package/lib/behaviors/index.cjs +27 -27
- package/lib/behaviors/index.cjs.map +1 -1
- package/lib/behaviors/index.d.cts +2208 -171
- package/lib/behaviors/index.d.ts +2208 -171
- package/lib/behaviors/index.js +1 -1
- package/lib/index.cjs +306 -298
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +10499 -521
- package/lib/index.d.ts +10499 -521
- package/lib/index.js +302 -294
- package/lib/index.js.map +1 -1
- package/lib/selectors/index.cjs +26 -171
- package/lib/selectors/index.cjs.map +1 -1
- package/lib/selectors/index.d.cts +16 -0
- package/lib/selectors/index.d.ts +16 -0
- package/lib/selectors/index.js +5 -151
- package/lib/selectors/index.js.map +1 -1
- package/lib/utils/index.cjs +5 -3
- package/lib/utils/index.cjs.map +1 -1
- package/lib/utils/index.d.cts +19 -0
- package/lib/utils/index.d.ts +19 -0
- package/lib/utils/index.js +4 -2
- package/package.json +6 -6
- package/src/behavior-actions/behavior.action-utils.insert-block.ts +3 -3
- package/src/behavior-actions/behavior.action.block.set.ts +23 -0
- package/src/behavior-actions/behavior.action.block.unset.ts +21 -0
- package/src/behavior-actions/behavior.action.insert-break.ts +2 -69
- package/src/behavior-actions/behavior.action.insert.block.ts +29 -0
- package/src/behavior-actions/behavior.actions.ts +116 -96
- package/src/behaviors/behavior.core.annotations.ts +29 -0
- package/src/behaviors/behavior.core.block-objects.ts +13 -13
- package/src/behaviors/behavior.core.decorators.ts +19 -0
- package/src/behaviors/behavior.core.insert-break.ts +122 -0
- package/src/behaviors/behavior.core.lists.ts +57 -23
- package/src/behaviors/behavior.core.style.ts +19 -0
- package/src/behaviors/behavior.core.ts +18 -2
- package/src/behaviors/behavior.types.ts +103 -88
- package/src/converters/converter.json.ts +4 -4
- package/src/converters/converter.portable-text.deserialize.test.ts +1 -1
- package/src/converters/converter.portable-text.ts +4 -4
- package/src/converters/converter.text-html.deserialize.test.ts +1 -1
- package/src/converters/converter.text-html.serialize.test.ts +1 -1
- package/src/converters/converter.text-html.ts +4 -4
- package/src/converters/converter.text-plain.test.ts +1 -1
- package/src/converters/converter.text-plain.ts +3 -3
- package/src/converters/{converter.ts → converter.types.ts} +6 -0
- package/src/editor/create-editor.ts +50 -7
- package/src/editor/editor-machine.ts +46 -3
- package/src/editor/editor-snapshot.ts +1 -1
- package/src/editor/plugins/__tests__/withPortableTextMarkModel.test.tsx +2 -2
- package/src/editor/plugins/create-with-event-listeners.ts +41 -106
- package/src/selectors/index.ts +2 -0
- package/src/selectors/selector.is-at-the-end-of-block.ts +22 -0
- package/src/selectors/selector.is-at-the-start-of-block.ts +25 -0
- package/src/selectors/selector.is-selection-collapsed.ts +6 -2
- package/src/utils/index.ts +2 -0
- package/src/utils/util.get-block-end-point.ts +34 -0
- package/src/utils/util.is-equal-selection-points.ts +13 -0
- package/lib/_chunks-cjs/selector.is-selection-collapsed.cjs +0 -231
- package/lib/_chunks-cjs/selector.is-selection-collapsed.cjs.map +0 -1
- package/lib/_chunks-cjs/util.is-keyed-segment.cjs +0 -6
- package/lib/_chunks-cjs/util.is-keyed-segment.cjs.map +0 -1
- package/lib/_chunks-es/selector.is-selection-collapsed.js +0 -232
- package/lib/_chunks-es/selector.is-selection-collapsed.js.map +0 -1
- package/lib/_chunks-es/util.is-keyed-segment.js +0 -7
- package/lib/_chunks-es/util.is-keyed-segment.js.map +0 -1
- /package/src/converters/{converters.ts → converters.core.ts} +0 -0
|
@@ -54,104 +54,13 @@ export declare type BehaviorActionIntend =
|
|
|
54
54
|
type: 'raise'
|
|
55
55
|
event: SyntheticBehaviorEvent | CustomBehaviorEvent
|
|
56
56
|
}
|
|
57
|
-
| {
|
|
58
|
-
type: 'annotation.toggle'
|
|
59
|
-
annotation: {
|
|
60
|
-
name: string
|
|
61
|
-
value: {
|
|
62
|
-
[prop: string]: unknown
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
| {
|
|
67
|
-
type: 'decorator.add'
|
|
68
|
-
decorator: string
|
|
69
|
-
}
|
|
70
|
-
| {
|
|
71
|
-
type: 'decorator.remove'
|
|
72
|
-
decorator: string
|
|
73
|
-
}
|
|
74
|
-
| {
|
|
75
|
-
type: 'insert.span'
|
|
76
|
-
text: string
|
|
77
|
-
annotations?: Array<{
|
|
78
|
-
name: string
|
|
79
|
-
value: {
|
|
80
|
-
[prop: string]: unknown
|
|
81
|
-
}
|
|
82
|
-
}>
|
|
83
|
-
decorators?: Array<string>
|
|
84
|
-
}
|
|
85
|
-
| {
|
|
86
|
-
type: 'insert.text block'
|
|
87
|
-
placement: 'auto' | 'after' | 'before'
|
|
88
|
-
textBlock?: {
|
|
89
|
-
children?: PortableTextTextBlock['children']
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
| {
|
|
93
|
-
type: 'list item.add'
|
|
94
|
-
listItem: string
|
|
95
|
-
}
|
|
96
|
-
| {
|
|
97
|
-
type: 'list item.remove'
|
|
98
|
-
listItem: string
|
|
99
|
-
}
|
|
100
|
-
| {
|
|
101
|
-
type: 'move.block'
|
|
102
|
-
at: [KeyedSegment]
|
|
103
|
-
to: [KeyedSegment]
|
|
104
|
-
}
|
|
105
|
-
| {
|
|
106
|
-
type: 'move.block down'
|
|
107
|
-
at: [KeyedSegment]
|
|
108
|
-
}
|
|
109
|
-
| {
|
|
110
|
-
type: 'move.block up'
|
|
111
|
-
at: [KeyedSegment]
|
|
112
|
-
}
|
|
113
57
|
| {
|
|
114
58
|
type: 'noop'
|
|
115
59
|
}
|
|
116
|
-
| {
|
|
117
|
-
type: 'delete.block'
|
|
118
|
-
blockPath: [KeyedSegment]
|
|
119
|
-
}
|
|
120
|
-
| {
|
|
121
|
-
type: 'delete.text'
|
|
122
|
-
anchor: BlockOffset
|
|
123
|
-
focus: BlockOffset
|
|
124
|
-
}
|
|
125
60
|
| {
|
|
126
61
|
type: 'effect'
|
|
127
62
|
effect: () => void
|
|
128
63
|
}
|
|
129
|
-
| {
|
|
130
|
-
type: 'select.previous block'
|
|
131
|
-
}
|
|
132
|
-
| {
|
|
133
|
-
type: 'select.next block'
|
|
134
|
-
}
|
|
135
|
-
| {
|
|
136
|
-
type: 'style.add'
|
|
137
|
-
style: string
|
|
138
|
-
}
|
|
139
|
-
| {
|
|
140
|
-
type: 'style.remove'
|
|
141
|
-
style: string
|
|
142
|
-
}
|
|
143
|
-
| {
|
|
144
|
-
type: 'text block.set'
|
|
145
|
-
at: [KeyedSegment]
|
|
146
|
-
level?: number
|
|
147
|
-
listItem?: string
|
|
148
|
-
style?: string
|
|
149
|
-
}
|
|
150
|
-
| {
|
|
151
|
-
type: 'text block.unset'
|
|
152
|
-
at: [KeyedSegment]
|
|
153
|
-
props: Array<'level' | 'listItem' | 'style'>
|
|
154
|
-
}
|
|
155
64
|
|
|
156
65
|
/**
|
|
157
66
|
* @beta
|
|
@@ -243,6 +152,218 @@ declare type ConverterEvent<TMIMEType extends MIMEType = MIMEType> =
|
|
|
243
152
|
* @beta
|
|
244
153
|
*/
|
|
245
154
|
export declare const coreBehavior: {
|
|
155
|
+
'style': {
|
|
156
|
+
'serialize': Behavior_2<
|
|
157
|
+
| 'focus'
|
|
158
|
+
| 'select'
|
|
159
|
+
| 'serialize'
|
|
160
|
+
| 'copy'
|
|
161
|
+
| 'serialization.failure'
|
|
162
|
+
| 'serialization.success'
|
|
163
|
+
| 'deserialize'
|
|
164
|
+
| 'deserialization.failure'
|
|
165
|
+
| 'deserialization.success'
|
|
166
|
+
| 'annotation.add'
|
|
167
|
+
| 'annotation.remove'
|
|
168
|
+
| 'annotation.toggle'
|
|
169
|
+
| 'block.set'
|
|
170
|
+
| 'block.unset'
|
|
171
|
+
| 'blur'
|
|
172
|
+
| 'data transfer.set'
|
|
173
|
+
| 'decorator.add'
|
|
174
|
+
| 'decorator.remove'
|
|
175
|
+
| 'decorator.toggle'
|
|
176
|
+
| 'delete.backward'
|
|
177
|
+
| 'delete.block'
|
|
178
|
+
| 'delete.forward'
|
|
179
|
+
| 'delete.text'
|
|
180
|
+
| 'insert.blocks'
|
|
181
|
+
| 'insert.block object'
|
|
182
|
+
| 'insert.inline object'
|
|
183
|
+
| 'insert.break'
|
|
184
|
+
| 'insert.soft break'
|
|
185
|
+
| 'insert.block'
|
|
186
|
+
| 'insert.span'
|
|
187
|
+
| 'insert.text'
|
|
188
|
+
| 'insert.text block'
|
|
189
|
+
| 'list item.add'
|
|
190
|
+
| 'list item.remove'
|
|
191
|
+
| 'list item.toggle'
|
|
192
|
+
| 'move.block'
|
|
193
|
+
| 'move.block down'
|
|
194
|
+
| 'move.block up'
|
|
195
|
+
| 'select.previous block'
|
|
196
|
+
| 'select.next block'
|
|
197
|
+
| 'style.add'
|
|
198
|
+
| 'style.remove'
|
|
199
|
+
| 'style.toggle'
|
|
200
|
+
| 'text block.set'
|
|
201
|
+
| 'text block.unset'
|
|
202
|
+
| 'key.down'
|
|
203
|
+
| 'key.up'
|
|
204
|
+
| 'paste'
|
|
205
|
+
| `custom.${string}`,
|
|
206
|
+
true,
|
|
207
|
+
PickFromUnion_2<
|
|
208
|
+
BehaviorEvent_2,
|
|
209
|
+
'type',
|
|
210
|
+
| 'focus'
|
|
211
|
+
| 'select'
|
|
212
|
+
| 'serialize'
|
|
213
|
+
| 'copy'
|
|
214
|
+
| 'serialization.failure'
|
|
215
|
+
| 'serialization.success'
|
|
216
|
+
| 'deserialize'
|
|
217
|
+
| 'deserialization.failure'
|
|
218
|
+
| 'deserialization.success'
|
|
219
|
+
| 'annotation.add'
|
|
220
|
+
| 'annotation.remove'
|
|
221
|
+
| 'annotation.toggle'
|
|
222
|
+
| 'block.set'
|
|
223
|
+
| 'block.unset'
|
|
224
|
+
| 'blur'
|
|
225
|
+
| 'data transfer.set'
|
|
226
|
+
| 'decorator.add'
|
|
227
|
+
| 'decorator.remove'
|
|
228
|
+
| 'decorator.toggle'
|
|
229
|
+
| 'delete.backward'
|
|
230
|
+
| 'delete.block'
|
|
231
|
+
| 'delete.forward'
|
|
232
|
+
| 'delete.text'
|
|
233
|
+
| 'insert.blocks'
|
|
234
|
+
| 'insert.block object'
|
|
235
|
+
| 'insert.inline object'
|
|
236
|
+
| 'insert.break'
|
|
237
|
+
| 'insert.soft break'
|
|
238
|
+
| 'insert.block'
|
|
239
|
+
| 'insert.span'
|
|
240
|
+
| 'insert.text'
|
|
241
|
+
| 'insert.text block'
|
|
242
|
+
| 'list item.add'
|
|
243
|
+
| 'list item.remove'
|
|
244
|
+
| 'list item.toggle'
|
|
245
|
+
| 'move.block'
|
|
246
|
+
| 'move.block down'
|
|
247
|
+
| 'move.block up'
|
|
248
|
+
| 'select.previous block'
|
|
249
|
+
| 'select.next block'
|
|
250
|
+
| 'style.add'
|
|
251
|
+
| 'style.remove'
|
|
252
|
+
| 'style.toggle'
|
|
253
|
+
| 'text block.set'
|
|
254
|
+
| 'text block.unset'
|
|
255
|
+
| 'key.down'
|
|
256
|
+
| 'key.up'
|
|
257
|
+
| 'paste'
|
|
258
|
+
| `custom.${string}`
|
|
259
|
+
>
|
|
260
|
+
>
|
|
261
|
+
'serialization.success': Behavior_2<
|
|
262
|
+
| 'focus'
|
|
263
|
+
| 'select'
|
|
264
|
+
| 'serialize'
|
|
265
|
+
| 'copy'
|
|
266
|
+
| 'serialization.failure'
|
|
267
|
+
| 'serialization.success'
|
|
268
|
+
| 'deserialize'
|
|
269
|
+
| 'deserialization.failure'
|
|
270
|
+
| 'deserialization.success'
|
|
271
|
+
| 'annotation.add'
|
|
272
|
+
| 'annotation.remove'
|
|
273
|
+
| 'annotation.toggle'
|
|
274
|
+
| 'block.set'
|
|
275
|
+
| 'block.unset'
|
|
276
|
+
| 'blur'
|
|
277
|
+
| 'data transfer.set'
|
|
278
|
+
| 'decorator.add'
|
|
279
|
+
| 'decorator.remove'
|
|
280
|
+
| 'decorator.toggle'
|
|
281
|
+
| 'delete.backward'
|
|
282
|
+
| 'delete.block'
|
|
283
|
+
| 'delete.forward'
|
|
284
|
+
| 'delete.text'
|
|
285
|
+
| 'insert.blocks'
|
|
286
|
+
| 'insert.block object'
|
|
287
|
+
| 'insert.inline object'
|
|
288
|
+
| 'insert.break'
|
|
289
|
+
| 'insert.soft break'
|
|
290
|
+
| 'insert.block'
|
|
291
|
+
| 'insert.span'
|
|
292
|
+
| 'insert.text'
|
|
293
|
+
| 'insert.text block'
|
|
294
|
+
| 'list item.add'
|
|
295
|
+
| 'list item.remove'
|
|
296
|
+
| 'list item.toggle'
|
|
297
|
+
| 'move.block'
|
|
298
|
+
| 'move.block down'
|
|
299
|
+
| 'move.block up'
|
|
300
|
+
| 'select.previous block'
|
|
301
|
+
| 'select.next block'
|
|
302
|
+
| 'style.add'
|
|
303
|
+
| 'style.remove'
|
|
304
|
+
| 'style.toggle'
|
|
305
|
+
| 'text block.set'
|
|
306
|
+
| 'text block.unset'
|
|
307
|
+
| 'key.down'
|
|
308
|
+
| 'key.up'
|
|
309
|
+
| 'paste'
|
|
310
|
+
| `custom.${string}`,
|
|
311
|
+
true,
|
|
312
|
+
PickFromUnion_2<
|
|
313
|
+
BehaviorEvent_2,
|
|
314
|
+
'type',
|
|
315
|
+
| 'focus'
|
|
316
|
+
| 'select'
|
|
317
|
+
| 'serialize'
|
|
318
|
+
| 'copy'
|
|
319
|
+
| 'serialization.failure'
|
|
320
|
+
| 'serialization.success'
|
|
321
|
+
| 'deserialize'
|
|
322
|
+
| 'deserialization.failure'
|
|
323
|
+
| 'deserialization.success'
|
|
324
|
+
| 'annotation.add'
|
|
325
|
+
| 'annotation.remove'
|
|
326
|
+
| 'annotation.toggle'
|
|
327
|
+
| 'block.set'
|
|
328
|
+
| 'block.unset'
|
|
329
|
+
| 'blur'
|
|
330
|
+
| 'data transfer.set'
|
|
331
|
+
| 'decorator.add'
|
|
332
|
+
| 'decorator.remove'
|
|
333
|
+
| 'decorator.toggle'
|
|
334
|
+
| 'delete.backward'
|
|
335
|
+
| 'delete.block'
|
|
336
|
+
| 'delete.forward'
|
|
337
|
+
| 'delete.text'
|
|
338
|
+
| 'insert.blocks'
|
|
339
|
+
| 'insert.block object'
|
|
340
|
+
| 'insert.inline object'
|
|
341
|
+
| 'insert.break'
|
|
342
|
+
| 'insert.soft break'
|
|
343
|
+
| 'insert.block'
|
|
344
|
+
| 'insert.span'
|
|
345
|
+
| 'insert.text'
|
|
346
|
+
| 'insert.text block'
|
|
347
|
+
| 'list item.add'
|
|
348
|
+
| 'list item.remove'
|
|
349
|
+
| 'list item.toggle'
|
|
350
|
+
| 'move.block'
|
|
351
|
+
| 'move.block down'
|
|
352
|
+
| 'move.block up'
|
|
353
|
+
| 'select.previous block'
|
|
354
|
+
| 'select.next block'
|
|
355
|
+
| 'style.add'
|
|
356
|
+
| 'style.remove'
|
|
357
|
+
| 'style.toggle'
|
|
358
|
+
| 'text block.set'
|
|
359
|
+
| 'text block.unset'
|
|
360
|
+
| 'key.down'
|
|
361
|
+
| 'key.up'
|
|
362
|
+
| 'paste'
|
|
363
|
+
| `custom.${string}`
|
|
364
|
+
>
|
|
365
|
+
>
|
|
366
|
+
}
|
|
246
367
|
'serialize': Behavior_2<
|
|
247
368
|
| 'focus'
|
|
248
369
|
| 'select'
|
|
@@ -255,19 +376,40 @@ export declare const coreBehavior: {
|
|
|
255
376
|
| 'deserialization.success'
|
|
256
377
|
| 'annotation.add'
|
|
257
378
|
| 'annotation.remove'
|
|
379
|
+
| 'annotation.toggle'
|
|
380
|
+
| 'block.set'
|
|
381
|
+
| 'block.unset'
|
|
258
382
|
| 'blur'
|
|
259
383
|
| 'data transfer.set'
|
|
384
|
+
| 'decorator.add'
|
|
385
|
+
| 'decorator.remove'
|
|
260
386
|
| 'decorator.toggle'
|
|
261
387
|
| 'delete.backward'
|
|
388
|
+
| 'delete.block'
|
|
262
389
|
| 'delete.forward'
|
|
390
|
+
| 'delete.text'
|
|
263
391
|
| 'insert.blocks'
|
|
264
392
|
| 'insert.block object'
|
|
265
393
|
| 'insert.inline object'
|
|
266
394
|
| 'insert.break'
|
|
267
395
|
| 'insert.soft break'
|
|
396
|
+
| 'insert.block'
|
|
397
|
+
| 'insert.span'
|
|
268
398
|
| 'insert.text'
|
|
399
|
+
| 'insert.text block'
|
|
400
|
+
| 'list item.add'
|
|
401
|
+
| 'list item.remove'
|
|
269
402
|
| 'list item.toggle'
|
|
403
|
+
| 'move.block'
|
|
404
|
+
| 'move.block down'
|
|
405
|
+
| 'move.block up'
|
|
406
|
+
| 'select.previous block'
|
|
407
|
+
| 'select.next block'
|
|
408
|
+
| 'style.add'
|
|
409
|
+
| 'style.remove'
|
|
270
410
|
| 'style.toggle'
|
|
411
|
+
| 'text block.set'
|
|
412
|
+
| 'text block.unset'
|
|
271
413
|
| 'key.down'
|
|
272
414
|
| 'key.up'
|
|
273
415
|
| 'paste'
|
|
@@ -287,19 +429,40 @@ export declare const coreBehavior: {
|
|
|
287
429
|
| 'deserialization.success'
|
|
288
430
|
| 'annotation.add'
|
|
289
431
|
| 'annotation.remove'
|
|
432
|
+
| 'annotation.toggle'
|
|
433
|
+
| 'block.set'
|
|
434
|
+
| 'block.unset'
|
|
290
435
|
| 'blur'
|
|
291
436
|
| 'data transfer.set'
|
|
437
|
+
| 'decorator.add'
|
|
438
|
+
| 'decorator.remove'
|
|
292
439
|
| 'decorator.toggle'
|
|
293
440
|
| 'delete.backward'
|
|
441
|
+
| 'delete.block'
|
|
294
442
|
| 'delete.forward'
|
|
443
|
+
| 'delete.text'
|
|
295
444
|
| 'insert.blocks'
|
|
296
445
|
| 'insert.block object'
|
|
297
446
|
| 'insert.inline object'
|
|
298
447
|
| 'insert.break'
|
|
299
448
|
| 'insert.soft break'
|
|
449
|
+
| 'insert.block'
|
|
450
|
+
| 'insert.span'
|
|
300
451
|
| 'insert.text'
|
|
452
|
+
| 'insert.text block'
|
|
453
|
+
| 'list item.add'
|
|
454
|
+
| 'list item.remove'
|
|
301
455
|
| 'list item.toggle'
|
|
456
|
+
| 'move.block'
|
|
457
|
+
| 'move.block down'
|
|
458
|
+
| 'move.block up'
|
|
459
|
+
| 'select.previous block'
|
|
460
|
+
| 'select.next block'
|
|
461
|
+
| 'style.add'
|
|
462
|
+
| 'style.remove'
|
|
302
463
|
| 'style.toggle'
|
|
464
|
+
| 'text block.set'
|
|
465
|
+
| 'text block.unset'
|
|
303
466
|
| 'key.down'
|
|
304
467
|
| 'key.up'
|
|
305
468
|
| 'paste'
|
|
@@ -318,19 +481,40 @@ export declare const coreBehavior: {
|
|
|
318
481
|
| 'deserialization.success'
|
|
319
482
|
| 'annotation.add'
|
|
320
483
|
| 'annotation.remove'
|
|
484
|
+
| 'annotation.toggle'
|
|
485
|
+
| 'block.set'
|
|
486
|
+
| 'block.unset'
|
|
321
487
|
| 'blur'
|
|
322
488
|
| 'data transfer.set'
|
|
489
|
+
| 'decorator.add'
|
|
490
|
+
| 'decorator.remove'
|
|
323
491
|
| 'decorator.toggle'
|
|
324
492
|
| 'delete.backward'
|
|
493
|
+
| 'delete.block'
|
|
325
494
|
| 'delete.forward'
|
|
495
|
+
| 'delete.text'
|
|
326
496
|
| 'insert.blocks'
|
|
327
497
|
| 'insert.block object'
|
|
328
498
|
| 'insert.inline object'
|
|
329
499
|
| 'insert.break'
|
|
330
500
|
| 'insert.soft break'
|
|
501
|
+
| 'insert.block'
|
|
502
|
+
| 'insert.span'
|
|
331
503
|
| 'insert.text'
|
|
504
|
+
| 'insert.text block'
|
|
505
|
+
| 'list item.add'
|
|
506
|
+
| 'list item.remove'
|
|
332
507
|
| 'list item.toggle'
|
|
508
|
+
| 'move.block'
|
|
509
|
+
| 'move.block down'
|
|
510
|
+
| 'move.block up'
|
|
511
|
+
| 'select.previous block'
|
|
512
|
+
| 'select.next block'
|
|
513
|
+
| 'style.add'
|
|
514
|
+
| 'style.remove'
|
|
333
515
|
| 'style.toggle'
|
|
516
|
+
| 'text block.set'
|
|
517
|
+
| 'text block.unset'
|
|
334
518
|
| 'key.down'
|
|
335
519
|
| 'key.up'
|
|
336
520
|
| 'paste'
|
|
@@ -350,26 +534,996 @@ export declare const coreBehavior: {
|
|
|
350
534
|
| 'deserialization.success'
|
|
351
535
|
| 'annotation.add'
|
|
352
536
|
| 'annotation.remove'
|
|
537
|
+
| 'annotation.toggle'
|
|
538
|
+
| 'block.set'
|
|
539
|
+
| 'block.unset'
|
|
540
|
+
| 'blur'
|
|
541
|
+
| 'data transfer.set'
|
|
542
|
+
| 'decorator.add'
|
|
543
|
+
| 'decorator.remove'
|
|
544
|
+
| 'decorator.toggle'
|
|
545
|
+
| 'delete.backward'
|
|
546
|
+
| 'delete.block'
|
|
547
|
+
| 'delete.forward'
|
|
548
|
+
| 'delete.text'
|
|
549
|
+
| 'insert.blocks'
|
|
550
|
+
| 'insert.block object'
|
|
551
|
+
| 'insert.inline object'
|
|
552
|
+
| 'insert.break'
|
|
553
|
+
| 'insert.soft break'
|
|
554
|
+
| 'insert.block'
|
|
555
|
+
| 'insert.span'
|
|
556
|
+
| 'insert.text'
|
|
557
|
+
| 'insert.text block'
|
|
558
|
+
| 'list item.add'
|
|
559
|
+
| 'list item.remove'
|
|
560
|
+
| 'list item.toggle'
|
|
561
|
+
| 'move.block'
|
|
562
|
+
| 'move.block down'
|
|
563
|
+
| 'move.block up'
|
|
564
|
+
| 'select.previous block'
|
|
565
|
+
| 'select.next block'
|
|
566
|
+
| 'style.add'
|
|
567
|
+
| 'style.remove'
|
|
568
|
+
| 'style.toggle'
|
|
569
|
+
| 'text block.set'
|
|
570
|
+
| 'text block.unset'
|
|
571
|
+
| 'key.down'
|
|
572
|
+
| 'key.up'
|
|
573
|
+
| 'paste'
|
|
574
|
+
| `custom.${string}`
|
|
575
|
+
>
|
|
576
|
+
>
|
|
577
|
+
'softReturn': Behavior_2<
|
|
578
|
+
| 'focus'
|
|
579
|
+
| 'select'
|
|
580
|
+
| 'serialize'
|
|
581
|
+
| 'copy'
|
|
582
|
+
| 'serialization.failure'
|
|
583
|
+
| 'serialization.success'
|
|
584
|
+
| 'deserialize'
|
|
585
|
+
| 'deserialization.failure'
|
|
586
|
+
| 'deserialization.success'
|
|
587
|
+
| 'annotation.add'
|
|
588
|
+
| 'annotation.remove'
|
|
589
|
+
| 'annotation.toggle'
|
|
590
|
+
| 'block.set'
|
|
591
|
+
| 'block.unset'
|
|
592
|
+
| 'blur'
|
|
593
|
+
| 'data transfer.set'
|
|
594
|
+
| 'decorator.add'
|
|
595
|
+
| 'decorator.remove'
|
|
596
|
+
| 'decorator.toggle'
|
|
597
|
+
| 'delete.backward'
|
|
598
|
+
| 'delete.block'
|
|
599
|
+
| 'delete.forward'
|
|
600
|
+
| 'delete.text'
|
|
601
|
+
| 'insert.blocks'
|
|
602
|
+
| 'insert.block object'
|
|
603
|
+
| 'insert.inline object'
|
|
604
|
+
| 'insert.break'
|
|
605
|
+
| 'insert.soft break'
|
|
606
|
+
| 'insert.block'
|
|
607
|
+
| 'insert.span'
|
|
608
|
+
| 'insert.text'
|
|
609
|
+
| 'insert.text block'
|
|
610
|
+
| 'list item.add'
|
|
611
|
+
| 'list item.remove'
|
|
612
|
+
| 'list item.toggle'
|
|
613
|
+
| 'move.block'
|
|
614
|
+
| 'move.block down'
|
|
615
|
+
| 'move.block up'
|
|
616
|
+
| 'select.previous block'
|
|
617
|
+
| 'select.next block'
|
|
618
|
+
| 'style.add'
|
|
619
|
+
| 'style.remove'
|
|
620
|
+
| 'style.toggle'
|
|
621
|
+
| 'text block.set'
|
|
622
|
+
| 'text block.unset'
|
|
623
|
+
| 'key.down'
|
|
624
|
+
| 'key.up'
|
|
625
|
+
| 'paste'
|
|
626
|
+
| `custom.${string}`,
|
|
627
|
+
true,
|
|
628
|
+
PickFromUnion_2<
|
|
629
|
+
BehaviorEvent_2,
|
|
630
|
+
'type',
|
|
631
|
+
| 'focus'
|
|
632
|
+
| 'select'
|
|
633
|
+
| 'serialize'
|
|
634
|
+
| 'copy'
|
|
635
|
+
| 'serialization.failure'
|
|
636
|
+
| 'serialization.success'
|
|
637
|
+
| 'deserialize'
|
|
638
|
+
| 'deserialization.failure'
|
|
639
|
+
| 'deserialization.success'
|
|
640
|
+
| 'annotation.add'
|
|
641
|
+
| 'annotation.remove'
|
|
642
|
+
| 'annotation.toggle'
|
|
643
|
+
| 'block.set'
|
|
644
|
+
| 'block.unset'
|
|
645
|
+
| 'blur'
|
|
646
|
+
| 'data transfer.set'
|
|
647
|
+
| 'decorator.add'
|
|
648
|
+
| 'decorator.remove'
|
|
649
|
+
| 'decorator.toggle'
|
|
650
|
+
| 'delete.backward'
|
|
651
|
+
| 'delete.block'
|
|
652
|
+
| 'delete.forward'
|
|
653
|
+
| 'delete.text'
|
|
654
|
+
| 'insert.blocks'
|
|
655
|
+
| 'insert.block object'
|
|
656
|
+
| 'insert.inline object'
|
|
657
|
+
| 'insert.break'
|
|
658
|
+
| 'insert.soft break'
|
|
659
|
+
| 'insert.block'
|
|
660
|
+
| 'insert.span'
|
|
661
|
+
| 'insert.text'
|
|
662
|
+
| 'insert.text block'
|
|
663
|
+
| 'list item.add'
|
|
664
|
+
| 'list item.remove'
|
|
665
|
+
| 'list item.toggle'
|
|
666
|
+
| 'move.block'
|
|
667
|
+
| 'move.block down'
|
|
668
|
+
| 'move.block up'
|
|
669
|
+
| 'select.previous block'
|
|
670
|
+
| 'select.next block'
|
|
671
|
+
| 'style.add'
|
|
672
|
+
| 'style.remove'
|
|
673
|
+
| 'style.toggle'
|
|
674
|
+
| 'text block.set'
|
|
675
|
+
| 'text block.unset'
|
|
676
|
+
| 'key.down'
|
|
677
|
+
| 'key.up'
|
|
678
|
+
| 'paste'
|
|
679
|
+
| `custom.${string}`
|
|
680
|
+
>
|
|
681
|
+
>
|
|
682
|
+
'annotation': {
|
|
683
|
+
toggleAnnotationOff: Behavior_2<
|
|
684
|
+
| 'focus'
|
|
685
|
+
| 'select'
|
|
686
|
+
| 'serialize'
|
|
687
|
+
| 'copy'
|
|
688
|
+
| 'serialization.failure'
|
|
689
|
+
| 'serialization.success'
|
|
690
|
+
| 'deserialize'
|
|
691
|
+
| 'deserialization.failure'
|
|
692
|
+
| 'deserialization.success'
|
|
693
|
+
| 'annotation.add'
|
|
694
|
+
| 'annotation.remove'
|
|
695
|
+
| 'annotation.toggle'
|
|
696
|
+
| 'block.set'
|
|
697
|
+
| 'block.unset'
|
|
698
|
+
| 'blur'
|
|
699
|
+
| 'data transfer.set'
|
|
700
|
+
| 'decorator.add'
|
|
701
|
+
| 'decorator.remove'
|
|
702
|
+
| 'decorator.toggle'
|
|
703
|
+
| 'delete.backward'
|
|
704
|
+
| 'delete.block'
|
|
705
|
+
| 'delete.forward'
|
|
706
|
+
| 'delete.text'
|
|
707
|
+
| 'insert.blocks'
|
|
708
|
+
| 'insert.block object'
|
|
709
|
+
| 'insert.inline object'
|
|
710
|
+
| 'insert.break'
|
|
711
|
+
| 'insert.soft break'
|
|
712
|
+
| 'insert.block'
|
|
713
|
+
| 'insert.span'
|
|
714
|
+
| 'insert.text'
|
|
715
|
+
| 'insert.text block'
|
|
716
|
+
| 'list item.add'
|
|
717
|
+
| 'list item.remove'
|
|
718
|
+
| 'list item.toggle'
|
|
719
|
+
| 'move.block'
|
|
720
|
+
| 'move.block down'
|
|
721
|
+
| 'move.block up'
|
|
722
|
+
| 'select.previous block'
|
|
723
|
+
| 'select.next block'
|
|
724
|
+
| 'style.add'
|
|
725
|
+
| 'style.remove'
|
|
726
|
+
| 'style.toggle'
|
|
727
|
+
| 'text block.set'
|
|
728
|
+
| 'text block.unset'
|
|
729
|
+
| 'key.down'
|
|
730
|
+
| 'key.up'
|
|
731
|
+
| 'paste'
|
|
732
|
+
| `custom.${string}`,
|
|
733
|
+
true,
|
|
734
|
+
PickFromUnion_2<
|
|
735
|
+
BehaviorEvent_2,
|
|
736
|
+
'type',
|
|
737
|
+
| 'focus'
|
|
738
|
+
| 'select'
|
|
739
|
+
| 'serialize'
|
|
740
|
+
| 'copy'
|
|
741
|
+
| 'serialization.failure'
|
|
742
|
+
| 'serialization.success'
|
|
743
|
+
| 'deserialize'
|
|
744
|
+
| 'deserialization.failure'
|
|
745
|
+
| 'deserialization.success'
|
|
746
|
+
| 'annotation.add'
|
|
747
|
+
| 'annotation.remove'
|
|
748
|
+
| 'annotation.toggle'
|
|
749
|
+
| 'block.set'
|
|
750
|
+
| 'block.unset'
|
|
751
|
+
| 'blur'
|
|
752
|
+
| 'data transfer.set'
|
|
753
|
+
| 'decorator.add'
|
|
754
|
+
| 'decorator.remove'
|
|
755
|
+
| 'decorator.toggle'
|
|
756
|
+
| 'delete.backward'
|
|
757
|
+
| 'delete.block'
|
|
758
|
+
| 'delete.forward'
|
|
759
|
+
| 'delete.text'
|
|
760
|
+
| 'insert.blocks'
|
|
761
|
+
| 'insert.block object'
|
|
762
|
+
| 'insert.inline object'
|
|
763
|
+
| 'insert.break'
|
|
764
|
+
| 'insert.soft break'
|
|
765
|
+
| 'insert.block'
|
|
766
|
+
| 'insert.span'
|
|
767
|
+
| 'insert.text'
|
|
768
|
+
| 'insert.text block'
|
|
769
|
+
| 'list item.add'
|
|
770
|
+
| 'list item.remove'
|
|
771
|
+
| 'list item.toggle'
|
|
772
|
+
| 'move.block'
|
|
773
|
+
| 'move.block down'
|
|
774
|
+
| 'move.block up'
|
|
775
|
+
| 'select.previous block'
|
|
776
|
+
| 'select.next block'
|
|
777
|
+
| 'style.add'
|
|
778
|
+
| 'style.remove'
|
|
779
|
+
| 'style.toggle'
|
|
780
|
+
| 'text block.set'
|
|
781
|
+
| 'text block.unset'
|
|
782
|
+
| 'key.down'
|
|
783
|
+
| 'key.up'
|
|
784
|
+
| 'paste'
|
|
785
|
+
| `custom.${string}`
|
|
786
|
+
>
|
|
787
|
+
>
|
|
788
|
+
toggleAnnotationOn: Behavior_2<
|
|
789
|
+
| 'focus'
|
|
790
|
+
| 'select'
|
|
791
|
+
| 'serialize'
|
|
792
|
+
| 'copy'
|
|
793
|
+
| 'serialization.failure'
|
|
794
|
+
| 'serialization.success'
|
|
795
|
+
| 'deserialize'
|
|
796
|
+
| 'deserialization.failure'
|
|
797
|
+
| 'deserialization.success'
|
|
798
|
+
| 'annotation.add'
|
|
799
|
+
| 'annotation.remove'
|
|
800
|
+
| 'annotation.toggle'
|
|
801
|
+
| 'block.set'
|
|
802
|
+
| 'block.unset'
|
|
803
|
+
| 'blur'
|
|
804
|
+
| 'data transfer.set'
|
|
805
|
+
| 'decorator.add'
|
|
806
|
+
| 'decorator.remove'
|
|
807
|
+
| 'decorator.toggle'
|
|
808
|
+
| 'delete.backward'
|
|
809
|
+
| 'delete.block'
|
|
810
|
+
| 'delete.forward'
|
|
811
|
+
| 'delete.text'
|
|
812
|
+
| 'insert.blocks'
|
|
813
|
+
| 'insert.block object'
|
|
814
|
+
| 'insert.inline object'
|
|
815
|
+
| 'insert.break'
|
|
816
|
+
| 'insert.soft break'
|
|
817
|
+
| 'insert.block'
|
|
818
|
+
| 'insert.span'
|
|
819
|
+
| 'insert.text'
|
|
820
|
+
| 'insert.text block'
|
|
821
|
+
| 'list item.add'
|
|
822
|
+
| 'list item.remove'
|
|
823
|
+
| 'list item.toggle'
|
|
824
|
+
| 'move.block'
|
|
825
|
+
| 'move.block down'
|
|
826
|
+
| 'move.block up'
|
|
827
|
+
| 'select.previous block'
|
|
828
|
+
| 'select.next block'
|
|
829
|
+
| 'style.add'
|
|
830
|
+
| 'style.remove'
|
|
831
|
+
| 'style.toggle'
|
|
832
|
+
| 'text block.set'
|
|
833
|
+
| 'text block.unset'
|
|
834
|
+
| 'key.down'
|
|
835
|
+
| 'key.up'
|
|
836
|
+
| 'paste'
|
|
837
|
+
| `custom.${string}`,
|
|
838
|
+
true,
|
|
839
|
+
PickFromUnion_2<
|
|
840
|
+
BehaviorEvent_2,
|
|
841
|
+
'type',
|
|
842
|
+
| 'focus'
|
|
843
|
+
| 'select'
|
|
844
|
+
| 'serialize'
|
|
845
|
+
| 'copy'
|
|
846
|
+
| 'serialization.failure'
|
|
847
|
+
| 'serialization.success'
|
|
848
|
+
| 'deserialize'
|
|
849
|
+
| 'deserialization.failure'
|
|
850
|
+
| 'deserialization.success'
|
|
851
|
+
| 'annotation.add'
|
|
852
|
+
| 'annotation.remove'
|
|
853
|
+
| 'annotation.toggle'
|
|
854
|
+
| 'block.set'
|
|
855
|
+
| 'block.unset'
|
|
856
|
+
| 'blur'
|
|
857
|
+
| 'data transfer.set'
|
|
858
|
+
| 'decorator.add'
|
|
859
|
+
| 'decorator.remove'
|
|
860
|
+
| 'decorator.toggle'
|
|
861
|
+
| 'delete.backward'
|
|
862
|
+
| 'delete.block'
|
|
863
|
+
| 'delete.forward'
|
|
864
|
+
| 'delete.text'
|
|
865
|
+
| 'insert.blocks'
|
|
866
|
+
| 'insert.block object'
|
|
867
|
+
| 'insert.inline object'
|
|
868
|
+
| 'insert.break'
|
|
869
|
+
| 'insert.soft break'
|
|
870
|
+
| 'insert.block'
|
|
871
|
+
| 'insert.span'
|
|
872
|
+
| 'insert.text'
|
|
873
|
+
| 'insert.text block'
|
|
874
|
+
| 'list item.add'
|
|
875
|
+
| 'list item.remove'
|
|
876
|
+
| 'list item.toggle'
|
|
877
|
+
| 'move.block'
|
|
878
|
+
| 'move.block down'
|
|
879
|
+
| 'move.block up'
|
|
880
|
+
| 'select.previous block'
|
|
881
|
+
| 'select.next block'
|
|
882
|
+
| 'style.add'
|
|
883
|
+
| 'style.remove'
|
|
884
|
+
| 'style.toggle'
|
|
885
|
+
| 'text block.set'
|
|
886
|
+
| 'text block.unset'
|
|
887
|
+
| 'key.down'
|
|
888
|
+
| 'key.up'
|
|
889
|
+
| 'paste'
|
|
890
|
+
| `custom.${string}`
|
|
891
|
+
>
|
|
892
|
+
>
|
|
893
|
+
}
|
|
894
|
+
'decorators': {
|
|
895
|
+
toggleDecoratorOff: Behavior_2<
|
|
896
|
+
| 'focus'
|
|
897
|
+
| 'select'
|
|
898
|
+
| 'serialize'
|
|
899
|
+
| 'copy'
|
|
900
|
+
| 'serialization.failure'
|
|
901
|
+
| 'serialization.success'
|
|
902
|
+
| 'deserialize'
|
|
903
|
+
| 'deserialization.failure'
|
|
904
|
+
| 'deserialization.success'
|
|
905
|
+
| 'annotation.add'
|
|
906
|
+
| 'annotation.remove'
|
|
907
|
+
| 'annotation.toggle'
|
|
908
|
+
| 'block.set'
|
|
909
|
+
| 'block.unset'
|
|
910
|
+
| 'blur'
|
|
911
|
+
| 'data transfer.set'
|
|
912
|
+
| 'decorator.add'
|
|
913
|
+
| 'decorator.remove'
|
|
914
|
+
| 'decorator.toggle'
|
|
915
|
+
| 'delete.backward'
|
|
916
|
+
| 'delete.block'
|
|
917
|
+
| 'delete.forward'
|
|
918
|
+
| 'delete.text'
|
|
919
|
+
| 'insert.blocks'
|
|
920
|
+
| 'insert.block object'
|
|
921
|
+
| 'insert.inline object'
|
|
922
|
+
| 'insert.break'
|
|
923
|
+
| 'insert.soft break'
|
|
924
|
+
| 'insert.block'
|
|
925
|
+
| 'insert.span'
|
|
926
|
+
| 'insert.text'
|
|
927
|
+
| 'insert.text block'
|
|
928
|
+
| 'list item.add'
|
|
929
|
+
| 'list item.remove'
|
|
930
|
+
| 'list item.toggle'
|
|
931
|
+
| 'move.block'
|
|
932
|
+
| 'move.block down'
|
|
933
|
+
| 'move.block up'
|
|
934
|
+
| 'select.previous block'
|
|
935
|
+
| 'select.next block'
|
|
936
|
+
| 'style.add'
|
|
937
|
+
| 'style.remove'
|
|
938
|
+
| 'style.toggle'
|
|
939
|
+
| 'text block.set'
|
|
940
|
+
| 'text block.unset'
|
|
941
|
+
| 'key.down'
|
|
942
|
+
| 'key.up'
|
|
943
|
+
| 'paste'
|
|
944
|
+
| `custom.${string}`,
|
|
945
|
+
true,
|
|
946
|
+
PickFromUnion_2<
|
|
947
|
+
BehaviorEvent_2,
|
|
948
|
+
'type',
|
|
949
|
+
| 'focus'
|
|
950
|
+
| 'select'
|
|
951
|
+
| 'serialize'
|
|
952
|
+
| 'copy'
|
|
953
|
+
| 'serialization.failure'
|
|
954
|
+
| 'serialization.success'
|
|
955
|
+
| 'deserialize'
|
|
956
|
+
| 'deserialization.failure'
|
|
957
|
+
| 'deserialization.success'
|
|
958
|
+
| 'annotation.add'
|
|
959
|
+
| 'annotation.remove'
|
|
960
|
+
| 'annotation.toggle'
|
|
961
|
+
| 'block.set'
|
|
962
|
+
| 'block.unset'
|
|
963
|
+
| 'blur'
|
|
964
|
+
| 'data transfer.set'
|
|
965
|
+
| 'decorator.add'
|
|
966
|
+
| 'decorator.remove'
|
|
967
|
+
| 'decorator.toggle'
|
|
968
|
+
| 'delete.backward'
|
|
969
|
+
| 'delete.block'
|
|
970
|
+
| 'delete.forward'
|
|
971
|
+
| 'delete.text'
|
|
972
|
+
| 'insert.blocks'
|
|
973
|
+
| 'insert.block object'
|
|
974
|
+
| 'insert.inline object'
|
|
975
|
+
| 'insert.break'
|
|
976
|
+
| 'insert.soft break'
|
|
977
|
+
| 'insert.block'
|
|
978
|
+
| 'insert.span'
|
|
979
|
+
| 'insert.text'
|
|
980
|
+
| 'insert.text block'
|
|
981
|
+
| 'list item.add'
|
|
982
|
+
| 'list item.remove'
|
|
983
|
+
| 'list item.toggle'
|
|
984
|
+
| 'move.block'
|
|
985
|
+
| 'move.block down'
|
|
986
|
+
| 'move.block up'
|
|
987
|
+
| 'select.previous block'
|
|
988
|
+
| 'select.next block'
|
|
989
|
+
| 'style.add'
|
|
990
|
+
| 'style.remove'
|
|
991
|
+
| 'style.toggle'
|
|
992
|
+
| 'text block.set'
|
|
993
|
+
| 'text block.unset'
|
|
994
|
+
| 'key.down'
|
|
995
|
+
| 'key.up'
|
|
996
|
+
| 'paste'
|
|
997
|
+
| `custom.${string}`
|
|
998
|
+
>
|
|
999
|
+
>
|
|
1000
|
+
toggleDecoratorOn: Behavior_2<
|
|
1001
|
+
| 'focus'
|
|
1002
|
+
| 'select'
|
|
1003
|
+
| 'serialize'
|
|
1004
|
+
| 'copy'
|
|
1005
|
+
| 'serialization.failure'
|
|
1006
|
+
| 'serialization.success'
|
|
1007
|
+
| 'deserialize'
|
|
1008
|
+
| 'deserialization.failure'
|
|
1009
|
+
| 'deserialization.success'
|
|
1010
|
+
| 'annotation.add'
|
|
1011
|
+
| 'annotation.remove'
|
|
1012
|
+
| 'annotation.toggle'
|
|
1013
|
+
| 'block.set'
|
|
1014
|
+
| 'block.unset'
|
|
1015
|
+
| 'blur'
|
|
1016
|
+
| 'data transfer.set'
|
|
1017
|
+
| 'decorator.add'
|
|
1018
|
+
| 'decorator.remove'
|
|
1019
|
+
| 'decorator.toggle'
|
|
1020
|
+
| 'delete.backward'
|
|
1021
|
+
| 'delete.block'
|
|
1022
|
+
| 'delete.forward'
|
|
1023
|
+
| 'delete.text'
|
|
1024
|
+
| 'insert.blocks'
|
|
1025
|
+
| 'insert.block object'
|
|
1026
|
+
| 'insert.inline object'
|
|
1027
|
+
| 'insert.break'
|
|
1028
|
+
| 'insert.soft break'
|
|
1029
|
+
| 'insert.block'
|
|
1030
|
+
| 'insert.span'
|
|
1031
|
+
| 'insert.text'
|
|
1032
|
+
| 'insert.text block'
|
|
1033
|
+
| 'list item.add'
|
|
1034
|
+
| 'list item.remove'
|
|
1035
|
+
| 'list item.toggle'
|
|
1036
|
+
| 'move.block'
|
|
1037
|
+
| 'move.block down'
|
|
1038
|
+
| 'move.block up'
|
|
1039
|
+
| 'select.previous block'
|
|
1040
|
+
| 'select.next block'
|
|
1041
|
+
| 'style.add'
|
|
1042
|
+
| 'style.remove'
|
|
1043
|
+
| 'style.toggle'
|
|
1044
|
+
| 'text block.set'
|
|
1045
|
+
| 'text block.unset'
|
|
1046
|
+
| 'key.down'
|
|
1047
|
+
| 'key.up'
|
|
1048
|
+
| 'paste'
|
|
1049
|
+
| `custom.${string}`,
|
|
1050
|
+
true,
|
|
1051
|
+
PickFromUnion_2<
|
|
1052
|
+
BehaviorEvent_2,
|
|
1053
|
+
'type',
|
|
1054
|
+
| 'focus'
|
|
1055
|
+
| 'select'
|
|
1056
|
+
| 'serialize'
|
|
1057
|
+
| 'copy'
|
|
1058
|
+
| 'serialization.failure'
|
|
1059
|
+
| 'serialization.success'
|
|
1060
|
+
| 'deserialize'
|
|
1061
|
+
| 'deserialization.failure'
|
|
1062
|
+
| 'deserialization.success'
|
|
1063
|
+
| 'annotation.add'
|
|
1064
|
+
| 'annotation.remove'
|
|
1065
|
+
| 'annotation.toggle'
|
|
1066
|
+
| 'block.set'
|
|
1067
|
+
| 'block.unset'
|
|
1068
|
+
| 'blur'
|
|
1069
|
+
| 'data transfer.set'
|
|
1070
|
+
| 'decorator.add'
|
|
1071
|
+
| 'decorator.remove'
|
|
1072
|
+
| 'decorator.toggle'
|
|
1073
|
+
| 'delete.backward'
|
|
1074
|
+
| 'delete.block'
|
|
1075
|
+
| 'delete.forward'
|
|
1076
|
+
| 'delete.text'
|
|
1077
|
+
| 'insert.blocks'
|
|
1078
|
+
| 'insert.block object'
|
|
1079
|
+
| 'insert.inline object'
|
|
1080
|
+
| 'insert.break'
|
|
1081
|
+
| 'insert.soft break'
|
|
1082
|
+
| 'insert.block'
|
|
1083
|
+
| 'insert.span'
|
|
1084
|
+
| 'insert.text'
|
|
1085
|
+
| 'insert.text block'
|
|
1086
|
+
| 'list item.add'
|
|
1087
|
+
| 'list item.remove'
|
|
1088
|
+
| 'list item.toggle'
|
|
1089
|
+
| 'move.block'
|
|
1090
|
+
| 'move.block down'
|
|
1091
|
+
| 'move.block up'
|
|
1092
|
+
| 'select.previous block'
|
|
1093
|
+
| 'select.next block'
|
|
1094
|
+
| 'style.add'
|
|
1095
|
+
| 'style.remove'
|
|
1096
|
+
| 'style.toggle'
|
|
1097
|
+
| 'text block.set'
|
|
1098
|
+
| 'text block.unset'
|
|
1099
|
+
| 'key.down'
|
|
1100
|
+
| 'key.up'
|
|
1101
|
+
| 'paste'
|
|
1102
|
+
| `custom.${string}`
|
|
1103
|
+
>
|
|
1104
|
+
>
|
|
1105
|
+
strongShortcut: Behavior_2<
|
|
1106
|
+
| 'focus'
|
|
1107
|
+
| 'select'
|
|
1108
|
+
| 'serialize'
|
|
1109
|
+
| 'copy'
|
|
1110
|
+
| 'serialization.failure'
|
|
1111
|
+
| 'serialization.success'
|
|
1112
|
+
| 'deserialize'
|
|
1113
|
+
| 'deserialization.failure'
|
|
1114
|
+
| 'deserialization.success'
|
|
1115
|
+
| 'annotation.add'
|
|
1116
|
+
| 'annotation.remove'
|
|
1117
|
+
| 'annotation.toggle'
|
|
1118
|
+
| 'block.set'
|
|
1119
|
+
| 'block.unset'
|
|
1120
|
+
| 'blur'
|
|
1121
|
+
| 'data transfer.set'
|
|
1122
|
+
| 'decorator.add'
|
|
1123
|
+
| 'decorator.remove'
|
|
1124
|
+
| 'decorator.toggle'
|
|
1125
|
+
| 'delete.backward'
|
|
1126
|
+
| 'delete.block'
|
|
1127
|
+
| 'delete.forward'
|
|
1128
|
+
| 'delete.text'
|
|
1129
|
+
| 'insert.blocks'
|
|
1130
|
+
| 'insert.block object'
|
|
1131
|
+
| 'insert.inline object'
|
|
1132
|
+
| 'insert.break'
|
|
1133
|
+
| 'insert.soft break'
|
|
1134
|
+
| 'insert.block'
|
|
1135
|
+
| 'insert.span'
|
|
1136
|
+
| 'insert.text'
|
|
1137
|
+
| 'insert.text block'
|
|
1138
|
+
| 'list item.add'
|
|
1139
|
+
| 'list item.remove'
|
|
1140
|
+
| 'list item.toggle'
|
|
1141
|
+
| 'move.block'
|
|
1142
|
+
| 'move.block down'
|
|
1143
|
+
| 'move.block up'
|
|
1144
|
+
| 'select.previous block'
|
|
1145
|
+
| 'select.next block'
|
|
1146
|
+
| 'style.add'
|
|
1147
|
+
| 'style.remove'
|
|
1148
|
+
| 'style.toggle'
|
|
1149
|
+
| 'text block.set'
|
|
1150
|
+
| 'text block.unset'
|
|
1151
|
+
| 'key.down'
|
|
1152
|
+
| 'key.up'
|
|
1153
|
+
| 'paste'
|
|
1154
|
+
| `custom.${string}`,
|
|
1155
|
+
true,
|
|
1156
|
+
PickFromUnion_2<
|
|
1157
|
+
BehaviorEvent_2,
|
|
1158
|
+
'type',
|
|
1159
|
+
| 'focus'
|
|
1160
|
+
| 'select'
|
|
1161
|
+
| 'serialize'
|
|
1162
|
+
| 'copy'
|
|
1163
|
+
| 'serialization.failure'
|
|
1164
|
+
| 'serialization.success'
|
|
1165
|
+
| 'deserialize'
|
|
1166
|
+
| 'deserialization.failure'
|
|
1167
|
+
| 'deserialization.success'
|
|
1168
|
+
| 'annotation.add'
|
|
1169
|
+
| 'annotation.remove'
|
|
1170
|
+
| 'annotation.toggle'
|
|
1171
|
+
| 'block.set'
|
|
1172
|
+
| 'block.unset'
|
|
1173
|
+
| 'blur'
|
|
1174
|
+
| 'data transfer.set'
|
|
1175
|
+
| 'decorator.add'
|
|
1176
|
+
| 'decorator.remove'
|
|
1177
|
+
| 'decorator.toggle'
|
|
1178
|
+
| 'delete.backward'
|
|
1179
|
+
| 'delete.block'
|
|
1180
|
+
| 'delete.forward'
|
|
1181
|
+
| 'delete.text'
|
|
1182
|
+
| 'insert.blocks'
|
|
1183
|
+
| 'insert.block object'
|
|
1184
|
+
| 'insert.inline object'
|
|
1185
|
+
| 'insert.break'
|
|
1186
|
+
| 'insert.soft break'
|
|
1187
|
+
| 'insert.block'
|
|
1188
|
+
| 'insert.span'
|
|
1189
|
+
| 'insert.text'
|
|
1190
|
+
| 'insert.text block'
|
|
1191
|
+
| 'list item.add'
|
|
1192
|
+
| 'list item.remove'
|
|
1193
|
+
| 'list item.toggle'
|
|
1194
|
+
| 'move.block'
|
|
1195
|
+
| 'move.block down'
|
|
1196
|
+
| 'move.block up'
|
|
1197
|
+
| 'select.previous block'
|
|
1198
|
+
| 'select.next block'
|
|
1199
|
+
| 'style.add'
|
|
1200
|
+
| 'style.remove'
|
|
1201
|
+
| 'style.toggle'
|
|
1202
|
+
| 'text block.set'
|
|
1203
|
+
| 'text block.unset'
|
|
1204
|
+
| 'key.down'
|
|
1205
|
+
| 'key.up'
|
|
1206
|
+
| 'paste'
|
|
1207
|
+
| `custom.${string}`
|
|
1208
|
+
>
|
|
1209
|
+
>
|
|
1210
|
+
emShortcut: Behavior_2<
|
|
1211
|
+
| 'focus'
|
|
1212
|
+
| 'select'
|
|
1213
|
+
| 'serialize'
|
|
1214
|
+
| 'copy'
|
|
1215
|
+
| 'serialization.failure'
|
|
1216
|
+
| 'serialization.success'
|
|
1217
|
+
| 'deserialize'
|
|
1218
|
+
| 'deserialization.failure'
|
|
1219
|
+
| 'deserialization.success'
|
|
1220
|
+
| 'annotation.add'
|
|
1221
|
+
| 'annotation.remove'
|
|
1222
|
+
| 'annotation.toggle'
|
|
1223
|
+
| 'block.set'
|
|
1224
|
+
| 'block.unset'
|
|
1225
|
+
| 'blur'
|
|
1226
|
+
| 'data transfer.set'
|
|
1227
|
+
| 'decorator.add'
|
|
1228
|
+
| 'decorator.remove'
|
|
1229
|
+
| 'decorator.toggle'
|
|
1230
|
+
| 'delete.backward'
|
|
1231
|
+
| 'delete.block'
|
|
1232
|
+
| 'delete.forward'
|
|
1233
|
+
| 'delete.text'
|
|
1234
|
+
| 'insert.blocks'
|
|
1235
|
+
| 'insert.block object'
|
|
1236
|
+
| 'insert.inline object'
|
|
1237
|
+
| 'insert.break'
|
|
1238
|
+
| 'insert.soft break'
|
|
1239
|
+
| 'insert.block'
|
|
1240
|
+
| 'insert.span'
|
|
1241
|
+
| 'insert.text'
|
|
1242
|
+
| 'insert.text block'
|
|
1243
|
+
| 'list item.add'
|
|
1244
|
+
| 'list item.remove'
|
|
1245
|
+
| 'list item.toggle'
|
|
1246
|
+
| 'move.block'
|
|
1247
|
+
| 'move.block down'
|
|
1248
|
+
| 'move.block up'
|
|
1249
|
+
| 'select.previous block'
|
|
1250
|
+
| 'select.next block'
|
|
1251
|
+
| 'style.add'
|
|
1252
|
+
| 'style.remove'
|
|
1253
|
+
| 'style.toggle'
|
|
1254
|
+
| 'text block.set'
|
|
1255
|
+
| 'text block.unset'
|
|
1256
|
+
| 'key.down'
|
|
1257
|
+
| 'key.up'
|
|
1258
|
+
| 'paste'
|
|
1259
|
+
| `custom.${string}`,
|
|
1260
|
+
true,
|
|
1261
|
+
PickFromUnion_2<
|
|
1262
|
+
BehaviorEvent_2,
|
|
1263
|
+
'type',
|
|
1264
|
+
| 'focus'
|
|
1265
|
+
| 'select'
|
|
1266
|
+
| 'serialize'
|
|
1267
|
+
| 'copy'
|
|
1268
|
+
| 'serialization.failure'
|
|
1269
|
+
| 'serialization.success'
|
|
1270
|
+
| 'deserialize'
|
|
1271
|
+
| 'deserialization.failure'
|
|
1272
|
+
| 'deserialization.success'
|
|
1273
|
+
| 'annotation.add'
|
|
1274
|
+
| 'annotation.remove'
|
|
1275
|
+
| 'annotation.toggle'
|
|
1276
|
+
| 'block.set'
|
|
1277
|
+
| 'block.unset'
|
|
1278
|
+
| 'blur'
|
|
1279
|
+
| 'data transfer.set'
|
|
1280
|
+
| 'decorator.add'
|
|
1281
|
+
| 'decorator.remove'
|
|
1282
|
+
| 'decorator.toggle'
|
|
1283
|
+
| 'delete.backward'
|
|
1284
|
+
| 'delete.block'
|
|
1285
|
+
| 'delete.forward'
|
|
1286
|
+
| 'delete.text'
|
|
1287
|
+
| 'insert.blocks'
|
|
1288
|
+
| 'insert.block object'
|
|
1289
|
+
| 'insert.inline object'
|
|
1290
|
+
| 'insert.break'
|
|
1291
|
+
| 'insert.soft break'
|
|
1292
|
+
| 'insert.block'
|
|
1293
|
+
| 'insert.span'
|
|
1294
|
+
| 'insert.text'
|
|
1295
|
+
| 'insert.text block'
|
|
1296
|
+
| 'list item.add'
|
|
1297
|
+
| 'list item.remove'
|
|
1298
|
+
| 'list item.toggle'
|
|
1299
|
+
| 'move.block'
|
|
1300
|
+
| 'move.block down'
|
|
1301
|
+
| 'move.block up'
|
|
1302
|
+
| 'select.previous block'
|
|
1303
|
+
| 'select.next block'
|
|
1304
|
+
| 'style.add'
|
|
1305
|
+
| 'style.remove'
|
|
1306
|
+
| 'style.toggle'
|
|
1307
|
+
| 'text block.set'
|
|
1308
|
+
| 'text block.unset'
|
|
1309
|
+
| 'key.down'
|
|
1310
|
+
| 'key.up'
|
|
1311
|
+
| 'paste'
|
|
1312
|
+
| `custom.${string}`
|
|
1313
|
+
>
|
|
1314
|
+
>
|
|
1315
|
+
underlineShortcut: Behavior_2<
|
|
1316
|
+
| 'focus'
|
|
1317
|
+
| 'select'
|
|
1318
|
+
| 'serialize'
|
|
1319
|
+
| 'copy'
|
|
1320
|
+
| 'serialization.failure'
|
|
1321
|
+
| 'serialization.success'
|
|
1322
|
+
| 'deserialize'
|
|
1323
|
+
| 'deserialization.failure'
|
|
1324
|
+
| 'deserialization.success'
|
|
1325
|
+
| 'annotation.add'
|
|
1326
|
+
| 'annotation.remove'
|
|
1327
|
+
| 'annotation.toggle'
|
|
1328
|
+
| 'block.set'
|
|
1329
|
+
| 'block.unset'
|
|
1330
|
+
| 'blur'
|
|
1331
|
+
| 'data transfer.set'
|
|
1332
|
+
| 'decorator.add'
|
|
1333
|
+
| 'decorator.remove'
|
|
1334
|
+
| 'decorator.toggle'
|
|
1335
|
+
| 'delete.backward'
|
|
1336
|
+
| 'delete.block'
|
|
1337
|
+
| 'delete.forward'
|
|
1338
|
+
| 'delete.text'
|
|
1339
|
+
| 'insert.blocks'
|
|
1340
|
+
| 'insert.block object'
|
|
1341
|
+
| 'insert.inline object'
|
|
1342
|
+
| 'insert.break'
|
|
1343
|
+
| 'insert.soft break'
|
|
1344
|
+
| 'insert.block'
|
|
1345
|
+
| 'insert.span'
|
|
1346
|
+
| 'insert.text'
|
|
1347
|
+
| 'insert.text block'
|
|
1348
|
+
| 'list item.add'
|
|
1349
|
+
| 'list item.remove'
|
|
1350
|
+
| 'list item.toggle'
|
|
1351
|
+
| 'move.block'
|
|
1352
|
+
| 'move.block down'
|
|
1353
|
+
| 'move.block up'
|
|
1354
|
+
| 'select.previous block'
|
|
1355
|
+
| 'select.next block'
|
|
1356
|
+
| 'style.add'
|
|
1357
|
+
| 'style.remove'
|
|
1358
|
+
| 'style.toggle'
|
|
1359
|
+
| 'text block.set'
|
|
1360
|
+
| 'text block.unset'
|
|
1361
|
+
| 'key.down'
|
|
1362
|
+
| 'key.up'
|
|
1363
|
+
| 'paste'
|
|
1364
|
+
| `custom.${string}`,
|
|
1365
|
+
true,
|
|
1366
|
+
PickFromUnion_2<
|
|
1367
|
+
BehaviorEvent_2,
|
|
1368
|
+
'type',
|
|
1369
|
+
| 'focus'
|
|
1370
|
+
| 'select'
|
|
1371
|
+
| 'serialize'
|
|
1372
|
+
| 'copy'
|
|
1373
|
+
| 'serialization.failure'
|
|
1374
|
+
| 'serialization.success'
|
|
1375
|
+
| 'deserialize'
|
|
1376
|
+
| 'deserialization.failure'
|
|
1377
|
+
| 'deserialization.success'
|
|
1378
|
+
| 'annotation.add'
|
|
1379
|
+
| 'annotation.remove'
|
|
1380
|
+
| 'annotation.toggle'
|
|
1381
|
+
| 'block.set'
|
|
1382
|
+
| 'block.unset'
|
|
1383
|
+
| 'blur'
|
|
1384
|
+
| 'data transfer.set'
|
|
1385
|
+
| 'decorator.add'
|
|
1386
|
+
| 'decorator.remove'
|
|
1387
|
+
| 'decorator.toggle'
|
|
1388
|
+
| 'delete.backward'
|
|
1389
|
+
| 'delete.block'
|
|
1390
|
+
| 'delete.forward'
|
|
1391
|
+
| 'delete.text'
|
|
1392
|
+
| 'insert.blocks'
|
|
1393
|
+
| 'insert.block object'
|
|
1394
|
+
| 'insert.inline object'
|
|
1395
|
+
| 'insert.break'
|
|
1396
|
+
| 'insert.soft break'
|
|
1397
|
+
| 'insert.block'
|
|
1398
|
+
| 'insert.span'
|
|
1399
|
+
| 'insert.text'
|
|
1400
|
+
| 'insert.text block'
|
|
1401
|
+
| 'list item.add'
|
|
1402
|
+
| 'list item.remove'
|
|
1403
|
+
| 'list item.toggle'
|
|
1404
|
+
| 'move.block'
|
|
1405
|
+
| 'move.block down'
|
|
1406
|
+
| 'move.block up'
|
|
1407
|
+
| 'select.previous block'
|
|
1408
|
+
| 'select.next block'
|
|
1409
|
+
| 'style.add'
|
|
1410
|
+
| 'style.remove'
|
|
1411
|
+
| 'style.toggle'
|
|
1412
|
+
| 'text block.set'
|
|
1413
|
+
| 'text block.unset'
|
|
1414
|
+
| 'key.down'
|
|
1415
|
+
| 'key.up'
|
|
1416
|
+
| 'paste'
|
|
1417
|
+
| `custom.${string}`
|
|
1418
|
+
>
|
|
1419
|
+
>
|
|
1420
|
+
codeShortcut: Behavior_2<
|
|
1421
|
+
| 'focus'
|
|
1422
|
+
| 'select'
|
|
1423
|
+
| 'serialize'
|
|
1424
|
+
| 'copy'
|
|
1425
|
+
| 'serialization.failure'
|
|
1426
|
+
| 'serialization.success'
|
|
1427
|
+
| 'deserialize'
|
|
1428
|
+
| 'deserialization.failure'
|
|
1429
|
+
| 'deserialization.success'
|
|
1430
|
+
| 'annotation.add'
|
|
1431
|
+
| 'annotation.remove'
|
|
1432
|
+
| 'annotation.toggle'
|
|
1433
|
+
| 'block.set'
|
|
1434
|
+
| 'block.unset'
|
|
353
1435
|
| 'blur'
|
|
354
1436
|
| 'data transfer.set'
|
|
1437
|
+
| 'decorator.add'
|
|
1438
|
+
| 'decorator.remove'
|
|
355
1439
|
| 'decorator.toggle'
|
|
356
1440
|
| 'delete.backward'
|
|
1441
|
+
| 'delete.block'
|
|
357
1442
|
| 'delete.forward'
|
|
1443
|
+
| 'delete.text'
|
|
358
1444
|
| 'insert.blocks'
|
|
359
1445
|
| 'insert.block object'
|
|
360
1446
|
| 'insert.inline object'
|
|
361
1447
|
| 'insert.break'
|
|
362
1448
|
| 'insert.soft break'
|
|
1449
|
+
| 'insert.block'
|
|
1450
|
+
| 'insert.span'
|
|
363
1451
|
| 'insert.text'
|
|
1452
|
+
| 'insert.text block'
|
|
1453
|
+
| 'list item.add'
|
|
1454
|
+
| 'list item.remove'
|
|
364
1455
|
| 'list item.toggle'
|
|
1456
|
+
| 'move.block'
|
|
1457
|
+
| 'move.block down'
|
|
1458
|
+
| 'move.block up'
|
|
1459
|
+
| 'select.previous block'
|
|
1460
|
+
| 'select.next block'
|
|
1461
|
+
| 'style.add'
|
|
1462
|
+
| 'style.remove'
|
|
365
1463
|
| 'style.toggle'
|
|
1464
|
+
| 'text block.set'
|
|
1465
|
+
| 'text block.unset'
|
|
366
1466
|
| 'key.down'
|
|
367
1467
|
| 'key.up'
|
|
368
1468
|
| 'paste'
|
|
369
|
-
| `custom.${string}
|
|
1469
|
+
| `custom.${string}`,
|
|
1470
|
+
true,
|
|
1471
|
+
PickFromUnion_2<
|
|
1472
|
+
BehaviorEvent_2,
|
|
1473
|
+
'type',
|
|
1474
|
+
| 'focus'
|
|
1475
|
+
| 'select'
|
|
1476
|
+
| 'serialize'
|
|
1477
|
+
| 'copy'
|
|
1478
|
+
| 'serialization.failure'
|
|
1479
|
+
| 'serialization.success'
|
|
1480
|
+
| 'deserialize'
|
|
1481
|
+
| 'deserialization.failure'
|
|
1482
|
+
| 'deserialization.success'
|
|
1483
|
+
| 'annotation.add'
|
|
1484
|
+
| 'annotation.remove'
|
|
1485
|
+
| 'annotation.toggle'
|
|
1486
|
+
| 'block.set'
|
|
1487
|
+
| 'block.unset'
|
|
1488
|
+
| 'blur'
|
|
1489
|
+
| 'data transfer.set'
|
|
1490
|
+
| 'decorator.add'
|
|
1491
|
+
| 'decorator.remove'
|
|
1492
|
+
| 'decorator.toggle'
|
|
1493
|
+
| 'delete.backward'
|
|
1494
|
+
| 'delete.block'
|
|
1495
|
+
| 'delete.forward'
|
|
1496
|
+
| 'delete.text'
|
|
1497
|
+
| 'insert.blocks'
|
|
1498
|
+
| 'insert.block object'
|
|
1499
|
+
| 'insert.inline object'
|
|
1500
|
+
| 'insert.break'
|
|
1501
|
+
| 'insert.soft break'
|
|
1502
|
+
| 'insert.block'
|
|
1503
|
+
| 'insert.span'
|
|
1504
|
+
| 'insert.text'
|
|
1505
|
+
| 'insert.text block'
|
|
1506
|
+
| 'list item.add'
|
|
1507
|
+
| 'list item.remove'
|
|
1508
|
+
| 'list item.toggle'
|
|
1509
|
+
| 'move.block'
|
|
1510
|
+
| 'move.block down'
|
|
1511
|
+
| 'move.block up'
|
|
1512
|
+
| 'select.previous block'
|
|
1513
|
+
| 'select.next block'
|
|
1514
|
+
| 'style.add'
|
|
1515
|
+
| 'style.remove'
|
|
1516
|
+
| 'style.toggle'
|
|
1517
|
+
| 'text block.set'
|
|
1518
|
+
| 'text block.unset'
|
|
1519
|
+
| 'key.down'
|
|
1520
|
+
| 'key.up'
|
|
1521
|
+
| 'paste'
|
|
1522
|
+
| `custom.${string}`
|
|
1523
|
+
>
|
|
370
1524
|
>
|
|
371
|
-
|
|
372
|
-
'
|
|
1525
|
+
}
|
|
1526
|
+
'deserialize': Behavior_2<
|
|
373
1527
|
| 'focus'
|
|
374
1528
|
| 'select'
|
|
375
1529
|
| 'serialize'
|
|
@@ -381,19 +1535,40 @@ export declare const coreBehavior: {
|
|
|
381
1535
|
| 'deserialization.success'
|
|
382
1536
|
| 'annotation.add'
|
|
383
1537
|
| 'annotation.remove'
|
|
1538
|
+
| 'annotation.toggle'
|
|
1539
|
+
| 'block.set'
|
|
1540
|
+
| 'block.unset'
|
|
384
1541
|
| 'blur'
|
|
385
1542
|
| 'data transfer.set'
|
|
1543
|
+
| 'decorator.add'
|
|
1544
|
+
| 'decorator.remove'
|
|
386
1545
|
| 'decorator.toggle'
|
|
387
1546
|
| 'delete.backward'
|
|
1547
|
+
| 'delete.block'
|
|
388
1548
|
| 'delete.forward'
|
|
1549
|
+
| 'delete.text'
|
|
389
1550
|
| 'insert.blocks'
|
|
390
1551
|
| 'insert.block object'
|
|
391
1552
|
| 'insert.inline object'
|
|
392
1553
|
| 'insert.break'
|
|
393
1554
|
| 'insert.soft break'
|
|
1555
|
+
| 'insert.block'
|
|
1556
|
+
| 'insert.span'
|
|
394
1557
|
| 'insert.text'
|
|
1558
|
+
| 'insert.text block'
|
|
1559
|
+
| 'list item.add'
|
|
1560
|
+
| 'list item.remove'
|
|
395
1561
|
| 'list item.toggle'
|
|
1562
|
+
| 'move.block'
|
|
1563
|
+
| 'move.block down'
|
|
1564
|
+
| 'move.block up'
|
|
1565
|
+
| 'select.previous block'
|
|
1566
|
+
| 'select.next block'
|
|
1567
|
+
| 'style.add'
|
|
1568
|
+
| 'style.remove'
|
|
396
1569
|
| 'style.toggle'
|
|
1570
|
+
| 'text block.set'
|
|
1571
|
+
| 'text block.unset'
|
|
397
1572
|
| 'key.down'
|
|
398
1573
|
| 'key.up'
|
|
399
1574
|
| 'paste'
|
|
@@ -413,27 +1588,48 @@ export declare const coreBehavior: {
|
|
|
413
1588
|
| 'deserialization.success'
|
|
414
1589
|
| 'annotation.add'
|
|
415
1590
|
| 'annotation.remove'
|
|
1591
|
+
| 'annotation.toggle'
|
|
1592
|
+
| 'block.set'
|
|
1593
|
+
| 'block.unset'
|
|
416
1594
|
| 'blur'
|
|
417
1595
|
| 'data transfer.set'
|
|
1596
|
+
| 'decorator.add'
|
|
1597
|
+
| 'decorator.remove'
|
|
418
1598
|
| 'decorator.toggle'
|
|
419
1599
|
| 'delete.backward'
|
|
1600
|
+
| 'delete.block'
|
|
420
1601
|
| 'delete.forward'
|
|
1602
|
+
| 'delete.text'
|
|
421
1603
|
| 'insert.blocks'
|
|
422
1604
|
| 'insert.block object'
|
|
423
1605
|
| 'insert.inline object'
|
|
424
1606
|
| 'insert.break'
|
|
425
1607
|
| 'insert.soft break'
|
|
1608
|
+
| 'insert.block'
|
|
1609
|
+
| 'insert.span'
|
|
426
1610
|
| 'insert.text'
|
|
1611
|
+
| 'insert.text block'
|
|
1612
|
+
| 'list item.add'
|
|
1613
|
+
| 'list item.remove'
|
|
427
1614
|
| 'list item.toggle'
|
|
1615
|
+
| 'move.block'
|
|
1616
|
+
| 'move.block down'
|
|
1617
|
+
| 'move.block up'
|
|
1618
|
+
| 'select.previous block'
|
|
1619
|
+
| 'select.next block'
|
|
1620
|
+
| 'style.add'
|
|
1621
|
+
| 'style.remove'
|
|
428
1622
|
| 'style.toggle'
|
|
1623
|
+
| 'text block.set'
|
|
1624
|
+
| 'text block.unset'
|
|
429
1625
|
| 'key.down'
|
|
430
1626
|
| 'key.up'
|
|
431
1627
|
| 'paste'
|
|
432
1628
|
| `custom.${string}`
|
|
433
1629
|
>
|
|
434
1630
|
>
|
|
435
|
-
'
|
|
436
|
-
|
|
1631
|
+
'blockObjects': {
|
|
1632
|
+
arrowDownOnLonelyBlockObject: Behavior_2<
|
|
437
1633
|
| 'focus'
|
|
438
1634
|
| 'select'
|
|
439
1635
|
| 'serialize'
|
|
@@ -445,19 +1641,40 @@ export declare const coreBehavior: {
|
|
|
445
1641
|
| 'deserialization.success'
|
|
446
1642
|
| 'annotation.add'
|
|
447
1643
|
| 'annotation.remove'
|
|
1644
|
+
| 'annotation.toggle'
|
|
1645
|
+
| 'block.set'
|
|
1646
|
+
| 'block.unset'
|
|
448
1647
|
| 'blur'
|
|
449
1648
|
| 'data transfer.set'
|
|
1649
|
+
| 'decorator.add'
|
|
1650
|
+
| 'decorator.remove'
|
|
450
1651
|
| 'decorator.toggle'
|
|
451
1652
|
| 'delete.backward'
|
|
1653
|
+
| 'delete.block'
|
|
452
1654
|
| 'delete.forward'
|
|
1655
|
+
| 'delete.text'
|
|
453
1656
|
| 'insert.blocks'
|
|
454
1657
|
| 'insert.block object'
|
|
455
1658
|
| 'insert.inline object'
|
|
456
1659
|
| 'insert.break'
|
|
457
1660
|
| 'insert.soft break'
|
|
1661
|
+
| 'insert.block'
|
|
1662
|
+
| 'insert.span'
|
|
458
1663
|
| 'insert.text'
|
|
1664
|
+
| 'insert.text block'
|
|
1665
|
+
| 'list item.add'
|
|
1666
|
+
| 'list item.remove'
|
|
459
1667
|
| 'list item.toggle'
|
|
1668
|
+
| 'move.block'
|
|
1669
|
+
| 'move.block down'
|
|
1670
|
+
| 'move.block up'
|
|
1671
|
+
| 'select.previous block'
|
|
1672
|
+
| 'select.next block'
|
|
1673
|
+
| 'style.add'
|
|
1674
|
+
| 'style.remove'
|
|
460
1675
|
| 'style.toggle'
|
|
1676
|
+
| 'text block.set'
|
|
1677
|
+
| 'text block.unset'
|
|
461
1678
|
| 'key.down'
|
|
462
1679
|
| 'key.up'
|
|
463
1680
|
| 'paste'
|
|
@@ -477,26 +1694,47 @@ export declare const coreBehavior: {
|
|
|
477
1694
|
| 'deserialization.success'
|
|
478
1695
|
| 'annotation.add'
|
|
479
1696
|
| 'annotation.remove'
|
|
1697
|
+
| 'annotation.toggle'
|
|
1698
|
+
| 'block.set'
|
|
1699
|
+
| 'block.unset'
|
|
480
1700
|
| 'blur'
|
|
481
1701
|
| 'data transfer.set'
|
|
1702
|
+
| 'decorator.add'
|
|
1703
|
+
| 'decorator.remove'
|
|
482
1704
|
| 'decorator.toggle'
|
|
483
1705
|
| 'delete.backward'
|
|
1706
|
+
| 'delete.block'
|
|
484
1707
|
| 'delete.forward'
|
|
1708
|
+
| 'delete.text'
|
|
485
1709
|
| 'insert.blocks'
|
|
486
1710
|
| 'insert.block object'
|
|
487
1711
|
| 'insert.inline object'
|
|
488
1712
|
| 'insert.break'
|
|
489
1713
|
| 'insert.soft break'
|
|
1714
|
+
| 'insert.block'
|
|
1715
|
+
| 'insert.span'
|
|
490
1716
|
| 'insert.text'
|
|
1717
|
+
| 'insert.text block'
|
|
1718
|
+
| 'list item.add'
|
|
1719
|
+
| 'list item.remove'
|
|
491
1720
|
| 'list item.toggle'
|
|
1721
|
+
| 'move.block'
|
|
1722
|
+
| 'move.block down'
|
|
1723
|
+
| 'move.block up'
|
|
1724
|
+
| 'select.previous block'
|
|
1725
|
+
| 'select.next block'
|
|
1726
|
+
| 'style.add'
|
|
1727
|
+
| 'style.remove'
|
|
492
1728
|
| 'style.toggle'
|
|
1729
|
+
| 'text block.set'
|
|
1730
|
+
| 'text block.unset'
|
|
493
1731
|
| 'key.down'
|
|
494
1732
|
| 'key.up'
|
|
495
1733
|
| 'paste'
|
|
496
1734
|
| `custom.${string}`
|
|
497
1735
|
>
|
|
498
1736
|
>
|
|
499
|
-
|
|
1737
|
+
arrowUpOnLonelyBlockObject: Behavior_2<
|
|
500
1738
|
| 'focus'
|
|
501
1739
|
| 'select'
|
|
502
1740
|
| 'serialize'
|
|
@@ -508,19 +1746,40 @@ export declare const coreBehavior: {
|
|
|
508
1746
|
| 'deserialization.success'
|
|
509
1747
|
| 'annotation.add'
|
|
510
1748
|
| 'annotation.remove'
|
|
1749
|
+
| 'annotation.toggle'
|
|
1750
|
+
| 'block.set'
|
|
1751
|
+
| 'block.unset'
|
|
511
1752
|
| 'blur'
|
|
512
1753
|
| 'data transfer.set'
|
|
1754
|
+
| 'decorator.add'
|
|
1755
|
+
| 'decorator.remove'
|
|
513
1756
|
| 'decorator.toggle'
|
|
514
1757
|
| 'delete.backward'
|
|
1758
|
+
| 'delete.block'
|
|
515
1759
|
| 'delete.forward'
|
|
1760
|
+
| 'delete.text'
|
|
516
1761
|
| 'insert.blocks'
|
|
517
1762
|
| 'insert.block object'
|
|
518
1763
|
| 'insert.inline object'
|
|
519
1764
|
| 'insert.break'
|
|
520
1765
|
| 'insert.soft break'
|
|
1766
|
+
| 'insert.block'
|
|
1767
|
+
| 'insert.span'
|
|
521
1768
|
| 'insert.text'
|
|
1769
|
+
| 'insert.text block'
|
|
1770
|
+
| 'list item.add'
|
|
1771
|
+
| 'list item.remove'
|
|
522
1772
|
| 'list item.toggle'
|
|
1773
|
+
| 'move.block'
|
|
1774
|
+
| 'move.block down'
|
|
1775
|
+
| 'move.block up'
|
|
1776
|
+
| 'select.previous block'
|
|
1777
|
+
| 'select.next block'
|
|
1778
|
+
| 'style.add'
|
|
1779
|
+
| 'style.remove'
|
|
523
1780
|
| 'style.toggle'
|
|
1781
|
+
| 'text block.set'
|
|
1782
|
+
| 'text block.unset'
|
|
524
1783
|
| 'key.down'
|
|
525
1784
|
| 'key.up'
|
|
526
1785
|
| 'paste'
|
|
@@ -540,26 +1799,47 @@ export declare const coreBehavior: {
|
|
|
540
1799
|
| 'deserialization.success'
|
|
541
1800
|
| 'annotation.add'
|
|
542
1801
|
| 'annotation.remove'
|
|
1802
|
+
| 'annotation.toggle'
|
|
1803
|
+
| 'block.set'
|
|
1804
|
+
| 'block.unset'
|
|
543
1805
|
| 'blur'
|
|
544
1806
|
| 'data transfer.set'
|
|
1807
|
+
| 'decorator.add'
|
|
1808
|
+
| 'decorator.remove'
|
|
545
1809
|
| 'decorator.toggle'
|
|
546
1810
|
| 'delete.backward'
|
|
1811
|
+
| 'delete.block'
|
|
547
1812
|
| 'delete.forward'
|
|
1813
|
+
| 'delete.text'
|
|
548
1814
|
| 'insert.blocks'
|
|
549
1815
|
| 'insert.block object'
|
|
550
1816
|
| 'insert.inline object'
|
|
551
1817
|
| 'insert.break'
|
|
552
1818
|
| 'insert.soft break'
|
|
1819
|
+
| 'insert.block'
|
|
1820
|
+
| 'insert.span'
|
|
553
1821
|
| 'insert.text'
|
|
1822
|
+
| 'insert.text block'
|
|
1823
|
+
| 'list item.add'
|
|
1824
|
+
| 'list item.remove'
|
|
554
1825
|
| 'list item.toggle'
|
|
1826
|
+
| 'move.block'
|
|
1827
|
+
| 'move.block down'
|
|
1828
|
+
| 'move.block up'
|
|
1829
|
+
| 'select.previous block'
|
|
1830
|
+
| 'select.next block'
|
|
1831
|
+
| 'style.add'
|
|
1832
|
+
| 'style.remove'
|
|
555
1833
|
| 'style.toggle'
|
|
1834
|
+
| 'text block.set'
|
|
1835
|
+
| 'text block.unset'
|
|
556
1836
|
| 'key.down'
|
|
557
1837
|
| 'key.up'
|
|
558
1838
|
| 'paste'
|
|
559
1839
|
| `custom.${string}`
|
|
560
1840
|
>
|
|
561
1841
|
>
|
|
562
|
-
|
|
1842
|
+
breakingBlockObject: Behavior_2<
|
|
563
1843
|
| 'focus'
|
|
564
1844
|
| 'select'
|
|
565
1845
|
| 'serialize'
|
|
@@ -571,19 +1851,40 @@ export declare const coreBehavior: {
|
|
|
571
1851
|
| 'deserialization.success'
|
|
572
1852
|
| 'annotation.add'
|
|
573
1853
|
| 'annotation.remove'
|
|
1854
|
+
| 'annotation.toggle'
|
|
1855
|
+
| 'block.set'
|
|
1856
|
+
| 'block.unset'
|
|
574
1857
|
| 'blur'
|
|
575
1858
|
| 'data transfer.set'
|
|
1859
|
+
| 'decorator.add'
|
|
1860
|
+
| 'decorator.remove'
|
|
576
1861
|
| 'decorator.toggle'
|
|
577
1862
|
| 'delete.backward'
|
|
1863
|
+
| 'delete.block'
|
|
578
1864
|
| 'delete.forward'
|
|
1865
|
+
| 'delete.text'
|
|
579
1866
|
| 'insert.blocks'
|
|
580
1867
|
| 'insert.block object'
|
|
581
1868
|
| 'insert.inline object'
|
|
582
1869
|
| 'insert.break'
|
|
583
1870
|
| 'insert.soft break'
|
|
1871
|
+
| 'insert.block'
|
|
1872
|
+
| 'insert.span'
|
|
584
1873
|
| 'insert.text'
|
|
1874
|
+
| 'insert.text block'
|
|
1875
|
+
| 'list item.add'
|
|
1876
|
+
| 'list item.remove'
|
|
585
1877
|
| 'list item.toggle'
|
|
1878
|
+
| 'move.block'
|
|
1879
|
+
| 'move.block down'
|
|
1880
|
+
| 'move.block up'
|
|
1881
|
+
| 'select.previous block'
|
|
1882
|
+
| 'select.next block'
|
|
1883
|
+
| 'style.add'
|
|
1884
|
+
| 'style.remove'
|
|
586
1885
|
| 'style.toggle'
|
|
1886
|
+
| 'text block.set'
|
|
1887
|
+
| 'text block.unset'
|
|
587
1888
|
| 'key.down'
|
|
588
1889
|
| 'key.up'
|
|
589
1890
|
| 'paste'
|
|
@@ -603,26 +1904,47 @@ export declare const coreBehavior: {
|
|
|
603
1904
|
| 'deserialization.success'
|
|
604
1905
|
| 'annotation.add'
|
|
605
1906
|
| 'annotation.remove'
|
|
1907
|
+
| 'annotation.toggle'
|
|
1908
|
+
| 'block.set'
|
|
1909
|
+
| 'block.unset'
|
|
606
1910
|
| 'blur'
|
|
607
1911
|
| 'data transfer.set'
|
|
1912
|
+
| 'decorator.add'
|
|
1913
|
+
| 'decorator.remove'
|
|
608
1914
|
| 'decorator.toggle'
|
|
609
1915
|
| 'delete.backward'
|
|
1916
|
+
| 'delete.block'
|
|
610
1917
|
| 'delete.forward'
|
|
1918
|
+
| 'delete.text'
|
|
611
1919
|
| 'insert.blocks'
|
|
612
1920
|
| 'insert.block object'
|
|
613
1921
|
| 'insert.inline object'
|
|
614
1922
|
| 'insert.break'
|
|
615
1923
|
| 'insert.soft break'
|
|
1924
|
+
| 'insert.block'
|
|
1925
|
+
| 'insert.span'
|
|
616
1926
|
| 'insert.text'
|
|
1927
|
+
| 'insert.text block'
|
|
1928
|
+
| 'list item.add'
|
|
1929
|
+
| 'list item.remove'
|
|
617
1930
|
| 'list item.toggle'
|
|
1931
|
+
| 'move.block'
|
|
1932
|
+
| 'move.block down'
|
|
1933
|
+
| 'move.block up'
|
|
1934
|
+
| 'select.previous block'
|
|
1935
|
+
| 'select.next block'
|
|
1936
|
+
| 'style.add'
|
|
1937
|
+
| 'style.remove'
|
|
618
1938
|
| 'style.toggle'
|
|
1939
|
+
| 'text block.set'
|
|
1940
|
+
| 'text block.unset'
|
|
619
1941
|
| 'key.down'
|
|
620
1942
|
| 'key.up'
|
|
621
1943
|
| 'paste'
|
|
622
1944
|
| `custom.${string}`
|
|
623
1945
|
>
|
|
624
1946
|
>
|
|
625
|
-
|
|
1947
|
+
deletingEmptyTextBlockAfterBlockObject: Behavior_2<
|
|
626
1948
|
| 'focus'
|
|
627
1949
|
| 'select'
|
|
628
1950
|
| 'serialize'
|
|
@@ -634,19 +1956,40 @@ export declare const coreBehavior: {
|
|
|
634
1956
|
| 'deserialization.success'
|
|
635
1957
|
| 'annotation.add'
|
|
636
1958
|
| 'annotation.remove'
|
|
1959
|
+
| 'annotation.toggle'
|
|
1960
|
+
| 'block.set'
|
|
1961
|
+
| 'block.unset'
|
|
637
1962
|
| 'blur'
|
|
638
1963
|
| 'data transfer.set'
|
|
1964
|
+
| 'decorator.add'
|
|
1965
|
+
| 'decorator.remove'
|
|
639
1966
|
| 'decorator.toggle'
|
|
640
1967
|
| 'delete.backward'
|
|
1968
|
+
| 'delete.block'
|
|
641
1969
|
| 'delete.forward'
|
|
1970
|
+
| 'delete.text'
|
|
642
1971
|
| 'insert.blocks'
|
|
643
1972
|
| 'insert.block object'
|
|
644
1973
|
| 'insert.inline object'
|
|
645
1974
|
| 'insert.break'
|
|
646
1975
|
| 'insert.soft break'
|
|
1976
|
+
| 'insert.block'
|
|
1977
|
+
| 'insert.span'
|
|
647
1978
|
| 'insert.text'
|
|
1979
|
+
| 'insert.text block'
|
|
1980
|
+
| 'list item.add'
|
|
1981
|
+
| 'list item.remove'
|
|
648
1982
|
| 'list item.toggle'
|
|
1983
|
+
| 'move.block'
|
|
1984
|
+
| 'move.block down'
|
|
1985
|
+
| 'move.block up'
|
|
1986
|
+
| 'select.previous block'
|
|
1987
|
+
| 'select.next block'
|
|
1988
|
+
| 'style.add'
|
|
1989
|
+
| 'style.remove'
|
|
649
1990
|
| 'style.toggle'
|
|
1991
|
+
| 'text block.set'
|
|
1992
|
+
| 'text block.unset'
|
|
650
1993
|
| 'key.down'
|
|
651
1994
|
| 'key.up'
|
|
652
1995
|
| 'paste'
|
|
@@ -666,91 +2009,47 @@ export declare const coreBehavior: {
|
|
|
666
2009
|
| 'deserialization.success'
|
|
667
2010
|
| 'annotation.add'
|
|
668
2011
|
| 'annotation.remove'
|
|
2012
|
+
| 'annotation.toggle'
|
|
2013
|
+
| 'block.set'
|
|
2014
|
+
| 'block.unset'
|
|
669
2015
|
| 'blur'
|
|
670
2016
|
| 'data transfer.set'
|
|
2017
|
+
| 'decorator.add'
|
|
2018
|
+
| 'decorator.remove'
|
|
671
2019
|
| 'decorator.toggle'
|
|
672
2020
|
| 'delete.backward'
|
|
2021
|
+
| 'delete.block'
|
|
673
2022
|
| 'delete.forward'
|
|
2023
|
+
| 'delete.text'
|
|
674
2024
|
| 'insert.blocks'
|
|
675
2025
|
| 'insert.block object'
|
|
676
2026
|
| 'insert.inline object'
|
|
677
2027
|
| 'insert.break'
|
|
678
2028
|
| 'insert.soft break'
|
|
2029
|
+
| 'insert.block'
|
|
2030
|
+
| 'insert.span'
|
|
679
2031
|
| 'insert.text'
|
|
2032
|
+
| 'insert.text block'
|
|
2033
|
+
| 'list item.add'
|
|
2034
|
+
| 'list item.remove'
|
|
680
2035
|
| 'list item.toggle'
|
|
2036
|
+
| 'move.block'
|
|
2037
|
+
| 'move.block down'
|
|
2038
|
+
| 'move.block up'
|
|
2039
|
+
| 'select.previous block'
|
|
2040
|
+
| 'select.next block'
|
|
2041
|
+
| 'style.add'
|
|
2042
|
+
| 'style.remove'
|
|
681
2043
|
| 'style.toggle'
|
|
2044
|
+
| 'text block.set'
|
|
2045
|
+
| 'text block.unset'
|
|
682
2046
|
| 'key.down'
|
|
683
2047
|
| 'key.up'
|
|
684
2048
|
| 'paste'
|
|
685
2049
|
| `custom.${string}`
|
|
686
2050
|
>
|
|
687
2051
|
>
|
|
688
|
-
|
|
689
|
-
'deserialize': Behavior_2<
|
|
690
|
-
| 'focus'
|
|
691
|
-
| 'select'
|
|
692
|
-
| 'serialize'
|
|
693
|
-
| 'copy'
|
|
694
|
-
| 'serialization.failure'
|
|
695
|
-
| 'serialization.success'
|
|
696
|
-
| 'deserialize'
|
|
697
|
-
| 'deserialization.failure'
|
|
698
|
-
| 'deserialization.success'
|
|
699
|
-
| 'annotation.add'
|
|
700
|
-
| 'annotation.remove'
|
|
701
|
-
| 'blur'
|
|
702
|
-
| 'data transfer.set'
|
|
703
|
-
| 'decorator.toggle'
|
|
704
|
-
| 'delete.backward'
|
|
705
|
-
| 'delete.forward'
|
|
706
|
-
| 'insert.blocks'
|
|
707
|
-
| 'insert.block object'
|
|
708
|
-
| 'insert.inline object'
|
|
709
|
-
| 'insert.break'
|
|
710
|
-
| 'insert.soft break'
|
|
711
|
-
| 'insert.text'
|
|
712
|
-
| 'list item.toggle'
|
|
713
|
-
| 'style.toggle'
|
|
714
|
-
| 'key.down'
|
|
715
|
-
| 'key.up'
|
|
716
|
-
| 'paste'
|
|
717
|
-
| `custom.${string}`,
|
|
718
|
-
true,
|
|
719
|
-
PickFromUnion_2<
|
|
720
|
-
BehaviorEvent_2,
|
|
721
|
-
'type',
|
|
722
|
-
| 'focus'
|
|
723
|
-
| 'select'
|
|
724
|
-
| 'serialize'
|
|
725
|
-
| 'copy'
|
|
726
|
-
| 'serialization.failure'
|
|
727
|
-
| 'serialization.success'
|
|
728
|
-
| 'deserialize'
|
|
729
|
-
| 'deserialization.failure'
|
|
730
|
-
| 'deserialization.success'
|
|
731
|
-
| 'annotation.add'
|
|
732
|
-
| 'annotation.remove'
|
|
733
|
-
| 'blur'
|
|
734
|
-
| 'data transfer.set'
|
|
735
|
-
| 'decorator.toggle'
|
|
736
|
-
| 'delete.backward'
|
|
737
|
-
| 'delete.forward'
|
|
738
|
-
| 'insert.blocks'
|
|
739
|
-
| 'insert.block object'
|
|
740
|
-
| 'insert.inline object'
|
|
741
|
-
| 'insert.break'
|
|
742
|
-
| 'insert.soft break'
|
|
743
|
-
| 'insert.text'
|
|
744
|
-
| 'list item.toggle'
|
|
745
|
-
| 'style.toggle'
|
|
746
|
-
| 'key.down'
|
|
747
|
-
| 'key.up'
|
|
748
|
-
| 'paste'
|
|
749
|
-
| `custom.${string}`
|
|
750
|
-
>
|
|
751
|
-
>
|
|
752
|
-
'blockObjects': {
|
|
753
|
-
arrowDownOnLonelyBlockObject: Behavior_2<
|
|
2052
|
+
deletingEmptyTextBlockBeforeBlockObject: Behavior_2<
|
|
754
2053
|
| 'focus'
|
|
755
2054
|
| 'select'
|
|
756
2055
|
| 'serialize'
|
|
@@ -762,19 +2061,40 @@ export declare const coreBehavior: {
|
|
|
762
2061
|
| 'deserialization.success'
|
|
763
2062
|
| 'annotation.add'
|
|
764
2063
|
| 'annotation.remove'
|
|
2064
|
+
| 'annotation.toggle'
|
|
2065
|
+
| 'block.set'
|
|
2066
|
+
| 'block.unset'
|
|
765
2067
|
| 'blur'
|
|
766
2068
|
| 'data transfer.set'
|
|
2069
|
+
| 'decorator.add'
|
|
2070
|
+
| 'decorator.remove'
|
|
767
2071
|
| 'decorator.toggle'
|
|
768
2072
|
| 'delete.backward'
|
|
2073
|
+
| 'delete.block'
|
|
769
2074
|
| 'delete.forward'
|
|
2075
|
+
| 'delete.text'
|
|
770
2076
|
| 'insert.blocks'
|
|
771
2077
|
| 'insert.block object'
|
|
772
2078
|
| 'insert.inline object'
|
|
773
2079
|
| 'insert.break'
|
|
774
2080
|
| 'insert.soft break'
|
|
2081
|
+
| 'insert.block'
|
|
2082
|
+
| 'insert.span'
|
|
775
2083
|
| 'insert.text'
|
|
2084
|
+
| 'insert.text block'
|
|
2085
|
+
| 'list item.add'
|
|
2086
|
+
| 'list item.remove'
|
|
776
2087
|
| 'list item.toggle'
|
|
2088
|
+
| 'move.block'
|
|
2089
|
+
| 'move.block down'
|
|
2090
|
+
| 'move.block up'
|
|
2091
|
+
| 'select.previous block'
|
|
2092
|
+
| 'select.next block'
|
|
2093
|
+
| 'style.add'
|
|
2094
|
+
| 'style.remove'
|
|
777
2095
|
| 'style.toggle'
|
|
2096
|
+
| 'text block.set'
|
|
2097
|
+
| 'text block.unset'
|
|
778
2098
|
| 'key.down'
|
|
779
2099
|
| 'key.up'
|
|
780
2100
|
| 'paste'
|
|
@@ -794,26 +2114,49 @@ export declare const coreBehavior: {
|
|
|
794
2114
|
| 'deserialization.success'
|
|
795
2115
|
| 'annotation.add'
|
|
796
2116
|
| 'annotation.remove'
|
|
2117
|
+
| 'annotation.toggle'
|
|
2118
|
+
| 'block.set'
|
|
2119
|
+
| 'block.unset'
|
|
797
2120
|
| 'blur'
|
|
798
2121
|
| 'data transfer.set'
|
|
2122
|
+
| 'decorator.add'
|
|
2123
|
+
| 'decorator.remove'
|
|
799
2124
|
| 'decorator.toggle'
|
|
800
2125
|
| 'delete.backward'
|
|
2126
|
+
| 'delete.block'
|
|
801
2127
|
| 'delete.forward'
|
|
2128
|
+
| 'delete.text'
|
|
802
2129
|
| 'insert.blocks'
|
|
803
2130
|
| 'insert.block object'
|
|
804
2131
|
| 'insert.inline object'
|
|
805
2132
|
| 'insert.break'
|
|
806
2133
|
| 'insert.soft break'
|
|
2134
|
+
| 'insert.block'
|
|
2135
|
+
| 'insert.span'
|
|
807
2136
|
| 'insert.text'
|
|
2137
|
+
| 'insert.text block'
|
|
2138
|
+
| 'list item.add'
|
|
2139
|
+
| 'list item.remove'
|
|
808
2140
|
| 'list item.toggle'
|
|
2141
|
+
| 'move.block'
|
|
2142
|
+
| 'move.block down'
|
|
2143
|
+
| 'move.block up'
|
|
2144
|
+
| 'select.previous block'
|
|
2145
|
+
| 'select.next block'
|
|
2146
|
+
| 'style.add'
|
|
2147
|
+
| 'style.remove'
|
|
809
2148
|
| 'style.toggle'
|
|
2149
|
+
| 'text block.set'
|
|
2150
|
+
| 'text block.unset'
|
|
810
2151
|
| 'key.down'
|
|
811
2152
|
| 'key.up'
|
|
812
2153
|
| 'paste'
|
|
813
2154
|
| `custom.${string}`
|
|
814
2155
|
>
|
|
815
2156
|
>
|
|
816
|
-
|
|
2157
|
+
}
|
|
2158
|
+
'insertBreak': {
|
|
2159
|
+
atTheEndOfTextBlock: Behavior_2<
|
|
817
2160
|
| 'focus'
|
|
818
2161
|
| 'select'
|
|
819
2162
|
| 'serialize'
|
|
@@ -825,19 +2168,40 @@ export declare const coreBehavior: {
|
|
|
825
2168
|
| 'deserialization.success'
|
|
826
2169
|
| 'annotation.add'
|
|
827
2170
|
| 'annotation.remove'
|
|
2171
|
+
| 'annotation.toggle'
|
|
2172
|
+
| 'block.set'
|
|
2173
|
+
| 'block.unset'
|
|
828
2174
|
| 'blur'
|
|
829
2175
|
| 'data transfer.set'
|
|
2176
|
+
| 'decorator.add'
|
|
2177
|
+
| 'decorator.remove'
|
|
830
2178
|
| 'decorator.toggle'
|
|
831
2179
|
| 'delete.backward'
|
|
2180
|
+
| 'delete.block'
|
|
832
2181
|
| 'delete.forward'
|
|
2182
|
+
| 'delete.text'
|
|
833
2183
|
| 'insert.blocks'
|
|
834
2184
|
| 'insert.block object'
|
|
835
2185
|
| 'insert.inline object'
|
|
836
2186
|
| 'insert.break'
|
|
837
2187
|
| 'insert.soft break'
|
|
2188
|
+
| 'insert.block'
|
|
2189
|
+
| 'insert.span'
|
|
838
2190
|
| 'insert.text'
|
|
2191
|
+
| 'insert.text block'
|
|
2192
|
+
| 'list item.add'
|
|
2193
|
+
| 'list item.remove'
|
|
839
2194
|
| 'list item.toggle'
|
|
2195
|
+
| 'move.block'
|
|
2196
|
+
| 'move.block down'
|
|
2197
|
+
| 'move.block up'
|
|
2198
|
+
| 'select.previous block'
|
|
2199
|
+
| 'select.next block'
|
|
2200
|
+
| 'style.add'
|
|
2201
|
+
| 'style.remove'
|
|
840
2202
|
| 'style.toggle'
|
|
2203
|
+
| 'text block.set'
|
|
2204
|
+
| 'text block.unset'
|
|
841
2205
|
| 'key.down'
|
|
842
2206
|
| 'key.up'
|
|
843
2207
|
| 'paste'
|
|
@@ -857,26 +2221,47 @@ export declare const coreBehavior: {
|
|
|
857
2221
|
| 'deserialization.success'
|
|
858
2222
|
| 'annotation.add'
|
|
859
2223
|
| 'annotation.remove'
|
|
2224
|
+
| 'annotation.toggle'
|
|
2225
|
+
| 'block.set'
|
|
2226
|
+
| 'block.unset'
|
|
860
2227
|
| 'blur'
|
|
861
2228
|
| 'data transfer.set'
|
|
2229
|
+
| 'decorator.add'
|
|
2230
|
+
| 'decorator.remove'
|
|
862
2231
|
| 'decorator.toggle'
|
|
863
2232
|
| 'delete.backward'
|
|
2233
|
+
| 'delete.block'
|
|
864
2234
|
| 'delete.forward'
|
|
2235
|
+
| 'delete.text'
|
|
865
2236
|
| 'insert.blocks'
|
|
866
2237
|
| 'insert.block object'
|
|
867
2238
|
| 'insert.inline object'
|
|
868
2239
|
| 'insert.break'
|
|
869
2240
|
| 'insert.soft break'
|
|
2241
|
+
| 'insert.block'
|
|
2242
|
+
| 'insert.span'
|
|
870
2243
|
| 'insert.text'
|
|
2244
|
+
| 'insert.text block'
|
|
2245
|
+
| 'list item.add'
|
|
2246
|
+
| 'list item.remove'
|
|
871
2247
|
| 'list item.toggle'
|
|
2248
|
+
| 'move.block'
|
|
2249
|
+
| 'move.block down'
|
|
2250
|
+
| 'move.block up'
|
|
2251
|
+
| 'select.previous block'
|
|
2252
|
+
| 'select.next block'
|
|
2253
|
+
| 'style.add'
|
|
2254
|
+
| 'style.remove'
|
|
872
2255
|
| 'style.toggle'
|
|
2256
|
+
| 'text block.set'
|
|
2257
|
+
| 'text block.unset'
|
|
873
2258
|
| 'key.down'
|
|
874
2259
|
| 'key.up'
|
|
875
2260
|
| 'paste'
|
|
876
2261
|
| `custom.${string}`
|
|
877
2262
|
>
|
|
878
2263
|
>
|
|
879
|
-
|
|
2264
|
+
atTheStartOfTextBlock: Behavior_2<
|
|
880
2265
|
| 'focus'
|
|
881
2266
|
| 'select'
|
|
882
2267
|
| 'serialize'
|
|
@@ -888,19 +2273,40 @@ export declare const coreBehavior: {
|
|
|
888
2273
|
| 'deserialization.success'
|
|
889
2274
|
| 'annotation.add'
|
|
890
2275
|
| 'annotation.remove'
|
|
2276
|
+
| 'annotation.toggle'
|
|
2277
|
+
| 'block.set'
|
|
2278
|
+
| 'block.unset'
|
|
891
2279
|
| 'blur'
|
|
892
2280
|
| 'data transfer.set'
|
|
2281
|
+
| 'decorator.add'
|
|
2282
|
+
| 'decorator.remove'
|
|
893
2283
|
| 'decorator.toggle'
|
|
894
2284
|
| 'delete.backward'
|
|
2285
|
+
| 'delete.block'
|
|
895
2286
|
| 'delete.forward'
|
|
2287
|
+
| 'delete.text'
|
|
896
2288
|
| 'insert.blocks'
|
|
897
2289
|
| 'insert.block object'
|
|
898
2290
|
| 'insert.inline object'
|
|
899
2291
|
| 'insert.break'
|
|
900
2292
|
| 'insert.soft break'
|
|
2293
|
+
| 'insert.block'
|
|
2294
|
+
| 'insert.span'
|
|
901
2295
|
| 'insert.text'
|
|
2296
|
+
| 'insert.text block'
|
|
2297
|
+
| 'list item.add'
|
|
2298
|
+
| 'list item.remove'
|
|
902
2299
|
| 'list item.toggle'
|
|
2300
|
+
| 'move.block'
|
|
2301
|
+
| 'move.block down'
|
|
2302
|
+
| 'move.block up'
|
|
2303
|
+
| 'select.previous block'
|
|
2304
|
+
| 'select.next block'
|
|
2305
|
+
| 'style.add'
|
|
2306
|
+
| 'style.remove'
|
|
903
2307
|
| 'style.toggle'
|
|
2308
|
+
| 'text block.set'
|
|
2309
|
+
| 'text block.unset'
|
|
904
2310
|
| 'key.down'
|
|
905
2311
|
| 'key.up'
|
|
906
2312
|
| 'paste'
|
|
@@ -920,26 +2326,49 @@ export declare const coreBehavior: {
|
|
|
920
2326
|
| 'deserialization.success'
|
|
921
2327
|
| 'annotation.add'
|
|
922
2328
|
| 'annotation.remove'
|
|
2329
|
+
| 'annotation.toggle'
|
|
2330
|
+
| 'block.set'
|
|
2331
|
+
| 'block.unset'
|
|
923
2332
|
| 'blur'
|
|
924
2333
|
| 'data transfer.set'
|
|
2334
|
+
| 'decorator.add'
|
|
2335
|
+
| 'decorator.remove'
|
|
925
2336
|
| 'decorator.toggle'
|
|
926
2337
|
| 'delete.backward'
|
|
2338
|
+
| 'delete.block'
|
|
927
2339
|
| 'delete.forward'
|
|
2340
|
+
| 'delete.text'
|
|
928
2341
|
| 'insert.blocks'
|
|
929
2342
|
| 'insert.block object'
|
|
930
2343
|
| 'insert.inline object'
|
|
931
2344
|
| 'insert.break'
|
|
932
2345
|
| 'insert.soft break'
|
|
2346
|
+
| 'insert.block'
|
|
2347
|
+
| 'insert.span'
|
|
933
2348
|
| 'insert.text'
|
|
2349
|
+
| 'insert.text block'
|
|
2350
|
+
| 'list item.add'
|
|
2351
|
+
| 'list item.remove'
|
|
934
2352
|
| 'list item.toggle'
|
|
2353
|
+
| 'move.block'
|
|
2354
|
+
| 'move.block down'
|
|
2355
|
+
| 'move.block up'
|
|
2356
|
+
| 'select.previous block'
|
|
2357
|
+
| 'select.next block'
|
|
2358
|
+
| 'style.add'
|
|
2359
|
+
| 'style.remove'
|
|
935
2360
|
| 'style.toggle'
|
|
2361
|
+
| 'text block.set'
|
|
2362
|
+
| 'text block.unset'
|
|
936
2363
|
| 'key.down'
|
|
937
2364
|
| 'key.up'
|
|
938
2365
|
| 'paste'
|
|
939
2366
|
| `custom.${string}`
|
|
940
2367
|
>
|
|
941
2368
|
>
|
|
942
|
-
|
|
2369
|
+
}
|
|
2370
|
+
'lists': {
|
|
2371
|
+
toggleListItemOff: Behavior_2<
|
|
943
2372
|
| 'focus'
|
|
944
2373
|
| 'select'
|
|
945
2374
|
| 'serialize'
|
|
@@ -951,19 +2380,40 @@ export declare const coreBehavior: {
|
|
|
951
2380
|
| 'deserialization.success'
|
|
952
2381
|
| 'annotation.add'
|
|
953
2382
|
| 'annotation.remove'
|
|
2383
|
+
| 'annotation.toggle'
|
|
2384
|
+
| 'block.set'
|
|
2385
|
+
| 'block.unset'
|
|
954
2386
|
| 'blur'
|
|
955
2387
|
| 'data transfer.set'
|
|
2388
|
+
| 'decorator.add'
|
|
2389
|
+
| 'decorator.remove'
|
|
956
2390
|
| 'decorator.toggle'
|
|
957
2391
|
| 'delete.backward'
|
|
2392
|
+
| 'delete.block'
|
|
958
2393
|
| 'delete.forward'
|
|
2394
|
+
| 'delete.text'
|
|
959
2395
|
| 'insert.blocks'
|
|
960
2396
|
| 'insert.block object'
|
|
961
2397
|
| 'insert.inline object'
|
|
962
2398
|
| 'insert.break'
|
|
963
2399
|
| 'insert.soft break'
|
|
2400
|
+
| 'insert.block'
|
|
2401
|
+
| 'insert.span'
|
|
964
2402
|
| 'insert.text'
|
|
2403
|
+
| 'insert.text block'
|
|
2404
|
+
| 'list item.add'
|
|
2405
|
+
| 'list item.remove'
|
|
965
2406
|
| 'list item.toggle'
|
|
2407
|
+
| 'move.block'
|
|
2408
|
+
| 'move.block down'
|
|
2409
|
+
| 'move.block up'
|
|
2410
|
+
| 'select.previous block'
|
|
2411
|
+
| 'select.next block'
|
|
2412
|
+
| 'style.add'
|
|
2413
|
+
| 'style.remove'
|
|
966
2414
|
| 'style.toggle'
|
|
2415
|
+
| 'text block.set'
|
|
2416
|
+
| 'text block.unset'
|
|
967
2417
|
| 'key.down'
|
|
968
2418
|
| 'key.up'
|
|
969
2419
|
| 'paste'
|
|
@@ -983,26 +2433,47 @@ export declare const coreBehavior: {
|
|
|
983
2433
|
| 'deserialization.success'
|
|
984
2434
|
| 'annotation.add'
|
|
985
2435
|
| 'annotation.remove'
|
|
2436
|
+
| 'annotation.toggle'
|
|
2437
|
+
| 'block.set'
|
|
2438
|
+
| 'block.unset'
|
|
986
2439
|
| 'blur'
|
|
987
2440
|
| 'data transfer.set'
|
|
2441
|
+
| 'decorator.add'
|
|
2442
|
+
| 'decorator.remove'
|
|
988
2443
|
| 'decorator.toggle'
|
|
989
2444
|
| 'delete.backward'
|
|
2445
|
+
| 'delete.block'
|
|
990
2446
|
| 'delete.forward'
|
|
2447
|
+
| 'delete.text'
|
|
991
2448
|
| 'insert.blocks'
|
|
992
2449
|
| 'insert.block object'
|
|
993
2450
|
| 'insert.inline object'
|
|
994
2451
|
| 'insert.break'
|
|
995
2452
|
| 'insert.soft break'
|
|
2453
|
+
| 'insert.block'
|
|
2454
|
+
| 'insert.span'
|
|
996
2455
|
| 'insert.text'
|
|
2456
|
+
| 'insert.text block'
|
|
2457
|
+
| 'list item.add'
|
|
2458
|
+
| 'list item.remove'
|
|
997
2459
|
| 'list item.toggle'
|
|
2460
|
+
| 'move.block'
|
|
2461
|
+
| 'move.block down'
|
|
2462
|
+
| 'move.block up'
|
|
2463
|
+
| 'select.previous block'
|
|
2464
|
+
| 'select.next block'
|
|
2465
|
+
| 'style.add'
|
|
2466
|
+
| 'style.remove'
|
|
998
2467
|
| 'style.toggle'
|
|
2468
|
+
| 'text block.set'
|
|
2469
|
+
| 'text block.unset'
|
|
999
2470
|
| 'key.down'
|
|
1000
2471
|
| 'key.up'
|
|
1001
2472
|
| 'paste'
|
|
1002
2473
|
| `custom.${string}`
|
|
1003
2474
|
>
|
|
1004
2475
|
>
|
|
1005
|
-
|
|
2476
|
+
toggleListItemOn: Behavior_2<
|
|
1006
2477
|
| 'focus'
|
|
1007
2478
|
| 'select'
|
|
1008
2479
|
| 'serialize'
|
|
@@ -1014,19 +2485,40 @@ export declare const coreBehavior: {
|
|
|
1014
2485
|
| 'deserialization.success'
|
|
1015
2486
|
| 'annotation.add'
|
|
1016
2487
|
| 'annotation.remove'
|
|
2488
|
+
| 'annotation.toggle'
|
|
2489
|
+
| 'block.set'
|
|
2490
|
+
| 'block.unset'
|
|
1017
2491
|
| 'blur'
|
|
1018
2492
|
| 'data transfer.set'
|
|
2493
|
+
| 'decorator.add'
|
|
2494
|
+
| 'decorator.remove'
|
|
1019
2495
|
| 'decorator.toggle'
|
|
1020
2496
|
| 'delete.backward'
|
|
2497
|
+
| 'delete.block'
|
|
1021
2498
|
| 'delete.forward'
|
|
2499
|
+
| 'delete.text'
|
|
1022
2500
|
| 'insert.blocks'
|
|
1023
2501
|
| 'insert.block object'
|
|
1024
2502
|
| 'insert.inline object'
|
|
1025
2503
|
| 'insert.break'
|
|
1026
2504
|
| 'insert.soft break'
|
|
2505
|
+
| 'insert.block'
|
|
2506
|
+
| 'insert.span'
|
|
1027
2507
|
| 'insert.text'
|
|
2508
|
+
| 'insert.text block'
|
|
2509
|
+
| 'list item.add'
|
|
2510
|
+
| 'list item.remove'
|
|
1028
2511
|
| 'list item.toggle'
|
|
2512
|
+
| 'move.block'
|
|
2513
|
+
| 'move.block down'
|
|
2514
|
+
| 'move.block up'
|
|
2515
|
+
| 'select.previous block'
|
|
2516
|
+
| 'select.next block'
|
|
2517
|
+
| 'style.add'
|
|
2518
|
+
| 'style.remove'
|
|
1029
2519
|
| 'style.toggle'
|
|
2520
|
+
| 'text block.set'
|
|
2521
|
+
| 'text block.unset'
|
|
1030
2522
|
| 'key.down'
|
|
1031
2523
|
| 'key.up'
|
|
1032
2524
|
| 'paste'
|
|
@@ -1046,27 +2538,46 @@ export declare const coreBehavior: {
|
|
|
1046
2538
|
| 'deserialization.success'
|
|
1047
2539
|
| 'annotation.add'
|
|
1048
2540
|
| 'annotation.remove'
|
|
2541
|
+
| 'annotation.toggle'
|
|
2542
|
+
| 'block.set'
|
|
2543
|
+
| 'block.unset'
|
|
1049
2544
|
| 'blur'
|
|
1050
2545
|
| 'data transfer.set'
|
|
2546
|
+
| 'decorator.add'
|
|
2547
|
+
| 'decorator.remove'
|
|
1051
2548
|
| 'decorator.toggle'
|
|
1052
2549
|
| 'delete.backward'
|
|
2550
|
+
| 'delete.block'
|
|
1053
2551
|
| 'delete.forward'
|
|
2552
|
+
| 'delete.text'
|
|
1054
2553
|
| 'insert.blocks'
|
|
1055
2554
|
| 'insert.block object'
|
|
1056
2555
|
| 'insert.inline object'
|
|
1057
2556
|
| 'insert.break'
|
|
1058
2557
|
| 'insert.soft break'
|
|
2558
|
+
| 'insert.block'
|
|
2559
|
+
| 'insert.span'
|
|
1059
2560
|
| 'insert.text'
|
|
2561
|
+
| 'insert.text block'
|
|
2562
|
+
| 'list item.add'
|
|
2563
|
+
| 'list item.remove'
|
|
1060
2564
|
| 'list item.toggle'
|
|
2565
|
+
| 'move.block'
|
|
2566
|
+
| 'move.block down'
|
|
2567
|
+
| 'move.block up'
|
|
2568
|
+
| 'select.previous block'
|
|
2569
|
+
| 'select.next block'
|
|
2570
|
+
| 'style.add'
|
|
2571
|
+
| 'style.remove'
|
|
1061
2572
|
| 'style.toggle'
|
|
2573
|
+
| 'text block.set'
|
|
2574
|
+
| 'text block.unset'
|
|
1062
2575
|
| 'key.down'
|
|
1063
2576
|
| 'key.up'
|
|
1064
2577
|
| 'paste'
|
|
1065
2578
|
| `custom.${string}`
|
|
1066
2579
|
>
|
|
1067
2580
|
>
|
|
1068
|
-
}
|
|
1069
|
-
'lists': {
|
|
1070
2581
|
clearListOnBackspace: Behavior_2<
|
|
1071
2582
|
| 'focus'
|
|
1072
2583
|
| 'select'
|
|
@@ -1079,19 +2590,40 @@ export declare const coreBehavior: {
|
|
|
1079
2590
|
| 'deserialization.success'
|
|
1080
2591
|
| 'annotation.add'
|
|
1081
2592
|
| 'annotation.remove'
|
|
2593
|
+
| 'annotation.toggle'
|
|
2594
|
+
| 'block.set'
|
|
2595
|
+
| 'block.unset'
|
|
1082
2596
|
| 'blur'
|
|
1083
2597
|
| 'data transfer.set'
|
|
2598
|
+
| 'decorator.add'
|
|
2599
|
+
| 'decorator.remove'
|
|
1084
2600
|
| 'decorator.toggle'
|
|
1085
2601
|
| 'delete.backward'
|
|
2602
|
+
| 'delete.block'
|
|
1086
2603
|
| 'delete.forward'
|
|
2604
|
+
| 'delete.text'
|
|
1087
2605
|
| 'insert.blocks'
|
|
1088
2606
|
| 'insert.block object'
|
|
1089
2607
|
| 'insert.inline object'
|
|
1090
2608
|
| 'insert.break'
|
|
1091
2609
|
| 'insert.soft break'
|
|
2610
|
+
| 'insert.block'
|
|
2611
|
+
| 'insert.span'
|
|
1092
2612
|
| 'insert.text'
|
|
2613
|
+
| 'insert.text block'
|
|
2614
|
+
| 'list item.add'
|
|
2615
|
+
| 'list item.remove'
|
|
1093
2616
|
| 'list item.toggle'
|
|
2617
|
+
| 'move.block'
|
|
2618
|
+
| 'move.block down'
|
|
2619
|
+
| 'move.block up'
|
|
2620
|
+
| 'select.previous block'
|
|
2621
|
+
| 'select.next block'
|
|
2622
|
+
| 'style.add'
|
|
2623
|
+
| 'style.remove'
|
|
1094
2624
|
| 'style.toggle'
|
|
2625
|
+
| 'text block.set'
|
|
2626
|
+
| 'text block.unset'
|
|
1095
2627
|
| 'key.down'
|
|
1096
2628
|
| 'key.up'
|
|
1097
2629
|
| 'paste'
|
|
@@ -1111,19 +2643,40 @@ export declare const coreBehavior: {
|
|
|
1111
2643
|
| 'deserialization.success'
|
|
1112
2644
|
| 'annotation.add'
|
|
1113
2645
|
| 'annotation.remove'
|
|
2646
|
+
| 'annotation.toggle'
|
|
2647
|
+
| 'block.set'
|
|
2648
|
+
| 'block.unset'
|
|
1114
2649
|
| 'blur'
|
|
1115
2650
|
| 'data transfer.set'
|
|
2651
|
+
| 'decorator.add'
|
|
2652
|
+
| 'decorator.remove'
|
|
1116
2653
|
| 'decorator.toggle'
|
|
1117
2654
|
| 'delete.backward'
|
|
2655
|
+
| 'delete.block'
|
|
1118
2656
|
| 'delete.forward'
|
|
2657
|
+
| 'delete.text'
|
|
1119
2658
|
| 'insert.blocks'
|
|
1120
2659
|
| 'insert.block object'
|
|
1121
2660
|
| 'insert.inline object'
|
|
1122
2661
|
| 'insert.break'
|
|
1123
2662
|
| 'insert.soft break'
|
|
2663
|
+
| 'insert.block'
|
|
2664
|
+
| 'insert.span'
|
|
1124
2665
|
| 'insert.text'
|
|
2666
|
+
| 'insert.text block'
|
|
2667
|
+
| 'list item.add'
|
|
2668
|
+
| 'list item.remove'
|
|
1125
2669
|
| 'list item.toggle'
|
|
2670
|
+
| 'move.block'
|
|
2671
|
+
| 'move.block down'
|
|
2672
|
+
| 'move.block up'
|
|
2673
|
+
| 'select.previous block'
|
|
2674
|
+
| 'select.next block'
|
|
2675
|
+
| 'style.add'
|
|
2676
|
+
| 'style.remove'
|
|
1126
2677
|
| 'style.toggle'
|
|
2678
|
+
| 'text block.set'
|
|
2679
|
+
| 'text block.unset'
|
|
1127
2680
|
| 'key.down'
|
|
1128
2681
|
| 'key.up'
|
|
1129
2682
|
| 'paste'
|
|
@@ -1142,19 +2695,40 @@ export declare const coreBehavior: {
|
|
|
1142
2695
|
| 'deserialization.success'
|
|
1143
2696
|
| 'annotation.add'
|
|
1144
2697
|
| 'annotation.remove'
|
|
2698
|
+
| 'annotation.toggle'
|
|
2699
|
+
| 'block.set'
|
|
2700
|
+
| 'block.unset'
|
|
1145
2701
|
| 'blur'
|
|
1146
2702
|
| 'data transfer.set'
|
|
2703
|
+
| 'decorator.add'
|
|
2704
|
+
| 'decorator.remove'
|
|
1147
2705
|
| 'decorator.toggle'
|
|
1148
2706
|
| 'delete.backward'
|
|
2707
|
+
| 'delete.block'
|
|
1149
2708
|
| 'delete.forward'
|
|
2709
|
+
| 'delete.text'
|
|
1150
2710
|
| 'insert.blocks'
|
|
1151
2711
|
| 'insert.block object'
|
|
1152
2712
|
| 'insert.inline object'
|
|
1153
2713
|
| 'insert.break'
|
|
1154
2714
|
| 'insert.soft break'
|
|
2715
|
+
| 'insert.block'
|
|
2716
|
+
| 'insert.span'
|
|
1155
2717
|
| 'insert.text'
|
|
2718
|
+
| 'insert.text block'
|
|
2719
|
+
| 'list item.add'
|
|
2720
|
+
| 'list item.remove'
|
|
1156
2721
|
| 'list item.toggle'
|
|
2722
|
+
| 'move.block'
|
|
2723
|
+
| 'move.block down'
|
|
2724
|
+
| 'move.block up'
|
|
2725
|
+
| 'select.previous block'
|
|
2726
|
+
| 'select.next block'
|
|
2727
|
+
| 'style.add'
|
|
2728
|
+
| 'style.remove'
|
|
1157
2729
|
| 'style.toggle'
|
|
2730
|
+
| 'text block.set'
|
|
2731
|
+
| 'text block.unset'
|
|
1158
2732
|
| 'key.down'
|
|
1159
2733
|
| 'key.up'
|
|
1160
2734
|
| 'paste'
|
|
@@ -1174,19 +2748,40 @@ export declare const coreBehavior: {
|
|
|
1174
2748
|
| 'deserialization.success'
|
|
1175
2749
|
| 'annotation.add'
|
|
1176
2750
|
| 'annotation.remove'
|
|
2751
|
+
| 'annotation.toggle'
|
|
2752
|
+
| 'block.set'
|
|
2753
|
+
| 'block.unset'
|
|
1177
2754
|
| 'blur'
|
|
1178
2755
|
| 'data transfer.set'
|
|
2756
|
+
| 'decorator.add'
|
|
2757
|
+
| 'decorator.remove'
|
|
1179
2758
|
| 'decorator.toggle'
|
|
1180
2759
|
| 'delete.backward'
|
|
2760
|
+
| 'delete.block'
|
|
1181
2761
|
| 'delete.forward'
|
|
2762
|
+
| 'delete.text'
|
|
1182
2763
|
| 'insert.blocks'
|
|
1183
2764
|
| 'insert.block object'
|
|
1184
2765
|
| 'insert.inline object'
|
|
1185
2766
|
| 'insert.break'
|
|
1186
2767
|
| 'insert.soft break'
|
|
2768
|
+
| 'insert.block'
|
|
2769
|
+
| 'insert.span'
|
|
1187
2770
|
| 'insert.text'
|
|
2771
|
+
| 'insert.text block'
|
|
2772
|
+
| 'list item.add'
|
|
2773
|
+
| 'list item.remove'
|
|
1188
2774
|
| 'list item.toggle'
|
|
2775
|
+
| 'move.block'
|
|
2776
|
+
| 'move.block down'
|
|
2777
|
+
| 'move.block up'
|
|
2778
|
+
| 'select.previous block'
|
|
2779
|
+
| 'select.next block'
|
|
2780
|
+
| 'style.add'
|
|
2781
|
+
| 'style.remove'
|
|
1189
2782
|
| 'style.toggle'
|
|
2783
|
+
| 'text block.set'
|
|
2784
|
+
| 'text block.unset'
|
|
1190
2785
|
| 'key.down'
|
|
1191
2786
|
| 'key.up'
|
|
1192
2787
|
| 'paste'
|
|
@@ -1205,19 +2800,40 @@ export declare const coreBehavior: {
|
|
|
1205
2800
|
| 'deserialization.success'
|
|
1206
2801
|
| 'annotation.add'
|
|
1207
2802
|
| 'annotation.remove'
|
|
2803
|
+
| 'annotation.toggle'
|
|
2804
|
+
| 'block.set'
|
|
2805
|
+
| 'block.unset'
|
|
1208
2806
|
| 'blur'
|
|
1209
2807
|
| 'data transfer.set'
|
|
2808
|
+
| 'decorator.add'
|
|
2809
|
+
| 'decorator.remove'
|
|
1210
2810
|
| 'decorator.toggle'
|
|
1211
2811
|
| 'delete.backward'
|
|
2812
|
+
| 'delete.block'
|
|
1212
2813
|
| 'delete.forward'
|
|
2814
|
+
| 'delete.text'
|
|
1213
2815
|
| 'insert.blocks'
|
|
1214
2816
|
| 'insert.block object'
|
|
1215
2817
|
| 'insert.inline object'
|
|
1216
2818
|
| 'insert.break'
|
|
1217
2819
|
| 'insert.soft break'
|
|
2820
|
+
| 'insert.block'
|
|
2821
|
+
| 'insert.span'
|
|
1218
2822
|
| 'insert.text'
|
|
2823
|
+
| 'insert.text block'
|
|
2824
|
+
| 'list item.add'
|
|
2825
|
+
| 'list item.remove'
|
|
1219
2826
|
| 'list item.toggle'
|
|
2827
|
+
| 'move.block'
|
|
2828
|
+
| 'move.block down'
|
|
2829
|
+
| 'move.block up'
|
|
2830
|
+
| 'select.previous block'
|
|
2831
|
+
| 'select.next block'
|
|
2832
|
+
| 'style.add'
|
|
2833
|
+
| 'style.remove'
|
|
1220
2834
|
| 'style.toggle'
|
|
2835
|
+
| 'text block.set'
|
|
2836
|
+
| 'text block.unset'
|
|
1221
2837
|
| 'key.down'
|
|
1222
2838
|
| 'key.up'
|
|
1223
2839
|
| 'paste'
|
|
@@ -1237,19 +2853,40 @@ export declare const coreBehavior: {
|
|
|
1237
2853
|
| 'deserialization.success'
|
|
1238
2854
|
| 'annotation.add'
|
|
1239
2855
|
| 'annotation.remove'
|
|
2856
|
+
| 'annotation.toggle'
|
|
2857
|
+
| 'block.set'
|
|
2858
|
+
| 'block.unset'
|
|
1240
2859
|
| 'blur'
|
|
1241
2860
|
| 'data transfer.set'
|
|
2861
|
+
| 'decorator.add'
|
|
2862
|
+
| 'decorator.remove'
|
|
1242
2863
|
| 'decorator.toggle'
|
|
1243
2864
|
| 'delete.backward'
|
|
2865
|
+
| 'delete.block'
|
|
1244
2866
|
| 'delete.forward'
|
|
2867
|
+
| 'delete.text'
|
|
1245
2868
|
| 'insert.blocks'
|
|
1246
2869
|
| 'insert.block object'
|
|
1247
2870
|
| 'insert.inline object'
|
|
1248
2871
|
| 'insert.break'
|
|
1249
2872
|
| 'insert.soft break'
|
|
2873
|
+
| 'insert.block'
|
|
2874
|
+
| 'insert.span'
|
|
1250
2875
|
| 'insert.text'
|
|
2876
|
+
| 'insert.text block'
|
|
2877
|
+
| 'list item.add'
|
|
2878
|
+
| 'list item.remove'
|
|
1251
2879
|
| 'list item.toggle'
|
|
2880
|
+
| 'move.block'
|
|
2881
|
+
| 'move.block down'
|
|
2882
|
+
| 'move.block up'
|
|
2883
|
+
| 'select.previous block'
|
|
2884
|
+
| 'select.next block'
|
|
2885
|
+
| 'style.add'
|
|
2886
|
+
| 'style.remove'
|
|
1252
2887
|
| 'style.toggle'
|
|
2888
|
+
| 'text block.set'
|
|
2889
|
+
| 'text block.unset'
|
|
1253
2890
|
| 'key.down'
|
|
1254
2891
|
| 'key.up'
|
|
1255
2892
|
| 'paste'
|
|
@@ -1268,19 +2905,40 @@ export declare const coreBehavior: {
|
|
|
1268
2905
|
| 'deserialization.success'
|
|
1269
2906
|
| 'annotation.add'
|
|
1270
2907
|
| 'annotation.remove'
|
|
2908
|
+
| 'annotation.toggle'
|
|
2909
|
+
| 'block.set'
|
|
2910
|
+
| 'block.unset'
|
|
1271
2911
|
| 'blur'
|
|
1272
2912
|
| 'data transfer.set'
|
|
2913
|
+
| 'decorator.add'
|
|
2914
|
+
| 'decorator.remove'
|
|
1273
2915
|
| 'decorator.toggle'
|
|
1274
2916
|
| 'delete.backward'
|
|
2917
|
+
| 'delete.block'
|
|
1275
2918
|
| 'delete.forward'
|
|
2919
|
+
| 'delete.text'
|
|
1276
2920
|
| 'insert.blocks'
|
|
1277
2921
|
| 'insert.block object'
|
|
1278
2922
|
| 'insert.inline object'
|
|
1279
2923
|
| 'insert.break'
|
|
1280
2924
|
| 'insert.soft break'
|
|
2925
|
+
| 'insert.block'
|
|
2926
|
+
| 'insert.span'
|
|
1281
2927
|
| 'insert.text'
|
|
2928
|
+
| 'insert.text block'
|
|
2929
|
+
| 'list item.add'
|
|
2930
|
+
| 'list item.remove'
|
|
1282
2931
|
| 'list item.toggle'
|
|
2932
|
+
| 'move.block'
|
|
2933
|
+
| 'move.block down'
|
|
2934
|
+
| 'move.block up'
|
|
2935
|
+
| 'select.previous block'
|
|
2936
|
+
| 'select.next block'
|
|
2937
|
+
| 'style.add'
|
|
2938
|
+
| 'style.remove'
|
|
1283
2939
|
| 'style.toggle'
|
|
2940
|
+
| 'text block.set'
|
|
2941
|
+
| 'text block.unset'
|
|
1284
2942
|
| 'key.down'
|
|
1285
2943
|
| 'key.up'
|
|
1286
2944
|
| 'paste'
|
|
@@ -1300,19 +2958,40 @@ export declare const coreBehavior: {
|
|
|
1300
2958
|
| 'deserialization.success'
|
|
1301
2959
|
| 'annotation.add'
|
|
1302
2960
|
| 'annotation.remove'
|
|
2961
|
+
| 'annotation.toggle'
|
|
2962
|
+
| 'block.set'
|
|
2963
|
+
| 'block.unset'
|
|
1303
2964
|
| 'blur'
|
|
1304
2965
|
| 'data transfer.set'
|
|
2966
|
+
| 'decorator.add'
|
|
2967
|
+
| 'decorator.remove'
|
|
1305
2968
|
| 'decorator.toggle'
|
|
1306
2969
|
| 'delete.backward'
|
|
2970
|
+
| 'delete.block'
|
|
1307
2971
|
| 'delete.forward'
|
|
2972
|
+
| 'delete.text'
|
|
1308
2973
|
| 'insert.blocks'
|
|
1309
2974
|
| 'insert.block object'
|
|
1310
2975
|
| 'insert.inline object'
|
|
1311
2976
|
| 'insert.break'
|
|
1312
2977
|
| 'insert.soft break'
|
|
2978
|
+
| 'insert.block'
|
|
2979
|
+
| 'insert.span'
|
|
1313
2980
|
| 'insert.text'
|
|
2981
|
+
| 'insert.text block'
|
|
2982
|
+
| 'list item.add'
|
|
2983
|
+
| 'list item.remove'
|
|
1314
2984
|
| 'list item.toggle'
|
|
2985
|
+
| 'move.block'
|
|
2986
|
+
| 'move.block down'
|
|
2987
|
+
| 'move.block up'
|
|
2988
|
+
| 'select.previous block'
|
|
2989
|
+
| 'select.next block'
|
|
2990
|
+
| 'style.add'
|
|
2991
|
+
| 'style.remove'
|
|
1315
2992
|
| 'style.toggle'
|
|
2993
|
+
| 'text block.set'
|
|
2994
|
+
| 'text block.unset'
|
|
1316
2995
|
| 'key.down'
|
|
1317
2996
|
| 'key.up'
|
|
1318
2997
|
| 'paste'
|
|
@@ -1331,19 +3010,40 @@ export declare const coreBehavior: {
|
|
|
1331
3010
|
| 'deserialization.success'
|
|
1332
3011
|
| 'annotation.add'
|
|
1333
3012
|
| 'annotation.remove'
|
|
3013
|
+
| 'annotation.toggle'
|
|
3014
|
+
| 'block.set'
|
|
3015
|
+
| 'block.unset'
|
|
1334
3016
|
| 'blur'
|
|
1335
3017
|
| 'data transfer.set'
|
|
3018
|
+
| 'decorator.add'
|
|
3019
|
+
| 'decorator.remove'
|
|
1336
3020
|
| 'decorator.toggle'
|
|
1337
3021
|
| 'delete.backward'
|
|
3022
|
+
| 'delete.block'
|
|
1338
3023
|
| 'delete.forward'
|
|
3024
|
+
| 'delete.text'
|
|
1339
3025
|
| 'insert.blocks'
|
|
1340
3026
|
| 'insert.block object'
|
|
1341
3027
|
| 'insert.inline object'
|
|
1342
3028
|
| 'insert.break'
|
|
1343
3029
|
| 'insert.soft break'
|
|
3030
|
+
| 'insert.block'
|
|
3031
|
+
| 'insert.span'
|
|
1344
3032
|
| 'insert.text'
|
|
3033
|
+
| 'insert.text block'
|
|
3034
|
+
| 'list item.add'
|
|
3035
|
+
| 'list item.remove'
|
|
1345
3036
|
| 'list item.toggle'
|
|
3037
|
+
| 'move.block'
|
|
3038
|
+
| 'move.block down'
|
|
3039
|
+
| 'move.block up'
|
|
3040
|
+
| 'select.previous block'
|
|
3041
|
+
| 'select.next block'
|
|
3042
|
+
| 'style.add'
|
|
3043
|
+
| 'style.remove'
|
|
1346
3044
|
| 'style.toggle'
|
|
3045
|
+
| 'text block.set'
|
|
3046
|
+
| 'text block.unset'
|
|
1347
3047
|
| 'key.down'
|
|
1348
3048
|
| 'key.up'
|
|
1349
3049
|
| 'paste'
|
|
@@ -1363,19 +3063,40 @@ export declare const coreBehavior: {
|
|
|
1363
3063
|
| 'deserialization.success'
|
|
1364
3064
|
| 'annotation.add'
|
|
1365
3065
|
| 'annotation.remove'
|
|
3066
|
+
| 'annotation.toggle'
|
|
3067
|
+
| 'block.set'
|
|
3068
|
+
| 'block.unset'
|
|
1366
3069
|
| 'blur'
|
|
1367
3070
|
| 'data transfer.set'
|
|
3071
|
+
| 'decorator.add'
|
|
3072
|
+
| 'decorator.remove'
|
|
1368
3073
|
| 'decorator.toggle'
|
|
1369
3074
|
| 'delete.backward'
|
|
3075
|
+
| 'delete.block'
|
|
1370
3076
|
| 'delete.forward'
|
|
3077
|
+
| 'delete.text'
|
|
1371
3078
|
| 'insert.blocks'
|
|
1372
3079
|
| 'insert.block object'
|
|
1373
3080
|
| 'insert.inline object'
|
|
1374
3081
|
| 'insert.break'
|
|
1375
3082
|
| 'insert.soft break'
|
|
3083
|
+
| 'insert.block'
|
|
3084
|
+
| 'insert.span'
|
|
1376
3085
|
| 'insert.text'
|
|
3086
|
+
| 'insert.text block'
|
|
3087
|
+
| 'list item.add'
|
|
3088
|
+
| 'list item.remove'
|
|
1377
3089
|
| 'list item.toggle'
|
|
3090
|
+
| 'move.block'
|
|
3091
|
+
| 'move.block down'
|
|
3092
|
+
| 'move.block up'
|
|
3093
|
+
| 'select.previous block'
|
|
3094
|
+
| 'select.next block'
|
|
3095
|
+
| 'style.add'
|
|
3096
|
+
| 'style.remove'
|
|
1378
3097
|
| 'style.toggle'
|
|
3098
|
+
| 'text block.set'
|
|
3099
|
+
| 'text block.unset'
|
|
1379
3100
|
| 'key.down'
|
|
1380
3101
|
| 'key.up'
|
|
1381
3102
|
| 'paste'
|
|
@@ -1400,19 +3121,40 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1400
3121
|
| 'deserialization.success'
|
|
1401
3122
|
| 'annotation.add'
|
|
1402
3123
|
| 'annotation.remove'
|
|
3124
|
+
| 'annotation.toggle'
|
|
3125
|
+
| 'block.set'
|
|
3126
|
+
| 'block.unset'
|
|
1403
3127
|
| 'blur'
|
|
1404
3128
|
| 'data transfer.set'
|
|
3129
|
+
| 'decorator.add'
|
|
3130
|
+
| 'decorator.remove'
|
|
1405
3131
|
| 'decorator.toggle'
|
|
1406
3132
|
| 'delete.backward'
|
|
3133
|
+
| 'delete.block'
|
|
1407
3134
|
| 'delete.forward'
|
|
3135
|
+
| 'delete.text'
|
|
1408
3136
|
| 'insert.blocks'
|
|
1409
3137
|
| 'insert.block object'
|
|
1410
3138
|
| 'insert.inline object'
|
|
1411
3139
|
| 'insert.break'
|
|
1412
3140
|
| 'insert.soft break'
|
|
3141
|
+
| 'insert.block'
|
|
3142
|
+
| 'insert.span'
|
|
1413
3143
|
| 'insert.text'
|
|
3144
|
+
| 'insert.text block'
|
|
3145
|
+
| 'list item.add'
|
|
3146
|
+
| 'list item.remove'
|
|
1414
3147
|
| 'list item.toggle'
|
|
3148
|
+
| 'move.block'
|
|
3149
|
+
| 'move.block down'
|
|
3150
|
+
| 'move.block up'
|
|
3151
|
+
| 'select.previous block'
|
|
3152
|
+
| 'select.next block'
|
|
3153
|
+
| 'style.add'
|
|
3154
|
+
| 'style.remove'
|
|
1415
3155
|
| 'style.toggle'
|
|
3156
|
+
| 'text block.set'
|
|
3157
|
+
| 'text block.unset'
|
|
1416
3158
|
| 'key.down'
|
|
1417
3159
|
| 'key.up'
|
|
1418
3160
|
| 'paste'
|
|
@@ -1432,19 +3174,40 @@ export declare const coreBehaviors: Behavior_2<
|
|
|
1432
3174
|
| 'deserialization.success'
|
|
1433
3175
|
| 'annotation.add'
|
|
1434
3176
|
| 'annotation.remove'
|
|
3177
|
+
| 'annotation.toggle'
|
|
3178
|
+
| 'block.set'
|
|
3179
|
+
| 'block.unset'
|
|
1435
3180
|
| 'blur'
|
|
1436
3181
|
| 'data transfer.set'
|
|
3182
|
+
| 'decorator.add'
|
|
3183
|
+
| 'decorator.remove'
|
|
1437
3184
|
| 'decorator.toggle'
|
|
1438
3185
|
| 'delete.backward'
|
|
3186
|
+
| 'delete.block'
|
|
1439
3187
|
| 'delete.forward'
|
|
3188
|
+
| 'delete.text'
|
|
1440
3189
|
| 'insert.blocks'
|
|
1441
3190
|
| 'insert.block object'
|
|
1442
3191
|
| 'insert.inline object'
|
|
1443
3192
|
| 'insert.break'
|
|
1444
3193
|
| 'insert.soft break'
|
|
3194
|
+
| 'insert.block'
|
|
3195
|
+
| 'insert.span'
|
|
1445
3196
|
| 'insert.text'
|
|
3197
|
+
| 'insert.text block'
|
|
3198
|
+
| 'list item.add'
|
|
3199
|
+
| 'list item.remove'
|
|
1446
3200
|
| 'list item.toggle'
|
|
3201
|
+
| 'move.block'
|
|
3202
|
+
| 'move.block down'
|
|
3203
|
+
| 'move.block up'
|
|
3204
|
+
| 'select.previous block'
|
|
3205
|
+
| 'select.next block'
|
|
3206
|
+
| 'style.add'
|
|
3207
|
+
| 'style.remove'
|
|
1447
3208
|
| 'style.toggle'
|
|
3209
|
+
| 'text block.set'
|
|
3210
|
+
| 'text block.unset'
|
|
1448
3211
|
| 'key.down'
|
|
1449
3212
|
| 'key.up'
|
|
1450
3213
|
| 'paste'
|
|
@@ -1469,19 +3232,40 @@ export declare function createCodeEditorBehaviors(
|
|
|
1469
3232
|
| 'deserialization.success'
|
|
1470
3233
|
| 'annotation.add'
|
|
1471
3234
|
| 'annotation.remove'
|
|
3235
|
+
| 'annotation.toggle'
|
|
3236
|
+
| 'block.set'
|
|
3237
|
+
| 'block.unset'
|
|
1472
3238
|
| 'blur'
|
|
1473
3239
|
| 'data transfer.set'
|
|
3240
|
+
| 'decorator.add'
|
|
3241
|
+
| 'decorator.remove'
|
|
1474
3242
|
| 'decorator.toggle'
|
|
1475
3243
|
| 'delete.backward'
|
|
3244
|
+
| 'delete.block'
|
|
1476
3245
|
| 'delete.forward'
|
|
3246
|
+
| 'delete.text'
|
|
1477
3247
|
| 'insert.blocks'
|
|
1478
3248
|
| 'insert.block object'
|
|
1479
3249
|
| 'insert.inline object'
|
|
1480
3250
|
| 'insert.break'
|
|
1481
3251
|
| 'insert.soft break'
|
|
3252
|
+
| 'insert.block'
|
|
3253
|
+
| 'insert.span'
|
|
1482
3254
|
| 'insert.text'
|
|
3255
|
+
| 'insert.text block'
|
|
3256
|
+
| 'list item.add'
|
|
3257
|
+
| 'list item.remove'
|
|
1483
3258
|
| 'list item.toggle'
|
|
3259
|
+
| 'move.block'
|
|
3260
|
+
| 'move.block down'
|
|
3261
|
+
| 'move.block up'
|
|
3262
|
+
| 'select.previous block'
|
|
3263
|
+
| 'select.next block'
|
|
3264
|
+
| 'style.add'
|
|
3265
|
+
| 'style.remove'
|
|
1484
3266
|
| 'style.toggle'
|
|
3267
|
+
| 'text block.set'
|
|
3268
|
+
| 'text block.unset'
|
|
1485
3269
|
| 'key.down'
|
|
1486
3270
|
| 'key.up'
|
|
1487
3271
|
| 'paste'
|
|
@@ -1501,19 +3285,40 @@ export declare function createCodeEditorBehaviors(
|
|
|
1501
3285
|
| 'deserialization.success'
|
|
1502
3286
|
| 'annotation.add'
|
|
1503
3287
|
| 'annotation.remove'
|
|
3288
|
+
| 'annotation.toggle'
|
|
3289
|
+
| 'block.set'
|
|
3290
|
+
| 'block.unset'
|
|
1504
3291
|
| 'blur'
|
|
1505
3292
|
| 'data transfer.set'
|
|
3293
|
+
| 'decorator.add'
|
|
3294
|
+
| 'decorator.remove'
|
|
1506
3295
|
| 'decorator.toggle'
|
|
1507
3296
|
| 'delete.backward'
|
|
3297
|
+
| 'delete.block'
|
|
1508
3298
|
| 'delete.forward'
|
|
3299
|
+
| 'delete.text'
|
|
1509
3300
|
| 'insert.blocks'
|
|
1510
3301
|
| 'insert.block object'
|
|
1511
3302
|
| 'insert.inline object'
|
|
1512
3303
|
| 'insert.break'
|
|
1513
3304
|
| 'insert.soft break'
|
|
3305
|
+
| 'insert.block'
|
|
3306
|
+
| 'insert.span'
|
|
1514
3307
|
| 'insert.text'
|
|
3308
|
+
| 'insert.text block'
|
|
3309
|
+
| 'list item.add'
|
|
3310
|
+
| 'list item.remove'
|
|
1515
3311
|
| 'list item.toggle'
|
|
3312
|
+
| 'move.block'
|
|
3313
|
+
| 'move.block down'
|
|
3314
|
+
| 'move.block up'
|
|
3315
|
+
| 'select.previous block'
|
|
3316
|
+
| 'select.next block'
|
|
3317
|
+
| 'style.add'
|
|
3318
|
+
| 'style.remove'
|
|
1516
3319
|
| 'style.toggle'
|
|
3320
|
+
| 'text block.set'
|
|
3321
|
+
| 'text block.unset'
|
|
1517
3322
|
| 'key.down'
|
|
1518
3323
|
| 'key.up'
|
|
1519
3324
|
| 'paste'
|
|
@@ -1538,19 +3343,40 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
1538
3343
|
| 'deserialization.success'
|
|
1539
3344
|
| 'annotation.add'
|
|
1540
3345
|
| 'annotation.remove'
|
|
3346
|
+
| 'annotation.toggle'
|
|
3347
|
+
| 'block.set'
|
|
3348
|
+
| 'block.unset'
|
|
1541
3349
|
| 'blur'
|
|
1542
3350
|
| 'data transfer.set'
|
|
3351
|
+
| 'decorator.add'
|
|
3352
|
+
| 'decorator.remove'
|
|
1543
3353
|
| 'decorator.toggle'
|
|
1544
3354
|
| 'delete.backward'
|
|
3355
|
+
| 'delete.block'
|
|
1545
3356
|
| 'delete.forward'
|
|
3357
|
+
| 'delete.text'
|
|
1546
3358
|
| 'insert.blocks'
|
|
1547
3359
|
| 'insert.block object'
|
|
1548
3360
|
| 'insert.inline object'
|
|
1549
3361
|
| 'insert.break'
|
|
1550
3362
|
| 'insert.soft break'
|
|
3363
|
+
| 'insert.block'
|
|
3364
|
+
| 'insert.span'
|
|
1551
3365
|
| 'insert.text'
|
|
3366
|
+
| 'insert.text block'
|
|
3367
|
+
| 'list item.add'
|
|
3368
|
+
| 'list item.remove'
|
|
1552
3369
|
| 'list item.toggle'
|
|
3370
|
+
| 'move.block'
|
|
3371
|
+
| 'move.block down'
|
|
3372
|
+
| 'move.block up'
|
|
3373
|
+
| 'select.previous block'
|
|
3374
|
+
| 'select.next block'
|
|
3375
|
+
| 'style.add'
|
|
3376
|
+
| 'style.remove'
|
|
1553
3377
|
| 'style.toggle'
|
|
3378
|
+
| 'text block.set'
|
|
3379
|
+
| 'text block.unset'
|
|
1554
3380
|
| 'key.down'
|
|
1555
3381
|
| 'key.up'
|
|
1556
3382
|
| 'paste'
|
|
@@ -1570,19 +3396,40 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
1570
3396
|
| 'deserialization.success'
|
|
1571
3397
|
| 'annotation.add'
|
|
1572
3398
|
| 'annotation.remove'
|
|
3399
|
+
| 'annotation.toggle'
|
|
3400
|
+
| 'block.set'
|
|
3401
|
+
| 'block.unset'
|
|
1573
3402
|
| 'blur'
|
|
1574
3403
|
| 'data transfer.set'
|
|
3404
|
+
| 'decorator.add'
|
|
3405
|
+
| 'decorator.remove'
|
|
1575
3406
|
| 'decorator.toggle'
|
|
1576
3407
|
| 'delete.backward'
|
|
3408
|
+
| 'delete.block'
|
|
1577
3409
|
| 'delete.forward'
|
|
3410
|
+
| 'delete.text'
|
|
1578
3411
|
| 'insert.blocks'
|
|
1579
3412
|
| 'insert.block object'
|
|
1580
3413
|
| 'insert.inline object'
|
|
1581
3414
|
| 'insert.break'
|
|
1582
3415
|
| 'insert.soft break'
|
|
3416
|
+
| 'insert.block'
|
|
3417
|
+
| 'insert.span'
|
|
1583
3418
|
| 'insert.text'
|
|
3419
|
+
| 'insert.text block'
|
|
3420
|
+
| 'list item.add'
|
|
3421
|
+
| 'list item.remove'
|
|
1584
3422
|
| 'list item.toggle'
|
|
3423
|
+
| 'move.block'
|
|
3424
|
+
| 'move.block down'
|
|
3425
|
+
| 'move.block up'
|
|
3426
|
+
| 'select.previous block'
|
|
3427
|
+
| 'select.next block'
|
|
3428
|
+
| 'style.add'
|
|
3429
|
+
| 'style.remove'
|
|
1585
3430
|
| 'style.toggle'
|
|
3431
|
+
| 'text block.set'
|
|
3432
|
+
| 'text block.unset'
|
|
1586
3433
|
| 'key.down'
|
|
1587
3434
|
| 'key.up'
|
|
1588
3435
|
| 'paste'
|
|
@@ -1607,19 +3454,40 @@ export declare function createLinkBehaviors(
|
|
|
1607
3454
|
| 'deserialization.success'
|
|
1608
3455
|
| 'annotation.add'
|
|
1609
3456
|
| 'annotation.remove'
|
|
3457
|
+
| 'annotation.toggle'
|
|
3458
|
+
| 'block.set'
|
|
3459
|
+
| 'block.unset'
|
|
1610
3460
|
| 'blur'
|
|
1611
3461
|
| 'data transfer.set'
|
|
3462
|
+
| 'decorator.add'
|
|
3463
|
+
| 'decorator.remove'
|
|
1612
3464
|
| 'decorator.toggle'
|
|
1613
3465
|
| 'delete.backward'
|
|
3466
|
+
| 'delete.block'
|
|
1614
3467
|
| 'delete.forward'
|
|
3468
|
+
| 'delete.text'
|
|
1615
3469
|
| 'insert.blocks'
|
|
1616
3470
|
| 'insert.block object'
|
|
1617
3471
|
| 'insert.inline object'
|
|
1618
3472
|
| 'insert.break'
|
|
1619
3473
|
| 'insert.soft break'
|
|
3474
|
+
| 'insert.block'
|
|
3475
|
+
| 'insert.span'
|
|
1620
3476
|
| 'insert.text'
|
|
3477
|
+
| 'insert.text block'
|
|
3478
|
+
| 'list item.add'
|
|
3479
|
+
| 'list item.remove'
|
|
1621
3480
|
| 'list item.toggle'
|
|
3481
|
+
| 'move.block'
|
|
3482
|
+
| 'move.block down'
|
|
3483
|
+
| 'move.block up'
|
|
3484
|
+
| 'select.previous block'
|
|
3485
|
+
| 'select.next block'
|
|
3486
|
+
| 'style.add'
|
|
3487
|
+
| 'style.remove'
|
|
1622
3488
|
| 'style.toggle'
|
|
3489
|
+
| 'text block.set'
|
|
3490
|
+
| 'text block.unset'
|
|
1623
3491
|
| 'key.down'
|
|
1624
3492
|
| 'key.up'
|
|
1625
3493
|
| 'paste'
|
|
@@ -1639,19 +3507,40 @@ export declare function createLinkBehaviors(
|
|
|
1639
3507
|
| 'deserialization.success'
|
|
1640
3508
|
| 'annotation.add'
|
|
1641
3509
|
| 'annotation.remove'
|
|
3510
|
+
| 'annotation.toggle'
|
|
3511
|
+
| 'block.set'
|
|
3512
|
+
| 'block.unset'
|
|
1642
3513
|
| 'blur'
|
|
1643
3514
|
| 'data transfer.set'
|
|
3515
|
+
| 'decorator.add'
|
|
3516
|
+
| 'decorator.remove'
|
|
1644
3517
|
| 'decorator.toggle'
|
|
1645
3518
|
| 'delete.backward'
|
|
3519
|
+
| 'delete.block'
|
|
1646
3520
|
| 'delete.forward'
|
|
3521
|
+
| 'delete.text'
|
|
1647
3522
|
| 'insert.blocks'
|
|
1648
3523
|
| 'insert.block object'
|
|
1649
3524
|
| 'insert.inline object'
|
|
1650
3525
|
| 'insert.break'
|
|
1651
3526
|
| 'insert.soft break'
|
|
3527
|
+
| 'insert.block'
|
|
3528
|
+
| 'insert.span'
|
|
1652
3529
|
| 'insert.text'
|
|
3530
|
+
| 'insert.text block'
|
|
3531
|
+
| 'list item.add'
|
|
3532
|
+
| 'list item.remove'
|
|
1653
3533
|
| 'list item.toggle'
|
|
3534
|
+
| 'move.block'
|
|
3535
|
+
| 'move.block down'
|
|
3536
|
+
| 'move.block up'
|
|
3537
|
+
| 'select.previous block'
|
|
3538
|
+
| 'select.next block'
|
|
3539
|
+
| 'style.add'
|
|
3540
|
+
| 'style.remove'
|
|
1654
3541
|
| 'style.toggle'
|
|
3542
|
+
| 'text block.set'
|
|
3543
|
+
| 'text block.unset'
|
|
1655
3544
|
| 'key.down'
|
|
1656
3545
|
| 'key.up'
|
|
1657
3546
|
| 'paste'
|
|
@@ -1718,19 +3607,40 @@ export declare function createMarkdownBehaviors(
|
|
|
1718
3607
|
| 'deserialization.success'
|
|
1719
3608
|
| 'annotation.add'
|
|
1720
3609
|
| 'annotation.remove'
|
|
3610
|
+
| 'annotation.toggle'
|
|
3611
|
+
| 'block.set'
|
|
3612
|
+
| 'block.unset'
|
|
1721
3613
|
| 'blur'
|
|
1722
3614
|
| 'data transfer.set'
|
|
3615
|
+
| 'decorator.add'
|
|
3616
|
+
| 'decorator.remove'
|
|
1723
3617
|
| 'decorator.toggle'
|
|
1724
3618
|
| 'delete.backward'
|
|
3619
|
+
| 'delete.block'
|
|
1725
3620
|
| 'delete.forward'
|
|
3621
|
+
| 'delete.text'
|
|
1726
3622
|
| 'insert.blocks'
|
|
1727
3623
|
| 'insert.block object'
|
|
1728
3624
|
| 'insert.inline object'
|
|
1729
3625
|
| 'insert.break'
|
|
1730
3626
|
| 'insert.soft break'
|
|
3627
|
+
| 'insert.block'
|
|
3628
|
+
| 'insert.span'
|
|
1731
3629
|
| 'insert.text'
|
|
3630
|
+
| 'insert.text block'
|
|
3631
|
+
| 'list item.add'
|
|
3632
|
+
| 'list item.remove'
|
|
1732
3633
|
| 'list item.toggle'
|
|
3634
|
+
| 'move.block'
|
|
3635
|
+
| 'move.block down'
|
|
3636
|
+
| 'move.block up'
|
|
3637
|
+
| 'select.previous block'
|
|
3638
|
+
| 'select.next block'
|
|
3639
|
+
| 'style.add'
|
|
3640
|
+
| 'style.remove'
|
|
1733
3641
|
| 'style.toggle'
|
|
3642
|
+
| 'text block.set'
|
|
3643
|
+
| 'text block.unset'
|
|
1734
3644
|
| 'key.down'
|
|
1735
3645
|
| 'key.up'
|
|
1736
3646
|
| 'paste'
|
|
@@ -1750,19 +3660,40 @@ export declare function createMarkdownBehaviors(
|
|
|
1750
3660
|
| 'deserialization.success'
|
|
1751
3661
|
| 'annotation.add'
|
|
1752
3662
|
| 'annotation.remove'
|
|
3663
|
+
| 'annotation.toggle'
|
|
3664
|
+
| 'block.set'
|
|
3665
|
+
| 'block.unset'
|
|
1753
3666
|
| 'blur'
|
|
1754
3667
|
| 'data transfer.set'
|
|
3668
|
+
| 'decorator.add'
|
|
3669
|
+
| 'decorator.remove'
|
|
1755
3670
|
| 'decorator.toggle'
|
|
1756
3671
|
| 'delete.backward'
|
|
3672
|
+
| 'delete.block'
|
|
1757
3673
|
| 'delete.forward'
|
|
3674
|
+
| 'delete.text'
|
|
1758
3675
|
| 'insert.blocks'
|
|
1759
3676
|
| 'insert.block object'
|
|
1760
3677
|
| 'insert.inline object'
|
|
1761
3678
|
| 'insert.break'
|
|
1762
3679
|
| 'insert.soft break'
|
|
3680
|
+
| 'insert.block'
|
|
3681
|
+
| 'insert.span'
|
|
1763
3682
|
| 'insert.text'
|
|
3683
|
+
| 'insert.text block'
|
|
3684
|
+
| 'list item.add'
|
|
3685
|
+
| 'list item.remove'
|
|
1764
3686
|
| 'list item.toggle'
|
|
3687
|
+
| 'move.block'
|
|
3688
|
+
| 'move.block down'
|
|
3689
|
+
| 'move.block up'
|
|
3690
|
+
| 'select.previous block'
|
|
3691
|
+
| 'select.next block'
|
|
3692
|
+
| 'style.add'
|
|
3693
|
+
| 'style.remove'
|
|
1765
3694
|
| 'style.toggle'
|
|
3695
|
+
| 'text block.set'
|
|
3696
|
+
| 'text block.unset'
|
|
1766
3697
|
| 'key.down'
|
|
1767
3698
|
| 'key.up'
|
|
1768
3699
|
| 'paste'
|
|
@@ -2008,6 +3939,25 @@ export declare type SyntheticBehaviorEvent =
|
|
|
2008
3939
|
name: string
|
|
2009
3940
|
}
|
|
2010
3941
|
}
|
|
3942
|
+
| {
|
|
3943
|
+
type: 'annotation.toggle'
|
|
3944
|
+
annotation: {
|
|
3945
|
+
name: string
|
|
3946
|
+
value: {
|
|
3947
|
+
[prop: string]: unknown
|
|
3948
|
+
}
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
| {
|
|
3952
|
+
type: 'block.set'
|
|
3953
|
+
at: [KeyedSegment]
|
|
3954
|
+
[props: string]: unknown
|
|
3955
|
+
}
|
|
3956
|
+
| {
|
|
3957
|
+
type: 'block.unset'
|
|
3958
|
+
at: [KeyedSegment]
|
|
3959
|
+
props: Array<string>
|
|
3960
|
+
}
|
|
2011
3961
|
| {
|
|
2012
3962
|
type: 'blur'
|
|
2013
3963
|
}
|
|
@@ -2017,6 +3967,14 @@ export declare type SyntheticBehaviorEvent =
|
|
|
2017
3967
|
dataTransfer: DataTransfer
|
|
2018
3968
|
mimeType: MIMEType
|
|
2019
3969
|
}
|
|
3970
|
+
| {
|
|
3971
|
+
type: 'decorator.add'
|
|
3972
|
+
decorator: string
|
|
3973
|
+
}
|
|
3974
|
+
| {
|
|
3975
|
+
type: 'decorator.remove'
|
|
3976
|
+
decorator: string
|
|
3977
|
+
}
|
|
2020
3978
|
| {
|
|
2021
3979
|
type: 'decorator.toggle'
|
|
2022
3980
|
decorator: string
|
|
@@ -2025,10 +3983,19 @@ export declare type SyntheticBehaviorEvent =
|
|
|
2025
3983
|
type: 'delete.backward'
|
|
2026
3984
|
unit: TextUnit
|
|
2027
3985
|
}
|
|
3986
|
+
| {
|
|
3987
|
+
type: 'delete.block'
|
|
3988
|
+
blockPath: [KeyedSegment]
|
|
3989
|
+
}
|
|
2028
3990
|
| {
|
|
2029
3991
|
type: 'delete.forward'
|
|
2030
3992
|
unit: TextUnit
|
|
2031
3993
|
}
|
|
3994
|
+
| {
|
|
3995
|
+
type: 'delete.text'
|
|
3996
|
+
anchor: BlockOffset
|
|
3997
|
+
focus: BlockOffset
|
|
3998
|
+
}
|
|
2032
3999
|
| {
|
|
2033
4000
|
type: 'focus'
|
|
2034
4001
|
}
|
|
@@ -2061,23 +4028,93 @@ export declare type SyntheticBehaviorEvent =
|
|
|
2061
4028
|
| {
|
|
2062
4029
|
type: 'insert.soft break'
|
|
2063
4030
|
}
|
|
4031
|
+
| {
|
|
4032
|
+
type: 'insert.block'
|
|
4033
|
+
block: PortableTextBlock
|
|
4034
|
+
placement: 'auto' | 'after' | 'before'
|
|
4035
|
+
}
|
|
4036
|
+
| {
|
|
4037
|
+
type: 'insert.span'
|
|
4038
|
+
text: string
|
|
4039
|
+
annotations?: Array<{
|
|
4040
|
+
name: string
|
|
4041
|
+
value: {
|
|
4042
|
+
[prop: string]: unknown
|
|
4043
|
+
}
|
|
4044
|
+
}>
|
|
4045
|
+
decorators?: Array<string>
|
|
4046
|
+
}
|
|
2064
4047
|
| {
|
|
2065
4048
|
type: 'insert.text'
|
|
2066
4049
|
text: string
|
|
2067
4050
|
options?: TextInsertTextOptions
|
|
2068
4051
|
}
|
|
4052
|
+
| {
|
|
4053
|
+
type: 'insert.text block'
|
|
4054
|
+
placement: 'auto' | 'after' | 'before'
|
|
4055
|
+
textBlock?: {
|
|
4056
|
+
children?: PortableTextTextBlock['children']
|
|
4057
|
+
}
|
|
4058
|
+
}
|
|
4059
|
+
| {
|
|
4060
|
+
type: 'list item.add'
|
|
4061
|
+
listItem: string
|
|
4062
|
+
}
|
|
4063
|
+
| {
|
|
4064
|
+
type: 'list item.remove'
|
|
4065
|
+
listItem: string
|
|
4066
|
+
}
|
|
2069
4067
|
| {
|
|
2070
4068
|
type: 'list item.toggle'
|
|
2071
4069
|
listItem: string
|
|
2072
4070
|
}
|
|
4071
|
+
| {
|
|
4072
|
+
type: 'move.block'
|
|
4073
|
+
at: [KeyedSegment]
|
|
4074
|
+
to: [KeyedSegment]
|
|
4075
|
+
}
|
|
4076
|
+
| {
|
|
4077
|
+
type: 'move.block down'
|
|
4078
|
+
at: [KeyedSegment]
|
|
4079
|
+
}
|
|
4080
|
+
| {
|
|
4081
|
+
type: 'move.block up'
|
|
4082
|
+
at: [KeyedSegment]
|
|
4083
|
+
}
|
|
2073
4084
|
| {
|
|
2074
4085
|
type: 'select'
|
|
2075
4086
|
selection: EditorSelection
|
|
2076
4087
|
}
|
|
4088
|
+
| {
|
|
4089
|
+
type: 'select.previous block'
|
|
4090
|
+
}
|
|
4091
|
+
| {
|
|
4092
|
+
type: 'select.next block'
|
|
4093
|
+
}
|
|
4094
|
+
| {
|
|
4095
|
+
type: 'style.add'
|
|
4096
|
+
style: string
|
|
4097
|
+
}
|
|
4098
|
+
| {
|
|
4099
|
+
type: 'style.remove'
|
|
4100
|
+
style: string
|
|
4101
|
+
}
|
|
2077
4102
|
| {
|
|
2078
4103
|
type: 'style.toggle'
|
|
2079
4104
|
style: string
|
|
2080
4105
|
}
|
|
4106
|
+
| {
|
|
4107
|
+
type: 'text block.set'
|
|
4108
|
+
at: [KeyedSegment]
|
|
4109
|
+
level?: number
|
|
4110
|
+
listItem?: string
|
|
4111
|
+
style?: string
|
|
4112
|
+
}
|
|
4113
|
+
| {
|
|
4114
|
+
type: 'text block.unset'
|
|
4115
|
+
at: [KeyedSegment]
|
|
4116
|
+
props: Array<'level' | 'listItem' | 'style'>
|
|
4117
|
+
}
|
|
2081
4118
|
| (PickFromUnion<
|
|
2082
4119
|
ConverterEvent,
|
|
2083
4120
|
'type',
|