@portabletext/editor 1.23.0 → 1.25.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 +249 -62
- package/lib/_chunks-cjs/behavior.core.cjs.map +1 -1
- package/lib/_chunks-cjs/{selector.is-selection-collapsed.cjs → selector.is-active-style.cjs} +158 -3
- package/lib/_chunks-cjs/selector.is-active-style.cjs.map +1 -0
- package/lib/_chunks-cjs/util.slice-blocks.cjs +23 -9
- package/lib/_chunks-cjs/util.slice-blocks.cjs.map +1 -1
- package/lib/_chunks-es/behavior.core.js +225 -38
- package/lib/_chunks-es/behavior.core.js.map +1 -1
- package/lib/_chunks-es/{selector.is-selection-collapsed.js → selector.is-active-style.js} +159 -4
- package/lib/_chunks-es/selector.is-active-style.js.map +1 -0
- package/lib/_chunks-es/util.slice-blocks.js +23 -9
- package/lib/_chunks-es/util.slice-blocks.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 +2830 -139
- package/lib/behaviors/index.d.ts +2830 -139
- package/lib/behaviors/index.js +1 -1
- package/lib/index.cjs +695 -526
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +8950 -246
- package/lib/index.d.ts +8950 -246
- package/lib/index.js +696 -525
- package/lib/index.js.map +1 -1
- package/lib/selectors/index.cjs +24 -171
- package/lib/selectors/index.cjs.map +1 -1
- package/lib/selectors/index.d.cts +73 -0
- package/lib/selectors/index.d.ts +73 -0
- package/lib/selectors/index.js +3 -151
- package/lib/selectors/index.js.map +1 -1
- package/package.json +11 -10
- package/src/behavior-actions/behavior.action.data-transfer-set.ts +7 -0
- package/src/behavior-actions/behavior.action.insert-blocks.ts +61 -0
- package/src/behavior-actions/behavior.actions.ts +159 -83
- 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.deserialize.ts +46 -0
- package/src/behaviors/behavior.core.lists.ts +57 -23
- package/src/behaviors/behavior.core.serialize.ts +44 -0
- package/src/behaviors/behavior.core.style.ts +19 -0
- package/src/behaviors/behavior.core.ts +19 -0
- package/src/behaviors/behavior.types.ts +126 -89
- package/src/converters/converter.json.ts +53 -0
- package/src/converters/converter.portable-text.deserialize.test.ts +686 -0
- package/src/converters/converter.portable-text.ts +59 -0
- package/src/converters/converter.text-html.deserialize.test.ts +349 -0
- package/src/converters/converter.text-html.serialize.test.ts +233 -0
- package/src/converters/converter.text-html.ts +61 -0
- package/src/converters/converter.text-plain.test.ts +241 -0
- package/src/converters/converter.text-plain.ts +91 -0
- package/src/converters/converter.ts +65 -0
- package/src/converters/converters.ts +11 -0
- package/src/editor/Editable.tsx +3 -13
- package/src/editor/create-editor.ts +48 -6
- package/src/editor/editor-machine.ts +56 -2
- package/src/editor/editor-selector.ts +1 -0
- package/src/editor/editor-snapshot.ts +5 -0
- package/src/editor/plugins/create-with-event-listeners.ts +82 -106
- package/src/internal-utils/asserters.ts +9 -0
- package/src/internal-utils/mime-type.ts +1 -0
- package/src/internal-utils/parse-blocks.ts +136 -0
- package/src/internal-utils/test-key-generator.ts +9 -0
- package/src/selectors/selector.get-selected-spans.test.ts +1 -0
- package/src/selectors/selector.get-selection-text.test.ts +1 -0
- package/src/selectors/selector.is-active-decorator.test.ts +1 -0
- package/src/utils/util.slice-blocks.test.ts +87 -0
- package/src/utils/util.slice-blocks.ts +27 -10
- package/lib/_chunks-cjs/selector.is-selection-collapsed.cjs.map +0 -1
- package/lib/_chunks-es/selector.is-selection-collapsed.js.map +0 -1
- package/src/editor/plugins/__tests__/createWithInsertData.test.tsx +0 -181
- package/src/editor/plugins/createWithInsertData.ts +0 -425
package/lib/behaviors/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import type {
|
|
|
11
11
|
} from '@sanity/types'
|
|
12
12
|
import type {TextUnit} from 'slate'
|
|
13
13
|
import type {TextInsertTextOptions} from 'slate/dist/interfaces/transforms/text'
|
|
14
|
+
import {PickFromUnion as PickFromUnion_2} from '.'
|
|
14
15
|
import {
|
|
15
16
|
Behavior as Behavior_2,
|
|
16
17
|
BehaviorEvent as BehaviorEvent_2,
|
|
@@ -22,7 +23,11 @@ import {
|
|
|
22
23
|
export declare type Behavior<
|
|
23
24
|
TBehaviorEventType extends BehaviorEvent['type'] = BehaviorEvent['type'],
|
|
24
25
|
TGuardResponse = true,
|
|
25
|
-
TBehaviorEvent extends BehaviorEvent =
|
|
26
|
+
TBehaviorEvent extends BehaviorEvent = PickFromUnion<
|
|
27
|
+
BehaviorEvent,
|
|
28
|
+
'type',
|
|
29
|
+
TBehaviorEventType
|
|
30
|
+
>,
|
|
26
31
|
> = {
|
|
27
32
|
/**
|
|
28
33
|
* The internal editor event that triggers this behavior.
|
|
@@ -49,104 +54,13 @@ export declare type BehaviorActionIntend =
|
|
|
49
54
|
type: 'raise'
|
|
50
55
|
event: SyntheticBehaviorEvent | CustomBehaviorEvent
|
|
51
56
|
}
|
|
52
|
-
| {
|
|
53
|
-
type: 'annotation.toggle'
|
|
54
|
-
annotation: {
|
|
55
|
-
name: string
|
|
56
|
-
value: {
|
|
57
|
-
[prop: string]: unknown
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
| {
|
|
62
|
-
type: 'decorator.add'
|
|
63
|
-
decorator: string
|
|
64
|
-
}
|
|
65
|
-
| {
|
|
66
|
-
type: 'decorator.remove'
|
|
67
|
-
decorator: string
|
|
68
|
-
}
|
|
69
|
-
| {
|
|
70
|
-
type: 'insert.span'
|
|
71
|
-
text: string
|
|
72
|
-
annotations?: Array<{
|
|
73
|
-
name: string
|
|
74
|
-
value: {
|
|
75
|
-
[prop: string]: unknown
|
|
76
|
-
}
|
|
77
|
-
}>
|
|
78
|
-
decorators?: Array<string>
|
|
79
|
-
}
|
|
80
|
-
| {
|
|
81
|
-
type: 'insert.text block'
|
|
82
|
-
placement: 'auto' | 'after' | 'before'
|
|
83
|
-
textBlock?: {
|
|
84
|
-
children?: PortableTextTextBlock['children']
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
| {
|
|
88
|
-
type: 'list item.add'
|
|
89
|
-
listItem: string
|
|
90
|
-
}
|
|
91
|
-
| {
|
|
92
|
-
type: 'list item.remove'
|
|
93
|
-
listItem: string
|
|
94
|
-
}
|
|
95
|
-
| {
|
|
96
|
-
type: 'move.block'
|
|
97
|
-
at: [KeyedSegment]
|
|
98
|
-
to: [KeyedSegment]
|
|
99
|
-
}
|
|
100
|
-
| {
|
|
101
|
-
type: 'move.block down'
|
|
102
|
-
at: [KeyedSegment]
|
|
103
|
-
}
|
|
104
|
-
| {
|
|
105
|
-
type: 'move.block up'
|
|
106
|
-
at: [KeyedSegment]
|
|
107
|
-
}
|
|
108
57
|
| {
|
|
109
58
|
type: 'noop'
|
|
110
59
|
}
|
|
111
|
-
| {
|
|
112
|
-
type: 'delete.block'
|
|
113
|
-
blockPath: [KeyedSegment]
|
|
114
|
-
}
|
|
115
|
-
| {
|
|
116
|
-
type: 'delete.text'
|
|
117
|
-
anchor: BlockOffset
|
|
118
|
-
focus: BlockOffset
|
|
119
|
-
}
|
|
120
60
|
| {
|
|
121
61
|
type: 'effect'
|
|
122
62
|
effect: () => void
|
|
123
63
|
}
|
|
124
|
-
| {
|
|
125
|
-
type: 'select.previous block'
|
|
126
|
-
}
|
|
127
|
-
| {
|
|
128
|
-
type: 'select.next block'
|
|
129
|
-
}
|
|
130
|
-
| {
|
|
131
|
-
type: 'style.add'
|
|
132
|
-
style: string
|
|
133
|
-
}
|
|
134
|
-
| {
|
|
135
|
-
type: 'style.remove'
|
|
136
|
-
style: string
|
|
137
|
-
}
|
|
138
|
-
| {
|
|
139
|
-
type: 'text block.set'
|
|
140
|
-
at: [KeyedSegment]
|
|
141
|
-
level?: number
|
|
142
|
-
listItem?: string
|
|
143
|
-
style?: string
|
|
144
|
-
}
|
|
145
|
-
| {
|
|
146
|
-
type: 'text block.unset'
|
|
147
|
-
at: [KeyedSegment]
|
|
148
|
-
props: Array<'level' | 'listItem' | 'style'>
|
|
149
|
-
}
|
|
150
64
|
|
|
151
65
|
/**
|
|
152
66
|
* @beta
|
|
@@ -197,374 +111,2629 @@ export declare type CodeEditorBehaviorsConfig = {
|
|
|
197
111
|
moveBlockDownShortcut: string
|
|
198
112
|
}
|
|
199
113
|
|
|
114
|
+
declare type Converter<TMIMEType extends MIMEType = MIMEType> = {
|
|
115
|
+
mimeType: TMIMEType
|
|
116
|
+
serialize: Serializer<TMIMEType>
|
|
117
|
+
deserialize: Deserializer<TMIMEType>
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare type ConverterEvent<TMIMEType extends MIMEType = MIMEType> =
|
|
121
|
+
| {
|
|
122
|
+
type: 'serialize'
|
|
123
|
+
originEvent: 'copy' | 'cut' | 'unknown'
|
|
124
|
+
}
|
|
125
|
+
| {
|
|
126
|
+
type: 'serialization.failure'
|
|
127
|
+
mimeType: TMIMEType
|
|
128
|
+
reason: string
|
|
129
|
+
}
|
|
130
|
+
| {
|
|
131
|
+
type: 'serialization.success'
|
|
132
|
+
data: string
|
|
133
|
+
mimeType: TMIMEType
|
|
134
|
+
originEvent: 'copy' | 'cut' | 'unknown'
|
|
135
|
+
}
|
|
136
|
+
| {
|
|
137
|
+
type: 'deserialize'
|
|
138
|
+
data: string
|
|
139
|
+
}
|
|
140
|
+
| {
|
|
141
|
+
type: 'deserialization.failure'
|
|
142
|
+
mimeType: TMIMEType
|
|
143
|
+
reason: string
|
|
144
|
+
}
|
|
145
|
+
| {
|
|
146
|
+
type: 'deserialization.success'
|
|
147
|
+
data: Array<PortableTextBlock>
|
|
148
|
+
mimeType: TMIMEType
|
|
149
|
+
}
|
|
150
|
+
|
|
200
151
|
/**
|
|
201
152
|
* @beta
|
|
202
153
|
*/
|
|
203
154
|
export declare const coreBehavior: {
|
|
204
|
-
|
|
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
|
+
| 'blur'
|
|
170
|
+
| 'data transfer.set'
|
|
171
|
+
| 'decorator.add'
|
|
172
|
+
| 'decorator.remove'
|
|
173
|
+
| 'decorator.toggle'
|
|
174
|
+
| 'delete.backward'
|
|
175
|
+
| 'delete.block'
|
|
176
|
+
| 'delete.forward'
|
|
177
|
+
| 'delete.text'
|
|
178
|
+
| 'insert.blocks'
|
|
179
|
+
| 'insert.block object'
|
|
180
|
+
| 'insert.inline object'
|
|
181
|
+
| 'insert.break'
|
|
182
|
+
| 'insert.soft break'
|
|
183
|
+
| 'insert.span'
|
|
184
|
+
| 'insert.text'
|
|
185
|
+
| 'insert.text block'
|
|
186
|
+
| 'list item.add'
|
|
187
|
+
| 'list item.remove'
|
|
188
|
+
| 'list item.toggle'
|
|
189
|
+
| 'move.block'
|
|
190
|
+
| 'move.block down'
|
|
191
|
+
| 'move.block up'
|
|
192
|
+
| 'select.previous block'
|
|
193
|
+
| 'select.next block'
|
|
194
|
+
| 'style.add'
|
|
195
|
+
| 'style.remove'
|
|
196
|
+
| 'style.toggle'
|
|
197
|
+
| 'text block.set'
|
|
198
|
+
| 'text block.unset'
|
|
199
|
+
| 'key.down'
|
|
200
|
+
| 'key.up'
|
|
201
|
+
| 'paste'
|
|
202
|
+
| `custom.${string}`,
|
|
203
|
+
true,
|
|
204
|
+
PickFromUnion_2<
|
|
205
|
+
BehaviorEvent_2,
|
|
206
|
+
'type',
|
|
207
|
+
| 'focus'
|
|
208
|
+
| 'select'
|
|
209
|
+
| 'serialize'
|
|
210
|
+
| 'copy'
|
|
211
|
+
| 'serialization.failure'
|
|
212
|
+
| 'serialization.success'
|
|
213
|
+
| 'deserialize'
|
|
214
|
+
| 'deserialization.failure'
|
|
215
|
+
| 'deserialization.success'
|
|
216
|
+
| 'annotation.add'
|
|
217
|
+
| 'annotation.remove'
|
|
218
|
+
| 'annotation.toggle'
|
|
219
|
+
| 'blur'
|
|
220
|
+
| 'data transfer.set'
|
|
221
|
+
| 'decorator.add'
|
|
222
|
+
| 'decorator.remove'
|
|
223
|
+
| 'decorator.toggle'
|
|
224
|
+
| 'delete.backward'
|
|
225
|
+
| 'delete.block'
|
|
226
|
+
| 'delete.forward'
|
|
227
|
+
| 'delete.text'
|
|
228
|
+
| 'insert.blocks'
|
|
229
|
+
| 'insert.block object'
|
|
230
|
+
| 'insert.inline object'
|
|
231
|
+
| 'insert.break'
|
|
232
|
+
| 'insert.soft break'
|
|
233
|
+
| 'insert.span'
|
|
234
|
+
| 'insert.text'
|
|
235
|
+
| 'insert.text block'
|
|
236
|
+
| 'list item.add'
|
|
237
|
+
| 'list item.remove'
|
|
238
|
+
| 'list item.toggle'
|
|
239
|
+
| 'move.block'
|
|
240
|
+
| 'move.block down'
|
|
241
|
+
| 'move.block up'
|
|
242
|
+
| 'select.previous block'
|
|
243
|
+
| 'select.next block'
|
|
244
|
+
| 'style.add'
|
|
245
|
+
| 'style.remove'
|
|
246
|
+
| 'style.toggle'
|
|
247
|
+
| 'text block.set'
|
|
248
|
+
| 'text block.unset'
|
|
249
|
+
| 'key.down'
|
|
250
|
+
| 'key.up'
|
|
251
|
+
| 'paste'
|
|
252
|
+
| `custom.${string}`
|
|
253
|
+
>
|
|
254
|
+
>
|
|
255
|
+
'serialization.success': Behavior_2<
|
|
256
|
+
| 'focus'
|
|
257
|
+
| 'select'
|
|
258
|
+
| 'serialize'
|
|
259
|
+
| 'copy'
|
|
260
|
+
| 'serialization.failure'
|
|
261
|
+
| 'serialization.success'
|
|
262
|
+
| 'deserialize'
|
|
263
|
+
| 'deserialization.failure'
|
|
264
|
+
| 'deserialization.success'
|
|
265
|
+
| 'annotation.add'
|
|
266
|
+
| 'annotation.remove'
|
|
267
|
+
| 'annotation.toggle'
|
|
268
|
+
| 'blur'
|
|
269
|
+
| 'data transfer.set'
|
|
270
|
+
| 'decorator.add'
|
|
271
|
+
| 'decorator.remove'
|
|
272
|
+
| 'decorator.toggle'
|
|
273
|
+
| 'delete.backward'
|
|
274
|
+
| 'delete.block'
|
|
275
|
+
| 'delete.forward'
|
|
276
|
+
| 'delete.text'
|
|
277
|
+
| 'insert.blocks'
|
|
278
|
+
| 'insert.block object'
|
|
279
|
+
| 'insert.inline object'
|
|
280
|
+
| 'insert.break'
|
|
281
|
+
| 'insert.soft break'
|
|
282
|
+
| 'insert.span'
|
|
283
|
+
| 'insert.text'
|
|
284
|
+
| 'insert.text block'
|
|
285
|
+
| 'list item.add'
|
|
286
|
+
| 'list item.remove'
|
|
287
|
+
| 'list item.toggle'
|
|
288
|
+
| 'move.block'
|
|
289
|
+
| 'move.block down'
|
|
290
|
+
| 'move.block up'
|
|
291
|
+
| 'select.previous block'
|
|
292
|
+
| 'select.next block'
|
|
293
|
+
| 'style.add'
|
|
294
|
+
| 'style.remove'
|
|
295
|
+
| 'style.toggle'
|
|
296
|
+
| 'text block.set'
|
|
297
|
+
| 'text block.unset'
|
|
298
|
+
| 'key.down'
|
|
299
|
+
| 'key.up'
|
|
300
|
+
| 'paste'
|
|
301
|
+
| `custom.${string}`,
|
|
302
|
+
true,
|
|
303
|
+
PickFromUnion_2<
|
|
304
|
+
BehaviorEvent_2,
|
|
305
|
+
'type',
|
|
306
|
+
| 'focus'
|
|
307
|
+
| 'select'
|
|
308
|
+
| 'serialize'
|
|
309
|
+
| 'copy'
|
|
310
|
+
| 'serialization.failure'
|
|
311
|
+
| 'serialization.success'
|
|
312
|
+
| 'deserialize'
|
|
313
|
+
| 'deserialization.failure'
|
|
314
|
+
| 'deserialization.success'
|
|
315
|
+
| 'annotation.add'
|
|
316
|
+
| 'annotation.remove'
|
|
317
|
+
| 'annotation.toggle'
|
|
318
|
+
| 'blur'
|
|
319
|
+
| 'data transfer.set'
|
|
320
|
+
| 'decorator.add'
|
|
321
|
+
| 'decorator.remove'
|
|
322
|
+
| 'decorator.toggle'
|
|
323
|
+
| 'delete.backward'
|
|
324
|
+
| 'delete.block'
|
|
325
|
+
| 'delete.forward'
|
|
326
|
+
| 'delete.text'
|
|
327
|
+
| 'insert.blocks'
|
|
328
|
+
| 'insert.block object'
|
|
329
|
+
| 'insert.inline object'
|
|
330
|
+
| 'insert.break'
|
|
331
|
+
| 'insert.soft break'
|
|
332
|
+
| 'insert.span'
|
|
333
|
+
| 'insert.text'
|
|
334
|
+
| 'insert.text block'
|
|
335
|
+
| 'list item.add'
|
|
336
|
+
| 'list item.remove'
|
|
337
|
+
| 'list item.toggle'
|
|
338
|
+
| 'move.block'
|
|
339
|
+
| 'move.block down'
|
|
340
|
+
| 'move.block up'
|
|
341
|
+
| 'select.previous block'
|
|
342
|
+
| 'select.next block'
|
|
343
|
+
| 'style.add'
|
|
344
|
+
| 'style.remove'
|
|
345
|
+
| 'style.toggle'
|
|
346
|
+
| 'text block.set'
|
|
347
|
+
| 'text block.unset'
|
|
348
|
+
| 'key.down'
|
|
349
|
+
| 'key.up'
|
|
350
|
+
| 'paste'
|
|
351
|
+
| `custom.${string}`
|
|
352
|
+
>
|
|
353
|
+
>
|
|
354
|
+
}
|
|
355
|
+
'serialize': Behavior_2<
|
|
205
356
|
| 'focus'
|
|
206
357
|
| 'select'
|
|
358
|
+
| 'serialize'
|
|
359
|
+
| 'copy'
|
|
360
|
+
| 'serialization.failure'
|
|
361
|
+
| 'serialization.success'
|
|
362
|
+
| 'deserialize'
|
|
363
|
+
| 'deserialization.failure'
|
|
364
|
+
| 'deserialization.success'
|
|
207
365
|
| 'annotation.add'
|
|
208
366
|
| 'annotation.remove'
|
|
367
|
+
| 'annotation.toggle'
|
|
209
368
|
| 'blur'
|
|
369
|
+
| 'data transfer.set'
|
|
370
|
+
| 'decorator.add'
|
|
371
|
+
| 'decorator.remove'
|
|
210
372
|
| 'decorator.toggle'
|
|
211
373
|
| 'delete.backward'
|
|
374
|
+
| 'delete.block'
|
|
212
375
|
| 'delete.forward'
|
|
376
|
+
| 'delete.text'
|
|
377
|
+
| 'insert.blocks'
|
|
213
378
|
| 'insert.block object'
|
|
214
379
|
| 'insert.inline object'
|
|
215
380
|
| 'insert.break'
|
|
216
381
|
| 'insert.soft break'
|
|
382
|
+
| 'insert.span'
|
|
217
383
|
| 'insert.text'
|
|
384
|
+
| 'insert.text block'
|
|
385
|
+
| 'list item.add'
|
|
386
|
+
| 'list item.remove'
|
|
218
387
|
| 'list item.toggle'
|
|
388
|
+
| 'move.block'
|
|
389
|
+
| 'move.block down'
|
|
390
|
+
| 'move.block up'
|
|
391
|
+
| 'select.previous block'
|
|
392
|
+
| 'select.next block'
|
|
393
|
+
| 'style.add'
|
|
394
|
+
| 'style.remove'
|
|
219
395
|
| 'style.toggle'
|
|
396
|
+
| 'text block.set'
|
|
397
|
+
| 'text block.unset'
|
|
398
|
+
| 'key.down'
|
|
399
|
+
| 'key.up'
|
|
400
|
+
| 'paste'
|
|
401
|
+
| `custom.${string}`,
|
|
402
|
+
true,
|
|
403
|
+
PickFromUnion_2<
|
|
404
|
+
BehaviorEvent_2,
|
|
405
|
+
'type',
|
|
406
|
+
| 'focus'
|
|
407
|
+
| 'select'
|
|
408
|
+
| 'serialize'
|
|
409
|
+
| 'copy'
|
|
410
|
+
| 'serialization.failure'
|
|
411
|
+
| 'serialization.success'
|
|
412
|
+
| 'deserialize'
|
|
413
|
+
| 'deserialization.failure'
|
|
414
|
+
| 'deserialization.success'
|
|
415
|
+
| 'annotation.add'
|
|
416
|
+
| 'annotation.remove'
|
|
417
|
+
| 'annotation.toggle'
|
|
418
|
+
| 'blur'
|
|
419
|
+
| 'data transfer.set'
|
|
420
|
+
| 'decorator.add'
|
|
421
|
+
| 'decorator.remove'
|
|
422
|
+
| 'decorator.toggle'
|
|
423
|
+
| 'delete.backward'
|
|
424
|
+
| 'delete.block'
|
|
425
|
+
| 'delete.forward'
|
|
426
|
+
| 'delete.text'
|
|
427
|
+
| 'insert.blocks'
|
|
428
|
+
| 'insert.block object'
|
|
429
|
+
| 'insert.inline object'
|
|
430
|
+
| 'insert.break'
|
|
431
|
+
| 'insert.soft break'
|
|
432
|
+
| 'insert.span'
|
|
433
|
+
| 'insert.text'
|
|
434
|
+
| 'insert.text block'
|
|
435
|
+
| 'list item.add'
|
|
436
|
+
| 'list item.remove'
|
|
437
|
+
| 'list item.toggle'
|
|
438
|
+
| 'move.block'
|
|
439
|
+
| 'move.block down'
|
|
440
|
+
| 'move.block up'
|
|
441
|
+
| 'select.previous block'
|
|
442
|
+
| 'select.next block'
|
|
443
|
+
| 'style.add'
|
|
444
|
+
| 'style.remove'
|
|
445
|
+
| 'style.toggle'
|
|
446
|
+
| 'text block.set'
|
|
447
|
+
| 'text block.unset'
|
|
448
|
+
| 'key.down'
|
|
449
|
+
| 'key.up'
|
|
450
|
+
| 'paste'
|
|
451
|
+
| `custom.${string}`
|
|
452
|
+
>
|
|
453
|
+
>
|
|
454
|
+
'serialization.success': Behavior_2<
|
|
455
|
+
| 'focus'
|
|
456
|
+
| 'select'
|
|
457
|
+
| 'serialize'
|
|
220
458
|
| 'copy'
|
|
459
|
+
| 'serialization.failure'
|
|
460
|
+
| 'serialization.success'
|
|
461
|
+
| 'deserialize'
|
|
462
|
+
| 'deserialization.failure'
|
|
463
|
+
| 'deserialization.success'
|
|
464
|
+
| 'annotation.add'
|
|
465
|
+
| 'annotation.remove'
|
|
466
|
+
| 'annotation.toggle'
|
|
467
|
+
| 'blur'
|
|
468
|
+
| 'data transfer.set'
|
|
469
|
+
| 'decorator.add'
|
|
470
|
+
| 'decorator.remove'
|
|
471
|
+
| 'decorator.toggle'
|
|
472
|
+
| 'delete.backward'
|
|
473
|
+
| 'delete.block'
|
|
474
|
+
| 'delete.forward'
|
|
475
|
+
| 'delete.text'
|
|
476
|
+
| 'insert.blocks'
|
|
477
|
+
| 'insert.block object'
|
|
478
|
+
| 'insert.inline object'
|
|
479
|
+
| 'insert.break'
|
|
480
|
+
| 'insert.soft break'
|
|
481
|
+
| 'insert.span'
|
|
482
|
+
| 'insert.text'
|
|
483
|
+
| 'insert.text block'
|
|
484
|
+
| 'list item.add'
|
|
485
|
+
| 'list item.remove'
|
|
486
|
+
| 'list item.toggle'
|
|
487
|
+
| 'move.block'
|
|
488
|
+
| 'move.block down'
|
|
489
|
+
| 'move.block up'
|
|
490
|
+
| 'select.previous block'
|
|
491
|
+
| 'select.next block'
|
|
492
|
+
| 'style.add'
|
|
493
|
+
| 'style.remove'
|
|
494
|
+
| 'style.toggle'
|
|
495
|
+
| 'text block.set'
|
|
496
|
+
| 'text block.unset'
|
|
221
497
|
| 'key.down'
|
|
222
498
|
| 'key.up'
|
|
223
499
|
| 'paste'
|
|
224
500
|
| `custom.${string}`,
|
|
225
501
|
true,
|
|
226
|
-
|
|
502
|
+
PickFromUnion_2<
|
|
503
|
+
BehaviorEvent_2,
|
|
504
|
+
'type',
|
|
505
|
+
| 'focus'
|
|
506
|
+
| 'select'
|
|
507
|
+
| 'serialize'
|
|
508
|
+
| 'copy'
|
|
509
|
+
| 'serialization.failure'
|
|
510
|
+
| 'serialization.success'
|
|
511
|
+
| 'deserialize'
|
|
512
|
+
| 'deserialization.failure'
|
|
513
|
+
| 'deserialization.success'
|
|
514
|
+
| 'annotation.add'
|
|
515
|
+
| 'annotation.remove'
|
|
516
|
+
| 'annotation.toggle'
|
|
517
|
+
| 'blur'
|
|
518
|
+
| 'data transfer.set'
|
|
519
|
+
| 'decorator.add'
|
|
520
|
+
| 'decorator.remove'
|
|
521
|
+
| 'decorator.toggle'
|
|
522
|
+
| 'delete.backward'
|
|
523
|
+
| 'delete.block'
|
|
524
|
+
| 'delete.forward'
|
|
525
|
+
| 'delete.text'
|
|
526
|
+
| 'insert.blocks'
|
|
527
|
+
| 'insert.block object'
|
|
528
|
+
| 'insert.inline object'
|
|
529
|
+
| 'insert.break'
|
|
530
|
+
| 'insert.soft break'
|
|
531
|
+
| 'insert.span'
|
|
532
|
+
| 'insert.text'
|
|
533
|
+
| 'insert.text block'
|
|
534
|
+
| 'list item.add'
|
|
535
|
+
| 'list item.remove'
|
|
536
|
+
| 'list item.toggle'
|
|
537
|
+
| 'move.block'
|
|
538
|
+
| 'move.block down'
|
|
539
|
+
| 'move.block up'
|
|
540
|
+
| 'select.previous block'
|
|
541
|
+
| 'select.next block'
|
|
542
|
+
| 'style.add'
|
|
543
|
+
| 'style.remove'
|
|
544
|
+
| 'style.toggle'
|
|
545
|
+
| 'text block.set'
|
|
546
|
+
| 'text block.unset'
|
|
547
|
+
| 'key.down'
|
|
548
|
+
| 'key.up'
|
|
549
|
+
| 'paste'
|
|
550
|
+
| `custom.${string}`
|
|
551
|
+
>
|
|
227
552
|
>
|
|
228
|
-
|
|
229
|
-
|
|
553
|
+
'softReturn': Behavior_2<
|
|
554
|
+
| 'focus'
|
|
555
|
+
| 'select'
|
|
556
|
+
| 'serialize'
|
|
557
|
+
| 'copy'
|
|
558
|
+
| 'serialization.failure'
|
|
559
|
+
| 'serialization.success'
|
|
560
|
+
| 'deserialize'
|
|
561
|
+
| 'deserialization.failure'
|
|
562
|
+
| 'deserialization.success'
|
|
563
|
+
| 'annotation.add'
|
|
564
|
+
| 'annotation.remove'
|
|
565
|
+
| 'annotation.toggle'
|
|
566
|
+
| 'blur'
|
|
567
|
+
| 'data transfer.set'
|
|
568
|
+
| 'decorator.add'
|
|
569
|
+
| 'decorator.remove'
|
|
570
|
+
| 'decorator.toggle'
|
|
571
|
+
| 'delete.backward'
|
|
572
|
+
| 'delete.block'
|
|
573
|
+
| 'delete.forward'
|
|
574
|
+
| 'delete.text'
|
|
575
|
+
| 'insert.blocks'
|
|
576
|
+
| 'insert.block object'
|
|
577
|
+
| 'insert.inline object'
|
|
578
|
+
| 'insert.break'
|
|
579
|
+
| 'insert.soft break'
|
|
580
|
+
| 'insert.span'
|
|
581
|
+
| 'insert.text'
|
|
582
|
+
| 'insert.text block'
|
|
583
|
+
| 'list item.add'
|
|
584
|
+
| 'list item.remove'
|
|
585
|
+
| 'list item.toggle'
|
|
586
|
+
| 'move.block'
|
|
587
|
+
| 'move.block down'
|
|
588
|
+
| 'move.block up'
|
|
589
|
+
| 'select.previous block'
|
|
590
|
+
| 'select.next block'
|
|
591
|
+
| 'style.add'
|
|
592
|
+
| 'style.remove'
|
|
593
|
+
| 'style.toggle'
|
|
594
|
+
| 'text block.set'
|
|
595
|
+
| 'text block.unset'
|
|
596
|
+
| 'key.down'
|
|
597
|
+
| 'key.up'
|
|
598
|
+
| 'paste'
|
|
599
|
+
| `custom.${string}`,
|
|
600
|
+
true,
|
|
601
|
+
PickFromUnion_2<
|
|
602
|
+
BehaviorEvent_2,
|
|
603
|
+
'type',
|
|
230
604
|
| 'focus'
|
|
231
605
|
| 'select'
|
|
606
|
+
| 'serialize'
|
|
607
|
+
| 'copy'
|
|
608
|
+
| 'serialization.failure'
|
|
609
|
+
| 'serialization.success'
|
|
610
|
+
| 'deserialize'
|
|
611
|
+
| 'deserialization.failure'
|
|
612
|
+
| 'deserialization.success'
|
|
232
613
|
| 'annotation.add'
|
|
233
614
|
| 'annotation.remove'
|
|
615
|
+
| 'annotation.toggle'
|
|
234
616
|
| 'blur'
|
|
617
|
+
| 'data transfer.set'
|
|
618
|
+
| 'decorator.add'
|
|
619
|
+
| 'decorator.remove'
|
|
235
620
|
| 'decorator.toggle'
|
|
236
621
|
| 'delete.backward'
|
|
622
|
+
| 'delete.block'
|
|
237
623
|
| 'delete.forward'
|
|
624
|
+
| 'delete.text'
|
|
625
|
+
| 'insert.blocks'
|
|
238
626
|
| 'insert.block object'
|
|
239
627
|
| 'insert.inline object'
|
|
240
628
|
| 'insert.break'
|
|
241
629
|
| 'insert.soft break'
|
|
630
|
+
| 'insert.span'
|
|
242
631
|
| 'insert.text'
|
|
632
|
+
| 'insert.text block'
|
|
633
|
+
| 'list item.add'
|
|
634
|
+
| 'list item.remove'
|
|
243
635
|
| 'list item.toggle'
|
|
636
|
+
| 'move.block'
|
|
637
|
+
| 'move.block down'
|
|
638
|
+
| 'move.block up'
|
|
639
|
+
| 'select.previous block'
|
|
640
|
+
| 'select.next block'
|
|
641
|
+
| 'style.add'
|
|
642
|
+
| 'style.remove'
|
|
244
643
|
| 'style.toggle'
|
|
644
|
+
| 'text block.set'
|
|
645
|
+
| 'text block.unset'
|
|
646
|
+
| 'key.down'
|
|
647
|
+
| 'key.up'
|
|
648
|
+
| 'paste'
|
|
649
|
+
| `custom.${string}`
|
|
650
|
+
>
|
|
651
|
+
>
|
|
652
|
+
'annotation': {
|
|
653
|
+
toggleAnnotationOff: Behavior_2<
|
|
654
|
+
| 'focus'
|
|
655
|
+
| 'select'
|
|
656
|
+
| 'serialize'
|
|
245
657
|
| 'copy'
|
|
658
|
+
| 'serialization.failure'
|
|
659
|
+
| 'serialization.success'
|
|
660
|
+
| 'deserialize'
|
|
661
|
+
| 'deserialization.failure'
|
|
662
|
+
| 'deserialization.success'
|
|
663
|
+
| 'annotation.add'
|
|
664
|
+
| 'annotation.remove'
|
|
665
|
+
| 'annotation.toggle'
|
|
666
|
+
| 'blur'
|
|
667
|
+
| 'data transfer.set'
|
|
668
|
+
| 'decorator.add'
|
|
669
|
+
| 'decorator.remove'
|
|
670
|
+
| 'decorator.toggle'
|
|
671
|
+
| 'delete.backward'
|
|
672
|
+
| 'delete.block'
|
|
673
|
+
| 'delete.forward'
|
|
674
|
+
| 'delete.text'
|
|
675
|
+
| 'insert.blocks'
|
|
676
|
+
| 'insert.block object'
|
|
677
|
+
| 'insert.inline object'
|
|
678
|
+
| 'insert.break'
|
|
679
|
+
| 'insert.soft break'
|
|
680
|
+
| 'insert.span'
|
|
681
|
+
| 'insert.text'
|
|
682
|
+
| 'insert.text block'
|
|
683
|
+
| 'list item.add'
|
|
684
|
+
| 'list item.remove'
|
|
685
|
+
| 'list item.toggle'
|
|
686
|
+
| 'move.block'
|
|
687
|
+
| 'move.block down'
|
|
688
|
+
| 'move.block up'
|
|
689
|
+
| 'select.previous block'
|
|
690
|
+
| 'select.next block'
|
|
691
|
+
| 'style.add'
|
|
692
|
+
| 'style.remove'
|
|
693
|
+
| 'style.toggle'
|
|
694
|
+
| 'text block.set'
|
|
695
|
+
| 'text block.unset'
|
|
246
696
|
| 'key.down'
|
|
247
697
|
| 'key.up'
|
|
248
698
|
| 'paste'
|
|
249
699
|
| `custom.${string}`,
|
|
250
700
|
true,
|
|
251
|
-
|
|
701
|
+
PickFromUnion_2<
|
|
702
|
+
BehaviorEvent_2,
|
|
703
|
+
'type',
|
|
704
|
+
| 'focus'
|
|
705
|
+
| 'select'
|
|
706
|
+
| 'serialize'
|
|
707
|
+
| 'copy'
|
|
708
|
+
| 'serialization.failure'
|
|
709
|
+
| 'serialization.success'
|
|
710
|
+
| 'deserialize'
|
|
711
|
+
| 'deserialization.failure'
|
|
712
|
+
| 'deserialization.success'
|
|
713
|
+
| 'annotation.add'
|
|
714
|
+
| 'annotation.remove'
|
|
715
|
+
| 'annotation.toggle'
|
|
716
|
+
| 'blur'
|
|
717
|
+
| 'data transfer.set'
|
|
718
|
+
| 'decorator.add'
|
|
719
|
+
| 'decorator.remove'
|
|
720
|
+
| 'decorator.toggle'
|
|
721
|
+
| 'delete.backward'
|
|
722
|
+
| 'delete.block'
|
|
723
|
+
| 'delete.forward'
|
|
724
|
+
| 'delete.text'
|
|
725
|
+
| 'insert.blocks'
|
|
726
|
+
| 'insert.block object'
|
|
727
|
+
| 'insert.inline object'
|
|
728
|
+
| 'insert.break'
|
|
729
|
+
| 'insert.soft break'
|
|
730
|
+
| 'insert.span'
|
|
731
|
+
| 'insert.text'
|
|
732
|
+
| 'insert.text block'
|
|
733
|
+
| 'list item.add'
|
|
734
|
+
| 'list item.remove'
|
|
735
|
+
| 'list item.toggle'
|
|
736
|
+
| 'move.block'
|
|
737
|
+
| 'move.block down'
|
|
738
|
+
| 'move.block up'
|
|
739
|
+
| 'select.previous block'
|
|
740
|
+
| 'select.next block'
|
|
741
|
+
| 'style.add'
|
|
742
|
+
| 'style.remove'
|
|
743
|
+
| 'style.toggle'
|
|
744
|
+
| 'text block.set'
|
|
745
|
+
| 'text block.unset'
|
|
746
|
+
| 'key.down'
|
|
747
|
+
| 'key.up'
|
|
748
|
+
| 'paste'
|
|
749
|
+
| `custom.${string}`
|
|
750
|
+
>
|
|
252
751
|
>
|
|
253
|
-
|
|
752
|
+
toggleAnnotationOn: Behavior_2<
|
|
254
753
|
| 'focus'
|
|
255
754
|
| 'select'
|
|
755
|
+
| 'serialize'
|
|
756
|
+
| 'copy'
|
|
757
|
+
| 'serialization.failure'
|
|
758
|
+
| 'serialization.success'
|
|
759
|
+
| 'deserialize'
|
|
760
|
+
| 'deserialization.failure'
|
|
761
|
+
| 'deserialization.success'
|
|
256
762
|
| 'annotation.add'
|
|
257
763
|
| 'annotation.remove'
|
|
764
|
+
| 'annotation.toggle'
|
|
258
765
|
| 'blur'
|
|
766
|
+
| 'data transfer.set'
|
|
767
|
+
| 'decorator.add'
|
|
768
|
+
| 'decorator.remove'
|
|
259
769
|
| 'decorator.toggle'
|
|
260
770
|
| 'delete.backward'
|
|
771
|
+
| 'delete.block'
|
|
261
772
|
| 'delete.forward'
|
|
773
|
+
| 'delete.text'
|
|
774
|
+
| 'insert.blocks'
|
|
262
775
|
| 'insert.block object'
|
|
263
776
|
| 'insert.inline object'
|
|
264
777
|
| 'insert.break'
|
|
265
778
|
| 'insert.soft break'
|
|
779
|
+
| 'insert.span'
|
|
266
780
|
| 'insert.text'
|
|
781
|
+
| 'insert.text block'
|
|
782
|
+
| 'list item.add'
|
|
783
|
+
| 'list item.remove'
|
|
267
784
|
| 'list item.toggle'
|
|
785
|
+
| 'move.block'
|
|
786
|
+
| 'move.block down'
|
|
787
|
+
| 'move.block up'
|
|
788
|
+
| 'select.previous block'
|
|
789
|
+
| 'select.next block'
|
|
790
|
+
| 'style.add'
|
|
791
|
+
| 'style.remove'
|
|
268
792
|
| 'style.toggle'
|
|
793
|
+
| 'text block.set'
|
|
794
|
+
| 'text block.unset'
|
|
795
|
+
| 'key.down'
|
|
796
|
+
| 'key.up'
|
|
797
|
+
| 'paste'
|
|
798
|
+
| `custom.${string}`,
|
|
799
|
+
true,
|
|
800
|
+
PickFromUnion_2<
|
|
801
|
+
BehaviorEvent_2,
|
|
802
|
+
'type',
|
|
803
|
+
| 'focus'
|
|
804
|
+
| 'select'
|
|
805
|
+
| 'serialize'
|
|
806
|
+
| 'copy'
|
|
807
|
+
| 'serialization.failure'
|
|
808
|
+
| 'serialization.success'
|
|
809
|
+
| 'deserialize'
|
|
810
|
+
| 'deserialization.failure'
|
|
811
|
+
| 'deserialization.success'
|
|
812
|
+
| 'annotation.add'
|
|
813
|
+
| 'annotation.remove'
|
|
814
|
+
| 'annotation.toggle'
|
|
815
|
+
| 'blur'
|
|
816
|
+
| 'data transfer.set'
|
|
817
|
+
| 'decorator.add'
|
|
818
|
+
| 'decorator.remove'
|
|
819
|
+
| 'decorator.toggle'
|
|
820
|
+
| 'delete.backward'
|
|
821
|
+
| 'delete.block'
|
|
822
|
+
| 'delete.forward'
|
|
823
|
+
| 'delete.text'
|
|
824
|
+
| 'insert.blocks'
|
|
825
|
+
| 'insert.block object'
|
|
826
|
+
| 'insert.inline object'
|
|
827
|
+
| 'insert.break'
|
|
828
|
+
| 'insert.soft break'
|
|
829
|
+
| 'insert.span'
|
|
830
|
+
| 'insert.text'
|
|
831
|
+
| 'insert.text block'
|
|
832
|
+
| 'list item.add'
|
|
833
|
+
| 'list item.remove'
|
|
834
|
+
| 'list item.toggle'
|
|
835
|
+
| 'move.block'
|
|
836
|
+
| 'move.block down'
|
|
837
|
+
| 'move.block up'
|
|
838
|
+
| 'select.previous block'
|
|
839
|
+
| 'select.next block'
|
|
840
|
+
| 'style.add'
|
|
841
|
+
| 'style.remove'
|
|
842
|
+
| 'style.toggle'
|
|
843
|
+
| 'text block.set'
|
|
844
|
+
| 'text block.unset'
|
|
845
|
+
| 'key.down'
|
|
846
|
+
| 'key.up'
|
|
847
|
+
| 'paste'
|
|
848
|
+
| `custom.${string}`
|
|
849
|
+
>
|
|
850
|
+
>
|
|
851
|
+
}
|
|
852
|
+
'decorators': {
|
|
853
|
+
toggleDecoratorOff: Behavior_2<
|
|
854
|
+
| 'focus'
|
|
855
|
+
| 'select'
|
|
856
|
+
| 'serialize'
|
|
269
857
|
| 'copy'
|
|
858
|
+
| 'serialization.failure'
|
|
859
|
+
| 'serialization.success'
|
|
860
|
+
| 'deserialize'
|
|
861
|
+
| 'deserialization.failure'
|
|
862
|
+
| 'deserialization.success'
|
|
863
|
+
| 'annotation.add'
|
|
864
|
+
| 'annotation.remove'
|
|
865
|
+
| 'annotation.toggle'
|
|
866
|
+
| 'blur'
|
|
867
|
+
| 'data transfer.set'
|
|
868
|
+
| 'decorator.add'
|
|
869
|
+
| 'decorator.remove'
|
|
870
|
+
| 'decorator.toggle'
|
|
871
|
+
| 'delete.backward'
|
|
872
|
+
| 'delete.block'
|
|
873
|
+
| 'delete.forward'
|
|
874
|
+
| 'delete.text'
|
|
875
|
+
| 'insert.blocks'
|
|
876
|
+
| 'insert.block object'
|
|
877
|
+
| 'insert.inline object'
|
|
878
|
+
| 'insert.break'
|
|
879
|
+
| 'insert.soft break'
|
|
880
|
+
| 'insert.span'
|
|
881
|
+
| 'insert.text'
|
|
882
|
+
| 'insert.text block'
|
|
883
|
+
| 'list item.add'
|
|
884
|
+
| 'list item.remove'
|
|
885
|
+
| 'list item.toggle'
|
|
886
|
+
| 'move.block'
|
|
887
|
+
| 'move.block down'
|
|
888
|
+
| 'move.block up'
|
|
889
|
+
| 'select.previous block'
|
|
890
|
+
| 'select.next block'
|
|
891
|
+
| 'style.add'
|
|
892
|
+
| 'style.remove'
|
|
893
|
+
| 'style.toggle'
|
|
894
|
+
| 'text block.set'
|
|
895
|
+
| 'text block.unset'
|
|
270
896
|
| 'key.down'
|
|
271
897
|
| 'key.up'
|
|
272
898
|
| 'paste'
|
|
273
899
|
| `custom.${string}`,
|
|
274
900
|
true,
|
|
275
|
-
|
|
901
|
+
PickFromUnion_2<
|
|
902
|
+
BehaviorEvent_2,
|
|
903
|
+
'type',
|
|
904
|
+
| 'focus'
|
|
905
|
+
| 'select'
|
|
906
|
+
| 'serialize'
|
|
907
|
+
| 'copy'
|
|
908
|
+
| 'serialization.failure'
|
|
909
|
+
| 'serialization.success'
|
|
910
|
+
| 'deserialize'
|
|
911
|
+
| 'deserialization.failure'
|
|
912
|
+
| 'deserialization.success'
|
|
913
|
+
| 'annotation.add'
|
|
914
|
+
| 'annotation.remove'
|
|
915
|
+
| 'annotation.toggle'
|
|
916
|
+
| 'blur'
|
|
917
|
+
| 'data transfer.set'
|
|
918
|
+
| 'decorator.add'
|
|
919
|
+
| 'decorator.remove'
|
|
920
|
+
| 'decorator.toggle'
|
|
921
|
+
| 'delete.backward'
|
|
922
|
+
| 'delete.block'
|
|
923
|
+
| 'delete.forward'
|
|
924
|
+
| 'delete.text'
|
|
925
|
+
| 'insert.blocks'
|
|
926
|
+
| 'insert.block object'
|
|
927
|
+
| 'insert.inline object'
|
|
928
|
+
| 'insert.break'
|
|
929
|
+
| 'insert.soft break'
|
|
930
|
+
| 'insert.span'
|
|
931
|
+
| 'insert.text'
|
|
932
|
+
| 'insert.text block'
|
|
933
|
+
| 'list item.add'
|
|
934
|
+
| 'list item.remove'
|
|
935
|
+
| 'list item.toggle'
|
|
936
|
+
| 'move.block'
|
|
937
|
+
| 'move.block down'
|
|
938
|
+
| 'move.block up'
|
|
939
|
+
| 'select.previous block'
|
|
940
|
+
| 'select.next block'
|
|
941
|
+
| 'style.add'
|
|
942
|
+
| 'style.remove'
|
|
943
|
+
| 'style.toggle'
|
|
944
|
+
| 'text block.set'
|
|
945
|
+
| 'text block.unset'
|
|
946
|
+
| 'key.down'
|
|
947
|
+
| 'key.up'
|
|
948
|
+
| 'paste'
|
|
949
|
+
| `custom.${string}`
|
|
950
|
+
>
|
|
276
951
|
>
|
|
277
|
-
|
|
952
|
+
toggleDecoratorOn: Behavior_2<
|
|
953
|
+
| 'focus'
|
|
954
|
+
| 'select'
|
|
955
|
+
| 'serialize'
|
|
956
|
+
| 'copy'
|
|
957
|
+
| 'serialization.failure'
|
|
958
|
+
| 'serialization.success'
|
|
959
|
+
| 'deserialize'
|
|
960
|
+
| 'deserialization.failure'
|
|
961
|
+
| 'deserialization.success'
|
|
962
|
+
| 'annotation.add'
|
|
963
|
+
| 'annotation.remove'
|
|
964
|
+
| 'annotation.toggle'
|
|
965
|
+
| 'blur'
|
|
966
|
+
| 'data transfer.set'
|
|
967
|
+
| 'decorator.add'
|
|
968
|
+
| 'decorator.remove'
|
|
969
|
+
| 'decorator.toggle'
|
|
970
|
+
| 'delete.backward'
|
|
971
|
+
| 'delete.block'
|
|
972
|
+
| 'delete.forward'
|
|
973
|
+
| 'delete.text'
|
|
974
|
+
| 'insert.blocks'
|
|
975
|
+
| 'insert.block object'
|
|
976
|
+
| 'insert.inline object'
|
|
977
|
+
| 'insert.break'
|
|
978
|
+
| 'insert.soft break'
|
|
979
|
+
| 'insert.span'
|
|
980
|
+
| 'insert.text'
|
|
981
|
+
| 'insert.text block'
|
|
982
|
+
| 'list item.add'
|
|
983
|
+
| 'list item.remove'
|
|
984
|
+
| 'list item.toggle'
|
|
985
|
+
| 'move.block'
|
|
986
|
+
| 'move.block down'
|
|
987
|
+
| 'move.block up'
|
|
988
|
+
| 'select.previous block'
|
|
989
|
+
| 'select.next block'
|
|
990
|
+
| 'style.add'
|
|
991
|
+
| 'style.remove'
|
|
992
|
+
| 'style.toggle'
|
|
993
|
+
| 'text block.set'
|
|
994
|
+
| 'text block.unset'
|
|
995
|
+
| 'key.down'
|
|
996
|
+
| 'key.up'
|
|
997
|
+
| 'paste'
|
|
998
|
+
| `custom.${string}`,
|
|
999
|
+
true,
|
|
1000
|
+
PickFromUnion_2<
|
|
1001
|
+
BehaviorEvent_2,
|
|
1002
|
+
'type',
|
|
1003
|
+
| 'focus'
|
|
1004
|
+
| 'select'
|
|
1005
|
+
| 'serialize'
|
|
1006
|
+
| 'copy'
|
|
1007
|
+
| 'serialization.failure'
|
|
1008
|
+
| 'serialization.success'
|
|
1009
|
+
| 'deserialize'
|
|
1010
|
+
| 'deserialization.failure'
|
|
1011
|
+
| 'deserialization.success'
|
|
1012
|
+
| 'annotation.add'
|
|
1013
|
+
| 'annotation.remove'
|
|
1014
|
+
| 'annotation.toggle'
|
|
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.span'
|
|
1030
|
+
| 'insert.text'
|
|
1031
|
+
| 'insert.text block'
|
|
1032
|
+
| 'list item.add'
|
|
1033
|
+
| 'list item.remove'
|
|
1034
|
+
| 'list item.toggle'
|
|
1035
|
+
| 'move.block'
|
|
1036
|
+
| 'move.block down'
|
|
1037
|
+
| 'move.block up'
|
|
1038
|
+
| 'select.previous block'
|
|
1039
|
+
| 'select.next block'
|
|
1040
|
+
| 'style.add'
|
|
1041
|
+
| 'style.remove'
|
|
1042
|
+
| 'style.toggle'
|
|
1043
|
+
| 'text block.set'
|
|
1044
|
+
| 'text block.unset'
|
|
1045
|
+
| 'key.down'
|
|
1046
|
+
| 'key.up'
|
|
1047
|
+
| 'paste'
|
|
1048
|
+
| `custom.${string}`
|
|
1049
|
+
>
|
|
1050
|
+
>
|
|
1051
|
+
strongShortcut: Behavior_2<
|
|
278
1052
|
| 'focus'
|
|
279
1053
|
| 'select'
|
|
1054
|
+
| 'serialize'
|
|
1055
|
+
| 'copy'
|
|
1056
|
+
| 'serialization.failure'
|
|
1057
|
+
| 'serialization.success'
|
|
1058
|
+
| 'deserialize'
|
|
1059
|
+
| 'deserialization.failure'
|
|
1060
|
+
| 'deserialization.success'
|
|
280
1061
|
| 'annotation.add'
|
|
281
1062
|
| 'annotation.remove'
|
|
1063
|
+
| 'annotation.toggle'
|
|
282
1064
|
| 'blur'
|
|
1065
|
+
| 'data transfer.set'
|
|
1066
|
+
| 'decorator.add'
|
|
1067
|
+
| 'decorator.remove'
|
|
283
1068
|
| 'decorator.toggle'
|
|
284
1069
|
| 'delete.backward'
|
|
1070
|
+
| 'delete.block'
|
|
285
1071
|
| 'delete.forward'
|
|
1072
|
+
| 'delete.text'
|
|
1073
|
+
| 'insert.blocks'
|
|
286
1074
|
| 'insert.block object'
|
|
287
1075
|
| 'insert.inline object'
|
|
288
1076
|
| 'insert.break'
|
|
289
1077
|
| 'insert.soft break'
|
|
1078
|
+
| 'insert.span'
|
|
290
1079
|
| 'insert.text'
|
|
1080
|
+
| 'insert.text block'
|
|
1081
|
+
| 'list item.add'
|
|
1082
|
+
| 'list item.remove'
|
|
291
1083
|
| 'list item.toggle'
|
|
1084
|
+
| 'move.block'
|
|
1085
|
+
| 'move.block down'
|
|
1086
|
+
| 'move.block up'
|
|
1087
|
+
| 'select.previous block'
|
|
1088
|
+
| 'select.next block'
|
|
1089
|
+
| 'style.add'
|
|
1090
|
+
| 'style.remove'
|
|
292
1091
|
| 'style.toggle'
|
|
1092
|
+
| 'text block.set'
|
|
1093
|
+
| 'text block.unset'
|
|
1094
|
+
| 'key.down'
|
|
1095
|
+
| 'key.up'
|
|
1096
|
+
| 'paste'
|
|
1097
|
+
| `custom.${string}`,
|
|
1098
|
+
true,
|
|
1099
|
+
PickFromUnion_2<
|
|
1100
|
+
BehaviorEvent_2,
|
|
1101
|
+
'type',
|
|
1102
|
+
| 'focus'
|
|
1103
|
+
| 'select'
|
|
1104
|
+
| 'serialize'
|
|
1105
|
+
| 'copy'
|
|
1106
|
+
| 'serialization.failure'
|
|
1107
|
+
| 'serialization.success'
|
|
1108
|
+
| 'deserialize'
|
|
1109
|
+
| 'deserialization.failure'
|
|
1110
|
+
| 'deserialization.success'
|
|
1111
|
+
| 'annotation.add'
|
|
1112
|
+
| 'annotation.remove'
|
|
1113
|
+
| 'annotation.toggle'
|
|
1114
|
+
| 'blur'
|
|
1115
|
+
| 'data transfer.set'
|
|
1116
|
+
| 'decorator.add'
|
|
1117
|
+
| 'decorator.remove'
|
|
1118
|
+
| 'decorator.toggle'
|
|
1119
|
+
| 'delete.backward'
|
|
1120
|
+
| 'delete.block'
|
|
1121
|
+
| 'delete.forward'
|
|
1122
|
+
| 'delete.text'
|
|
1123
|
+
| 'insert.blocks'
|
|
1124
|
+
| 'insert.block object'
|
|
1125
|
+
| 'insert.inline object'
|
|
1126
|
+
| 'insert.break'
|
|
1127
|
+
| 'insert.soft break'
|
|
1128
|
+
| 'insert.span'
|
|
1129
|
+
| 'insert.text'
|
|
1130
|
+
| 'insert.text block'
|
|
1131
|
+
| 'list item.add'
|
|
1132
|
+
| 'list item.remove'
|
|
1133
|
+
| 'list item.toggle'
|
|
1134
|
+
| 'move.block'
|
|
1135
|
+
| 'move.block down'
|
|
1136
|
+
| 'move.block up'
|
|
1137
|
+
| 'select.previous block'
|
|
1138
|
+
| 'select.next block'
|
|
1139
|
+
| 'style.add'
|
|
1140
|
+
| 'style.remove'
|
|
1141
|
+
| 'style.toggle'
|
|
1142
|
+
| 'text block.set'
|
|
1143
|
+
| 'text block.unset'
|
|
1144
|
+
| 'key.down'
|
|
1145
|
+
| 'key.up'
|
|
1146
|
+
| 'paste'
|
|
1147
|
+
| `custom.${string}`
|
|
1148
|
+
>
|
|
1149
|
+
>
|
|
1150
|
+
emShortcut: Behavior_2<
|
|
1151
|
+
| 'focus'
|
|
1152
|
+
| 'select'
|
|
1153
|
+
| 'serialize'
|
|
293
1154
|
| 'copy'
|
|
1155
|
+
| 'serialization.failure'
|
|
1156
|
+
| 'serialization.success'
|
|
1157
|
+
| 'deserialize'
|
|
1158
|
+
| 'deserialization.failure'
|
|
1159
|
+
| 'deserialization.success'
|
|
1160
|
+
| 'annotation.add'
|
|
1161
|
+
| 'annotation.remove'
|
|
1162
|
+
| 'annotation.toggle'
|
|
1163
|
+
| 'blur'
|
|
1164
|
+
| 'data transfer.set'
|
|
1165
|
+
| 'decorator.add'
|
|
1166
|
+
| 'decorator.remove'
|
|
1167
|
+
| 'decorator.toggle'
|
|
1168
|
+
| 'delete.backward'
|
|
1169
|
+
| 'delete.block'
|
|
1170
|
+
| 'delete.forward'
|
|
1171
|
+
| 'delete.text'
|
|
1172
|
+
| 'insert.blocks'
|
|
1173
|
+
| 'insert.block object'
|
|
1174
|
+
| 'insert.inline object'
|
|
1175
|
+
| 'insert.break'
|
|
1176
|
+
| 'insert.soft break'
|
|
1177
|
+
| 'insert.span'
|
|
1178
|
+
| 'insert.text'
|
|
1179
|
+
| 'insert.text block'
|
|
1180
|
+
| 'list item.add'
|
|
1181
|
+
| 'list item.remove'
|
|
1182
|
+
| 'list item.toggle'
|
|
1183
|
+
| 'move.block'
|
|
1184
|
+
| 'move.block down'
|
|
1185
|
+
| 'move.block up'
|
|
1186
|
+
| 'select.previous block'
|
|
1187
|
+
| 'select.next block'
|
|
1188
|
+
| 'style.add'
|
|
1189
|
+
| 'style.remove'
|
|
1190
|
+
| 'style.toggle'
|
|
1191
|
+
| 'text block.set'
|
|
1192
|
+
| 'text block.unset'
|
|
294
1193
|
| 'key.down'
|
|
295
1194
|
| 'key.up'
|
|
296
1195
|
| 'paste'
|
|
297
1196
|
| `custom.${string}`,
|
|
298
1197
|
true,
|
|
299
|
-
|
|
1198
|
+
PickFromUnion_2<
|
|
1199
|
+
BehaviorEvent_2,
|
|
1200
|
+
'type',
|
|
1201
|
+
| 'focus'
|
|
1202
|
+
| 'select'
|
|
1203
|
+
| 'serialize'
|
|
1204
|
+
| 'copy'
|
|
1205
|
+
| 'serialization.failure'
|
|
1206
|
+
| 'serialization.success'
|
|
1207
|
+
| 'deserialize'
|
|
1208
|
+
| 'deserialization.failure'
|
|
1209
|
+
| 'deserialization.success'
|
|
1210
|
+
| 'annotation.add'
|
|
1211
|
+
| 'annotation.remove'
|
|
1212
|
+
| 'annotation.toggle'
|
|
1213
|
+
| 'blur'
|
|
1214
|
+
| 'data transfer.set'
|
|
1215
|
+
| 'decorator.add'
|
|
1216
|
+
| 'decorator.remove'
|
|
1217
|
+
| 'decorator.toggle'
|
|
1218
|
+
| 'delete.backward'
|
|
1219
|
+
| 'delete.block'
|
|
1220
|
+
| 'delete.forward'
|
|
1221
|
+
| 'delete.text'
|
|
1222
|
+
| 'insert.blocks'
|
|
1223
|
+
| 'insert.block object'
|
|
1224
|
+
| 'insert.inline object'
|
|
1225
|
+
| 'insert.break'
|
|
1226
|
+
| 'insert.soft break'
|
|
1227
|
+
| 'insert.span'
|
|
1228
|
+
| 'insert.text'
|
|
1229
|
+
| 'insert.text block'
|
|
1230
|
+
| 'list item.add'
|
|
1231
|
+
| 'list item.remove'
|
|
1232
|
+
| 'list item.toggle'
|
|
1233
|
+
| 'move.block'
|
|
1234
|
+
| 'move.block down'
|
|
1235
|
+
| 'move.block up'
|
|
1236
|
+
| 'select.previous block'
|
|
1237
|
+
| 'select.next block'
|
|
1238
|
+
| 'style.add'
|
|
1239
|
+
| 'style.remove'
|
|
1240
|
+
| 'style.toggle'
|
|
1241
|
+
| 'text block.set'
|
|
1242
|
+
| 'text block.unset'
|
|
1243
|
+
| 'key.down'
|
|
1244
|
+
| 'key.up'
|
|
1245
|
+
| 'paste'
|
|
1246
|
+
| `custom.${string}`
|
|
1247
|
+
>
|
|
300
1248
|
>
|
|
301
|
-
|
|
1249
|
+
underlineShortcut: Behavior_2<
|
|
302
1250
|
| 'focus'
|
|
303
1251
|
| 'select'
|
|
1252
|
+
| 'serialize'
|
|
1253
|
+
| 'copy'
|
|
1254
|
+
| 'serialization.failure'
|
|
1255
|
+
| 'serialization.success'
|
|
1256
|
+
| 'deserialize'
|
|
1257
|
+
| 'deserialization.failure'
|
|
1258
|
+
| 'deserialization.success'
|
|
304
1259
|
| 'annotation.add'
|
|
305
1260
|
| 'annotation.remove'
|
|
1261
|
+
| 'annotation.toggle'
|
|
306
1262
|
| 'blur'
|
|
1263
|
+
| 'data transfer.set'
|
|
1264
|
+
| 'decorator.add'
|
|
1265
|
+
| 'decorator.remove'
|
|
307
1266
|
| 'decorator.toggle'
|
|
308
1267
|
| 'delete.backward'
|
|
1268
|
+
| 'delete.block'
|
|
309
1269
|
| 'delete.forward'
|
|
1270
|
+
| 'delete.text'
|
|
1271
|
+
| 'insert.blocks'
|
|
310
1272
|
| 'insert.block object'
|
|
311
1273
|
| 'insert.inline object'
|
|
312
1274
|
| 'insert.break'
|
|
313
1275
|
| 'insert.soft break'
|
|
1276
|
+
| 'insert.span'
|
|
314
1277
|
| 'insert.text'
|
|
1278
|
+
| 'insert.text block'
|
|
1279
|
+
| 'list item.add'
|
|
1280
|
+
| 'list item.remove'
|
|
315
1281
|
| 'list item.toggle'
|
|
1282
|
+
| 'move.block'
|
|
1283
|
+
| 'move.block down'
|
|
1284
|
+
| 'move.block up'
|
|
1285
|
+
| 'select.previous block'
|
|
1286
|
+
| 'select.next block'
|
|
1287
|
+
| 'style.add'
|
|
1288
|
+
| 'style.remove'
|
|
316
1289
|
| 'style.toggle'
|
|
1290
|
+
| 'text block.set'
|
|
1291
|
+
| 'text block.unset'
|
|
1292
|
+
| 'key.down'
|
|
1293
|
+
| 'key.up'
|
|
1294
|
+
| 'paste'
|
|
1295
|
+
| `custom.${string}`,
|
|
1296
|
+
true,
|
|
1297
|
+
PickFromUnion_2<
|
|
1298
|
+
BehaviorEvent_2,
|
|
1299
|
+
'type',
|
|
1300
|
+
| 'focus'
|
|
1301
|
+
| 'select'
|
|
1302
|
+
| 'serialize'
|
|
1303
|
+
| 'copy'
|
|
1304
|
+
| 'serialization.failure'
|
|
1305
|
+
| 'serialization.success'
|
|
1306
|
+
| 'deserialize'
|
|
1307
|
+
| 'deserialization.failure'
|
|
1308
|
+
| 'deserialization.success'
|
|
1309
|
+
| 'annotation.add'
|
|
1310
|
+
| 'annotation.remove'
|
|
1311
|
+
| 'annotation.toggle'
|
|
1312
|
+
| 'blur'
|
|
1313
|
+
| 'data transfer.set'
|
|
1314
|
+
| 'decorator.add'
|
|
1315
|
+
| 'decorator.remove'
|
|
1316
|
+
| 'decorator.toggle'
|
|
1317
|
+
| 'delete.backward'
|
|
1318
|
+
| 'delete.block'
|
|
1319
|
+
| 'delete.forward'
|
|
1320
|
+
| 'delete.text'
|
|
1321
|
+
| 'insert.blocks'
|
|
1322
|
+
| 'insert.block object'
|
|
1323
|
+
| 'insert.inline object'
|
|
1324
|
+
| 'insert.break'
|
|
1325
|
+
| 'insert.soft break'
|
|
1326
|
+
| 'insert.span'
|
|
1327
|
+
| 'insert.text'
|
|
1328
|
+
| 'insert.text block'
|
|
1329
|
+
| 'list item.add'
|
|
1330
|
+
| 'list item.remove'
|
|
1331
|
+
| 'list item.toggle'
|
|
1332
|
+
| 'move.block'
|
|
1333
|
+
| 'move.block down'
|
|
1334
|
+
| 'move.block up'
|
|
1335
|
+
| 'select.previous block'
|
|
1336
|
+
| 'select.next block'
|
|
1337
|
+
| 'style.add'
|
|
1338
|
+
| 'style.remove'
|
|
1339
|
+
| 'style.toggle'
|
|
1340
|
+
| 'text block.set'
|
|
1341
|
+
| 'text block.unset'
|
|
1342
|
+
| 'key.down'
|
|
1343
|
+
| 'key.up'
|
|
1344
|
+
| 'paste'
|
|
1345
|
+
| `custom.${string}`
|
|
1346
|
+
>
|
|
1347
|
+
>
|
|
1348
|
+
codeShortcut: Behavior_2<
|
|
1349
|
+
| 'focus'
|
|
1350
|
+
| 'select'
|
|
1351
|
+
| 'serialize'
|
|
317
1352
|
| 'copy'
|
|
1353
|
+
| 'serialization.failure'
|
|
1354
|
+
| 'serialization.success'
|
|
1355
|
+
| 'deserialize'
|
|
1356
|
+
| 'deserialization.failure'
|
|
1357
|
+
| 'deserialization.success'
|
|
1358
|
+
| 'annotation.add'
|
|
1359
|
+
| 'annotation.remove'
|
|
1360
|
+
| 'annotation.toggle'
|
|
1361
|
+
| 'blur'
|
|
1362
|
+
| 'data transfer.set'
|
|
1363
|
+
| 'decorator.add'
|
|
1364
|
+
| 'decorator.remove'
|
|
1365
|
+
| 'decorator.toggle'
|
|
1366
|
+
| 'delete.backward'
|
|
1367
|
+
| 'delete.block'
|
|
1368
|
+
| 'delete.forward'
|
|
1369
|
+
| 'delete.text'
|
|
1370
|
+
| 'insert.blocks'
|
|
1371
|
+
| 'insert.block object'
|
|
1372
|
+
| 'insert.inline object'
|
|
1373
|
+
| 'insert.break'
|
|
1374
|
+
| 'insert.soft break'
|
|
1375
|
+
| 'insert.span'
|
|
1376
|
+
| 'insert.text'
|
|
1377
|
+
| 'insert.text block'
|
|
1378
|
+
| 'list item.add'
|
|
1379
|
+
| 'list item.remove'
|
|
1380
|
+
| 'list item.toggle'
|
|
1381
|
+
| 'move.block'
|
|
1382
|
+
| 'move.block down'
|
|
1383
|
+
| 'move.block up'
|
|
1384
|
+
| 'select.previous block'
|
|
1385
|
+
| 'select.next block'
|
|
1386
|
+
| 'style.add'
|
|
1387
|
+
| 'style.remove'
|
|
1388
|
+
| 'style.toggle'
|
|
1389
|
+
| 'text block.set'
|
|
1390
|
+
| 'text block.unset'
|
|
318
1391
|
| 'key.down'
|
|
319
1392
|
| 'key.up'
|
|
320
1393
|
| 'paste'
|
|
321
1394
|
| `custom.${string}`,
|
|
322
1395
|
true,
|
|
323
|
-
|
|
1396
|
+
PickFromUnion_2<
|
|
1397
|
+
BehaviorEvent_2,
|
|
1398
|
+
'type',
|
|
1399
|
+
| 'focus'
|
|
1400
|
+
| 'select'
|
|
1401
|
+
| 'serialize'
|
|
1402
|
+
| 'copy'
|
|
1403
|
+
| 'serialization.failure'
|
|
1404
|
+
| 'serialization.success'
|
|
1405
|
+
| 'deserialize'
|
|
1406
|
+
| 'deserialization.failure'
|
|
1407
|
+
| 'deserialization.success'
|
|
1408
|
+
| 'annotation.add'
|
|
1409
|
+
| 'annotation.remove'
|
|
1410
|
+
| 'annotation.toggle'
|
|
1411
|
+
| 'blur'
|
|
1412
|
+
| 'data transfer.set'
|
|
1413
|
+
| 'decorator.add'
|
|
1414
|
+
| 'decorator.remove'
|
|
1415
|
+
| 'decorator.toggle'
|
|
1416
|
+
| 'delete.backward'
|
|
1417
|
+
| 'delete.block'
|
|
1418
|
+
| 'delete.forward'
|
|
1419
|
+
| 'delete.text'
|
|
1420
|
+
| 'insert.blocks'
|
|
1421
|
+
| 'insert.block object'
|
|
1422
|
+
| 'insert.inline object'
|
|
1423
|
+
| 'insert.break'
|
|
1424
|
+
| 'insert.soft break'
|
|
1425
|
+
| 'insert.span'
|
|
1426
|
+
| 'insert.text'
|
|
1427
|
+
| 'insert.text block'
|
|
1428
|
+
| 'list item.add'
|
|
1429
|
+
| 'list item.remove'
|
|
1430
|
+
| 'list item.toggle'
|
|
1431
|
+
| 'move.block'
|
|
1432
|
+
| 'move.block down'
|
|
1433
|
+
| 'move.block up'
|
|
1434
|
+
| 'select.previous block'
|
|
1435
|
+
| 'select.next block'
|
|
1436
|
+
| 'style.add'
|
|
1437
|
+
| 'style.remove'
|
|
1438
|
+
| 'style.toggle'
|
|
1439
|
+
| 'text block.set'
|
|
1440
|
+
| 'text block.unset'
|
|
1441
|
+
| 'key.down'
|
|
1442
|
+
| 'key.up'
|
|
1443
|
+
| 'paste'
|
|
1444
|
+
| `custom.${string}`
|
|
1445
|
+
>
|
|
324
1446
|
>
|
|
325
1447
|
}
|
|
326
|
-
|
|
1448
|
+
'deserialize': Behavior_2<
|
|
1449
|
+
| 'focus'
|
|
1450
|
+
| 'select'
|
|
1451
|
+
| 'serialize'
|
|
1452
|
+
| 'copy'
|
|
1453
|
+
| 'serialization.failure'
|
|
1454
|
+
| 'serialization.success'
|
|
1455
|
+
| 'deserialize'
|
|
1456
|
+
| 'deserialization.failure'
|
|
1457
|
+
| 'deserialization.success'
|
|
1458
|
+
| 'annotation.add'
|
|
1459
|
+
| 'annotation.remove'
|
|
1460
|
+
| 'annotation.toggle'
|
|
1461
|
+
| 'blur'
|
|
1462
|
+
| 'data transfer.set'
|
|
1463
|
+
| 'decorator.add'
|
|
1464
|
+
| 'decorator.remove'
|
|
1465
|
+
| 'decorator.toggle'
|
|
1466
|
+
| 'delete.backward'
|
|
1467
|
+
| 'delete.block'
|
|
1468
|
+
| 'delete.forward'
|
|
1469
|
+
| 'delete.text'
|
|
1470
|
+
| 'insert.blocks'
|
|
1471
|
+
| 'insert.block object'
|
|
1472
|
+
| 'insert.inline object'
|
|
1473
|
+
| 'insert.break'
|
|
1474
|
+
| 'insert.soft break'
|
|
1475
|
+
| 'insert.span'
|
|
1476
|
+
| 'insert.text'
|
|
1477
|
+
| 'insert.text block'
|
|
1478
|
+
| 'list item.add'
|
|
1479
|
+
| 'list item.remove'
|
|
1480
|
+
| 'list item.toggle'
|
|
1481
|
+
| 'move.block'
|
|
1482
|
+
| 'move.block down'
|
|
1483
|
+
| 'move.block up'
|
|
1484
|
+
| 'select.previous block'
|
|
1485
|
+
| 'select.next block'
|
|
1486
|
+
| 'style.add'
|
|
1487
|
+
| 'style.remove'
|
|
1488
|
+
| 'style.toggle'
|
|
1489
|
+
| 'text block.set'
|
|
1490
|
+
| 'text block.unset'
|
|
1491
|
+
| 'key.down'
|
|
1492
|
+
| 'key.up'
|
|
1493
|
+
| 'paste'
|
|
1494
|
+
| `custom.${string}`,
|
|
1495
|
+
true,
|
|
1496
|
+
PickFromUnion_2<
|
|
1497
|
+
BehaviorEvent_2,
|
|
1498
|
+
'type',
|
|
1499
|
+
| 'focus'
|
|
1500
|
+
| 'select'
|
|
1501
|
+
| 'serialize'
|
|
1502
|
+
| 'copy'
|
|
1503
|
+
| 'serialization.failure'
|
|
1504
|
+
| 'serialization.success'
|
|
1505
|
+
| 'deserialize'
|
|
1506
|
+
| 'deserialization.failure'
|
|
1507
|
+
| 'deserialization.success'
|
|
1508
|
+
| 'annotation.add'
|
|
1509
|
+
| 'annotation.remove'
|
|
1510
|
+
| 'annotation.toggle'
|
|
1511
|
+
| 'blur'
|
|
1512
|
+
| 'data transfer.set'
|
|
1513
|
+
| 'decorator.add'
|
|
1514
|
+
| 'decorator.remove'
|
|
1515
|
+
| 'decorator.toggle'
|
|
1516
|
+
| 'delete.backward'
|
|
1517
|
+
| 'delete.block'
|
|
1518
|
+
| 'delete.forward'
|
|
1519
|
+
| 'delete.text'
|
|
1520
|
+
| 'insert.blocks'
|
|
1521
|
+
| 'insert.block object'
|
|
1522
|
+
| 'insert.inline object'
|
|
1523
|
+
| 'insert.break'
|
|
1524
|
+
| 'insert.soft break'
|
|
1525
|
+
| 'insert.span'
|
|
1526
|
+
| 'insert.text'
|
|
1527
|
+
| 'insert.text block'
|
|
1528
|
+
| 'list item.add'
|
|
1529
|
+
| 'list item.remove'
|
|
1530
|
+
| 'list item.toggle'
|
|
1531
|
+
| 'move.block'
|
|
1532
|
+
| 'move.block down'
|
|
1533
|
+
| 'move.block up'
|
|
1534
|
+
| 'select.previous block'
|
|
1535
|
+
| 'select.next block'
|
|
1536
|
+
| 'style.add'
|
|
1537
|
+
| 'style.remove'
|
|
1538
|
+
| 'style.toggle'
|
|
1539
|
+
| 'text block.set'
|
|
1540
|
+
| 'text block.unset'
|
|
1541
|
+
| 'key.down'
|
|
1542
|
+
| 'key.up'
|
|
1543
|
+
| 'paste'
|
|
1544
|
+
| `custom.${string}`
|
|
1545
|
+
>
|
|
1546
|
+
>
|
|
1547
|
+
'blockObjects': {
|
|
327
1548
|
arrowDownOnLonelyBlockObject: Behavior_2<
|
|
328
1549
|
| 'focus'
|
|
329
1550
|
| 'select'
|
|
1551
|
+
| 'serialize'
|
|
1552
|
+
| 'copy'
|
|
1553
|
+
| 'serialization.failure'
|
|
1554
|
+
| 'serialization.success'
|
|
1555
|
+
| 'deserialize'
|
|
1556
|
+
| 'deserialization.failure'
|
|
1557
|
+
| 'deserialization.success'
|
|
1558
|
+
| 'annotation.add'
|
|
1559
|
+
| 'annotation.remove'
|
|
1560
|
+
| 'annotation.toggle'
|
|
1561
|
+
| 'blur'
|
|
1562
|
+
| 'data transfer.set'
|
|
1563
|
+
| 'decorator.add'
|
|
1564
|
+
| 'decorator.remove'
|
|
1565
|
+
| 'decorator.toggle'
|
|
1566
|
+
| 'delete.backward'
|
|
1567
|
+
| 'delete.block'
|
|
1568
|
+
| 'delete.forward'
|
|
1569
|
+
| 'delete.text'
|
|
1570
|
+
| 'insert.blocks'
|
|
1571
|
+
| 'insert.block object'
|
|
1572
|
+
| 'insert.inline object'
|
|
1573
|
+
| 'insert.break'
|
|
1574
|
+
| 'insert.soft break'
|
|
1575
|
+
| 'insert.span'
|
|
1576
|
+
| 'insert.text'
|
|
1577
|
+
| 'insert.text block'
|
|
1578
|
+
| 'list item.add'
|
|
1579
|
+
| 'list item.remove'
|
|
1580
|
+
| 'list item.toggle'
|
|
1581
|
+
| 'move.block'
|
|
1582
|
+
| 'move.block down'
|
|
1583
|
+
| 'move.block up'
|
|
1584
|
+
| 'select.previous block'
|
|
1585
|
+
| 'select.next block'
|
|
1586
|
+
| 'style.add'
|
|
1587
|
+
| 'style.remove'
|
|
1588
|
+
| 'style.toggle'
|
|
1589
|
+
| 'text block.set'
|
|
1590
|
+
| 'text block.unset'
|
|
1591
|
+
| 'key.down'
|
|
1592
|
+
| 'key.up'
|
|
1593
|
+
| 'paste'
|
|
1594
|
+
| `custom.${string}`,
|
|
1595
|
+
true,
|
|
1596
|
+
PickFromUnion_2<
|
|
1597
|
+
BehaviorEvent_2,
|
|
1598
|
+
'type',
|
|
1599
|
+
| 'focus'
|
|
1600
|
+
| 'select'
|
|
1601
|
+
| 'serialize'
|
|
1602
|
+
| 'copy'
|
|
1603
|
+
| 'serialization.failure'
|
|
1604
|
+
| 'serialization.success'
|
|
1605
|
+
| 'deserialize'
|
|
1606
|
+
| 'deserialization.failure'
|
|
1607
|
+
| 'deserialization.success'
|
|
1608
|
+
| 'annotation.add'
|
|
1609
|
+
| 'annotation.remove'
|
|
1610
|
+
| 'annotation.toggle'
|
|
1611
|
+
| 'blur'
|
|
1612
|
+
| 'data transfer.set'
|
|
1613
|
+
| 'decorator.add'
|
|
1614
|
+
| 'decorator.remove'
|
|
1615
|
+
| 'decorator.toggle'
|
|
1616
|
+
| 'delete.backward'
|
|
1617
|
+
| 'delete.block'
|
|
1618
|
+
| 'delete.forward'
|
|
1619
|
+
| 'delete.text'
|
|
1620
|
+
| 'insert.blocks'
|
|
1621
|
+
| 'insert.block object'
|
|
1622
|
+
| 'insert.inline object'
|
|
1623
|
+
| 'insert.break'
|
|
1624
|
+
| 'insert.soft break'
|
|
1625
|
+
| 'insert.span'
|
|
1626
|
+
| 'insert.text'
|
|
1627
|
+
| 'insert.text block'
|
|
1628
|
+
| 'list item.add'
|
|
1629
|
+
| 'list item.remove'
|
|
1630
|
+
| 'list item.toggle'
|
|
1631
|
+
| 'move.block'
|
|
1632
|
+
| 'move.block down'
|
|
1633
|
+
| 'move.block up'
|
|
1634
|
+
| 'select.previous block'
|
|
1635
|
+
| 'select.next block'
|
|
1636
|
+
| 'style.add'
|
|
1637
|
+
| 'style.remove'
|
|
1638
|
+
| 'style.toggle'
|
|
1639
|
+
| 'text block.set'
|
|
1640
|
+
| 'text block.unset'
|
|
1641
|
+
| 'key.down'
|
|
1642
|
+
| 'key.up'
|
|
1643
|
+
| 'paste'
|
|
1644
|
+
| `custom.${string}`
|
|
1645
|
+
>
|
|
1646
|
+
>
|
|
1647
|
+
arrowUpOnLonelyBlockObject: Behavior_2<
|
|
1648
|
+
| 'focus'
|
|
1649
|
+
| 'select'
|
|
1650
|
+
| 'serialize'
|
|
1651
|
+
| 'copy'
|
|
1652
|
+
| 'serialization.failure'
|
|
1653
|
+
| 'serialization.success'
|
|
1654
|
+
| 'deserialize'
|
|
1655
|
+
| 'deserialization.failure'
|
|
1656
|
+
| 'deserialization.success'
|
|
330
1657
|
| 'annotation.add'
|
|
331
1658
|
| 'annotation.remove'
|
|
1659
|
+
| 'annotation.toggle'
|
|
332
1660
|
| 'blur'
|
|
1661
|
+
| 'data transfer.set'
|
|
1662
|
+
| 'decorator.add'
|
|
1663
|
+
| 'decorator.remove'
|
|
333
1664
|
| 'decorator.toggle'
|
|
334
1665
|
| 'delete.backward'
|
|
1666
|
+
| 'delete.block'
|
|
335
1667
|
| 'delete.forward'
|
|
1668
|
+
| 'delete.text'
|
|
1669
|
+
| 'insert.blocks'
|
|
336
1670
|
| 'insert.block object'
|
|
337
1671
|
| 'insert.inline object'
|
|
338
1672
|
| 'insert.break'
|
|
339
1673
|
| 'insert.soft break'
|
|
1674
|
+
| 'insert.span'
|
|
340
1675
|
| 'insert.text'
|
|
1676
|
+
| 'insert.text block'
|
|
1677
|
+
| 'list item.add'
|
|
1678
|
+
| 'list item.remove'
|
|
341
1679
|
| 'list item.toggle'
|
|
1680
|
+
| 'move.block'
|
|
1681
|
+
| 'move.block down'
|
|
1682
|
+
| 'move.block up'
|
|
1683
|
+
| 'select.previous block'
|
|
1684
|
+
| 'select.next block'
|
|
1685
|
+
| 'style.add'
|
|
1686
|
+
| 'style.remove'
|
|
342
1687
|
| 'style.toggle'
|
|
1688
|
+
| 'text block.set'
|
|
1689
|
+
| 'text block.unset'
|
|
1690
|
+
| 'key.down'
|
|
1691
|
+
| 'key.up'
|
|
1692
|
+
| 'paste'
|
|
1693
|
+
| `custom.${string}`,
|
|
1694
|
+
true,
|
|
1695
|
+
PickFromUnion_2<
|
|
1696
|
+
BehaviorEvent_2,
|
|
1697
|
+
'type',
|
|
1698
|
+
| 'focus'
|
|
1699
|
+
| 'select'
|
|
1700
|
+
| 'serialize'
|
|
1701
|
+
| 'copy'
|
|
1702
|
+
| 'serialization.failure'
|
|
1703
|
+
| 'serialization.success'
|
|
1704
|
+
| 'deserialize'
|
|
1705
|
+
| 'deserialization.failure'
|
|
1706
|
+
| 'deserialization.success'
|
|
1707
|
+
| 'annotation.add'
|
|
1708
|
+
| 'annotation.remove'
|
|
1709
|
+
| 'annotation.toggle'
|
|
1710
|
+
| 'blur'
|
|
1711
|
+
| 'data transfer.set'
|
|
1712
|
+
| 'decorator.add'
|
|
1713
|
+
| 'decorator.remove'
|
|
1714
|
+
| 'decorator.toggle'
|
|
1715
|
+
| 'delete.backward'
|
|
1716
|
+
| 'delete.block'
|
|
1717
|
+
| 'delete.forward'
|
|
1718
|
+
| 'delete.text'
|
|
1719
|
+
| 'insert.blocks'
|
|
1720
|
+
| 'insert.block object'
|
|
1721
|
+
| 'insert.inline object'
|
|
1722
|
+
| 'insert.break'
|
|
1723
|
+
| 'insert.soft break'
|
|
1724
|
+
| 'insert.span'
|
|
1725
|
+
| 'insert.text'
|
|
1726
|
+
| 'insert.text block'
|
|
1727
|
+
| 'list item.add'
|
|
1728
|
+
| 'list item.remove'
|
|
1729
|
+
| 'list item.toggle'
|
|
1730
|
+
| 'move.block'
|
|
1731
|
+
| 'move.block down'
|
|
1732
|
+
| 'move.block up'
|
|
1733
|
+
| 'select.previous block'
|
|
1734
|
+
| 'select.next block'
|
|
1735
|
+
| 'style.add'
|
|
1736
|
+
| 'style.remove'
|
|
1737
|
+
| 'style.toggle'
|
|
1738
|
+
| 'text block.set'
|
|
1739
|
+
| 'text block.unset'
|
|
1740
|
+
| 'key.down'
|
|
1741
|
+
| 'key.up'
|
|
1742
|
+
| 'paste'
|
|
1743
|
+
| `custom.${string}`
|
|
1744
|
+
>
|
|
1745
|
+
>
|
|
1746
|
+
breakingBlockObject: Behavior_2<
|
|
1747
|
+
| 'focus'
|
|
1748
|
+
| 'select'
|
|
1749
|
+
| 'serialize'
|
|
343
1750
|
| 'copy'
|
|
1751
|
+
| 'serialization.failure'
|
|
1752
|
+
| 'serialization.success'
|
|
1753
|
+
| 'deserialize'
|
|
1754
|
+
| 'deserialization.failure'
|
|
1755
|
+
| 'deserialization.success'
|
|
1756
|
+
| 'annotation.add'
|
|
1757
|
+
| 'annotation.remove'
|
|
1758
|
+
| 'annotation.toggle'
|
|
1759
|
+
| 'blur'
|
|
1760
|
+
| 'data transfer.set'
|
|
1761
|
+
| 'decorator.add'
|
|
1762
|
+
| 'decorator.remove'
|
|
1763
|
+
| 'decorator.toggle'
|
|
1764
|
+
| 'delete.backward'
|
|
1765
|
+
| 'delete.block'
|
|
1766
|
+
| 'delete.forward'
|
|
1767
|
+
| 'delete.text'
|
|
1768
|
+
| 'insert.blocks'
|
|
1769
|
+
| 'insert.block object'
|
|
1770
|
+
| 'insert.inline object'
|
|
1771
|
+
| 'insert.break'
|
|
1772
|
+
| 'insert.soft break'
|
|
1773
|
+
| 'insert.span'
|
|
1774
|
+
| 'insert.text'
|
|
1775
|
+
| 'insert.text block'
|
|
1776
|
+
| 'list item.add'
|
|
1777
|
+
| 'list item.remove'
|
|
1778
|
+
| 'list item.toggle'
|
|
1779
|
+
| 'move.block'
|
|
1780
|
+
| 'move.block down'
|
|
1781
|
+
| 'move.block up'
|
|
1782
|
+
| 'select.previous block'
|
|
1783
|
+
| 'select.next block'
|
|
1784
|
+
| 'style.add'
|
|
1785
|
+
| 'style.remove'
|
|
1786
|
+
| 'style.toggle'
|
|
1787
|
+
| 'text block.set'
|
|
1788
|
+
| 'text block.unset'
|
|
344
1789
|
| 'key.down'
|
|
345
1790
|
| 'key.up'
|
|
346
1791
|
| 'paste'
|
|
347
1792
|
| `custom.${string}`,
|
|
348
1793
|
true,
|
|
349
|
-
|
|
1794
|
+
PickFromUnion_2<
|
|
1795
|
+
BehaviorEvent_2,
|
|
1796
|
+
'type',
|
|
1797
|
+
| 'focus'
|
|
1798
|
+
| 'select'
|
|
1799
|
+
| 'serialize'
|
|
1800
|
+
| 'copy'
|
|
1801
|
+
| 'serialization.failure'
|
|
1802
|
+
| 'serialization.success'
|
|
1803
|
+
| 'deserialize'
|
|
1804
|
+
| 'deserialization.failure'
|
|
1805
|
+
| 'deserialization.success'
|
|
1806
|
+
| 'annotation.add'
|
|
1807
|
+
| 'annotation.remove'
|
|
1808
|
+
| 'annotation.toggle'
|
|
1809
|
+
| 'blur'
|
|
1810
|
+
| 'data transfer.set'
|
|
1811
|
+
| 'decorator.add'
|
|
1812
|
+
| 'decorator.remove'
|
|
1813
|
+
| 'decorator.toggle'
|
|
1814
|
+
| 'delete.backward'
|
|
1815
|
+
| 'delete.block'
|
|
1816
|
+
| 'delete.forward'
|
|
1817
|
+
| 'delete.text'
|
|
1818
|
+
| 'insert.blocks'
|
|
1819
|
+
| 'insert.block object'
|
|
1820
|
+
| 'insert.inline object'
|
|
1821
|
+
| 'insert.break'
|
|
1822
|
+
| 'insert.soft break'
|
|
1823
|
+
| 'insert.span'
|
|
1824
|
+
| 'insert.text'
|
|
1825
|
+
| 'insert.text block'
|
|
1826
|
+
| 'list item.add'
|
|
1827
|
+
| 'list item.remove'
|
|
1828
|
+
| 'list item.toggle'
|
|
1829
|
+
| 'move.block'
|
|
1830
|
+
| 'move.block down'
|
|
1831
|
+
| 'move.block up'
|
|
1832
|
+
| 'select.previous block'
|
|
1833
|
+
| 'select.next block'
|
|
1834
|
+
| 'style.add'
|
|
1835
|
+
| 'style.remove'
|
|
1836
|
+
| 'style.toggle'
|
|
1837
|
+
| 'text block.set'
|
|
1838
|
+
| 'text block.unset'
|
|
1839
|
+
| 'key.down'
|
|
1840
|
+
| 'key.up'
|
|
1841
|
+
| 'paste'
|
|
1842
|
+
| `custom.${string}`
|
|
1843
|
+
>
|
|
350
1844
|
>
|
|
351
|
-
|
|
1845
|
+
deletingEmptyTextBlockAfterBlockObject: Behavior_2<
|
|
352
1846
|
| 'focus'
|
|
353
1847
|
| 'select'
|
|
1848
|
+
| 'serialize'
|
|
1849
|
+
| 'copy'
|
|
1850
|
+
| 'serialization.failure'
|
|
1851
|
+
| 'serialization.success'
|
|
1852
|
+
| 'deserialize'
|
|
1853
|
+
| 'deserialization.failure'
|
|
1854
|
+
| 'deserialization.success'
|
|
354
1855
|
| 'annotation.add'
|
|
355
1856
|
| 'annotation.remove'
|
|
1857
|
+
| 'annotation.toggle'
|
|
356
1858
|
| 'blur'
|
|
1859
|
+
| 'data transfer.set'
|
|
1860
|
+
| 'decorator.add'
|
|
1861
|
+
| 'decorator.remove'
|
|
357
1862
|
| 'decorator.toggle'
|
|
358
1863
|
| 'delete.backward'
|
|
1864
|
+
| 'delete.block'
|
|
359
1865
|
| 'delete.forward'
|
|
1866
|
+
| 'delete.text'
|
|
1867
|
+
| 'insert.blocks'
|
|
360
1868
|
| 'insert.block object'
|
|
361
1869
|
| 'insert.inline object'
|
|
362
1870
|
| 'insert.break'
|
|
363
1871
|
| 'insert.soft break'
|
|
1872
|
+
| 'insert.span'
|
|
364
1873
|
| 'insert.text'
|
|
1874
|
+
| 'insert.text block'
|
|
1875
|
+
| 'list item.add'
|
|
1876
|
+
| 'list item.remove'
|
|
365
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'
|
|
366
1885
|
| 'style.toggle'
|
|
367
|
-
| '
|
|
1886
|
+
| 'text block.set'
|
|
1887
|
+
| 'text block.unset'
|
|
368
1888
|
| 'key.down'
|
|
369
1889
|
| 'key.up'
|
|
370
1890
|
| 'paste'
|
|
371
1891
|
| `custom.${string}`,
|
|
372
1892
|
true,
|
|
373
|
-
|
|
1893
|
+
PickFromUnion_2<
|
|
1894
|
+
BehaviorEvent_2,
|
|
1895
|
+
'type',
|
|
1896
|
+
| 'focus'
|
|
1897
|
+
| 'select'
|
|
1898
|
+
| 'serialize'
|
|
1899
|
+
| 'copy'
|
|
1900
|
+
| 'serialization.failure'
|
|
1901
|
+
| 'serialization.success'
|
|
1902
|
+
| 'deserialize'
|
|
1903
|
+
| 'deserialization.failure'
|
|
1904
|
+
| 'deserialization.success'
|
|
1905
|
+
| 'annotation.add'
|
|
1906
|
+
| 'annotation.remove'
|
|
1907
|
+
| 'annotation.toggle'
|
|
1908
|
+
| 'blur'
|
|
1909
|
+
| 'data transfer.set'
|
|
1910
|
+
| 'decorator.add'
|
|
1911
|
+
| 'decorator.remove'
|
|
1912
|
+
| 'decorator.toggle'
|
|
1913
|
+
| 'delete.backward'
|
|
1914
|
+
| 'delete.block'
|
|
1915
|
+
| 'delete.forward'
|
|
1916
|
+
| 'delete.text'
|
|
1917
|
+
| 'insert.blocks'
|
|
1918
|
+
| 'insert.block object'
|
|
1919
|
+
| 'insert.inline object'
|
|
1920
|
+
| 'insert.break'
|
|
1921
|
+
| 'insert.soft break'
|
|
1922
|
+
| 'insert.span'
|
|
1923
|
+
| 'insert.text'
|
|
1924
|
+
| 'insert.text block'
|
|
1925
|
+
| 'list item.add'
|
|
1926
|
+
| 'list item.remove'
|
|
1927
|
+
| 'list item.toggle'
|
|
1928
|
+
| 'move.block'
|
|
1929
|
+
| 'move.block down'
|
|
1930
|
+
| 'move.block up'
|
|
1931
|
+
| 'select.previous block'
|
|
1932
|
+
| 'select.next block'
|
|
1933
|
+
| 'style.add'
|
|
1934
|
+
| 'style.remove'
|
|
1935
|
+
| 'style.toggle'
|
|
1936
|
+
| 'text block.set'
|
|
1937
|
+
| 'text block.unset'
|
|
1938
|
+
| 'key.down'
|
|
1939
|
+
| 'key.up'
|
|
1940
|
+
| 'paste'
|
|
1941
|
+
| `custom.${string}`
|
|
1942
|
+
>
|
|
374
1943
|
>
|
|
375
|
-
|
|
1944
|
+
deletingEmptyTextBlockBeforeBlockObject: Behavior_2<
|
|
376
1945
|
| 'focus'
|
|
377
1946
|
| 'select'
|
|
1947
|
+
| 'serialize'
|
|
1948
|
+
| 'copy'
|
|
1949
|
+
| 'serialization.failure'
|
|
1950
|
+
| 'serialization.success'
|
|
1951
|
+
| 'deserialize'
|
|
1952
|
+
| 'deserialization.failure'
|
|
1953
|
+
| 'deserialization.success'
|
|
378
1954
|
| 'annotation.add'
|
|
379
1955
|
| 'annotation.remove'
|
|
1956
|
+
| 'annotation.toggle'
|
|
380
1957
|
| 'blur'
|
|
1958
|
+
| 'data transfer.set'
|
|
1959
|
+
| 'decorator.add'
|
|
1960
|
+
| 'decorator.remove'
|
|
381
1961
|
| 'decorator.toggle'
|
|
382
1962
|
| 'delete.backward'
|
|
1963
|
+
| 'delete.block'
|
|
383
1964
|
| 'delete.forward'
|
|
1965
|
+
| 'delete.text'
|
|
1966
|
+
| 'insert.blocks'
|
|
384
1967
|
| 'insert.block object'
|
|
385
1968
|
| 'insert.inline object'
|
|
386
1969
|
| 'insert.break'
|
|
387
1970
|
| 'insert.soft break'
|
|
1971
|
+
| 'insert.span'
|
|
388
1972
|
| 'insert.text'
|
|
1973
|
+
| 'insert.text block'
|
|
1974
|
+
| 'list item.add'
|
|
1975
|
+
| 'list item.remove'
|
|
389
1976
|
| 'list item.toggle'
|
|
1977
|
+
| 'move.block'
|
|
1978
|
+
| 'move.block down'
|
|
1979
|
+
| 'move.block up'
|
|
1980
|
+
| 'select.previous block'
|
|
1981
|
+
| 'select.next block'
|
|
1982
|
+
| 'style.add'
|
|
1983
|
+
| 'style.remove'
|
|
390
1984
|
| 'style.toggle'
|
|
391
|
-
| '
|
|
1985
|
+
| 'text block.set'
|
|
1986
|
+
| 'text block.unset'
|
|
392
1987
|
| 'key.down'
|
|
393
1988
|
| 'key.up'
|
|
394
1989
|
| 'paste'
|
|
395
1990
|
| `custom.${string}`,
|
|
396
1991
|
true,
|
|
397
|
-
|
|
1992
|
+
PickFromUnion_2<
|
|
1993
|
+
BehaviorEvent_2,
|
|
1994
|
+
'type',
|
|
1995
|
+
| 'focus'
|
|
1996
|
+
| 'select'
|
|
1997
|
+
| 'serialize'
|
|
1998
|
+
| 'copy'
|
|
1999
|
+
| 'serialization.failure'
|
|
2000
|
+
| 'serialization.success'
|
|
2001
|
+
| 'deserialize'
|
|
2002
|
+
| 'deserialization.failure'
|
|
2003
|
+
| 'deserialization.success'
|
|
2004
|
+
| 'annotation.add'
|
|
2005
|
+
| 'annotation.remove'
|
|
2006
|
+
| 'annotation.toggle'
|
|
2007
|
+
| 'blur'
|
|
2008
|
+
| 'data transfer.set'
|
|
2009
|
+
| 'decorator.add'
|
|
2010
|
+
| 'decorator.remove'
|
|
2011
|
+
| 'decorator.toggle'
|
|
2012
|
+
| 'delete.backward'
|
|
2013
|
+
| 'delete.block'
|
|
2014
|
+
| 'delete.forward'
|
|
2015
|
+
| 'delete.text'
|
|
2016
|
+
| 'insert.blocks'
|
|
2017
|
+
| 'insert.block object'
|
|
2018
|
+
| 'insert.inline object'
|
|
2019
|
+
| 'insert.break'
|
|
2020
|
+
| 'insert.soft break'
|
|
2021
|
+
| 'insert.span'
|
|
2022
|
+
| 'insert.text'
|
|
2023
|
+
| 'insert.text block'
|
|
2024
|
+
| 'list item.add'
|
|
2025
|
+
| 'list item.remove'
|
|
2026
|
+
| 'list item.toggle'
|
|
2027
|
+
| 'move.block'
|
|
2028
|
+
| 'move.block down'
|
|
2029
|
+
| 'move.block up'
|
|
2030
|
+
| 'select.previous block'
|
|
2031
|
+
| 'select.next block'
|
|
2032
|
+
| 'style.add'
|
|
2033
|
+
| 'style.remove'
|
|
2034
|
+
| 'style.toggle'
|
|
2035
|
+
| 'text block.set'
|
|
2036
|
+
| 'text block.unset'
|
|
2037
|
+
| 'key.down'
|
|
2038
|
+
| 'key.up'
|
|
2039
|
+
| 'paste'
|
|
2040
|
+
| `custom.${string}`
|
|
2041
|
+
>
|
|
398
2042
|
>
|
|
399
|
-
|
|
2043
|
+
}
|
|
2044
|
+
'lists': {
|
|
2045
|
+
toggleListItemOff: Behavior_2<
|
|
400
2046
|
| 'focus'
|
|
401
2047
|
| 'select'
|
|
2048
|
+
| 'serialize'
|
|
2049
|
+
| 'copy'
|
|
2050
|
+
| 'serialization.failure'
|
|
2051
|
+
| 'serialization.success'
|
|
2052
|
+
| 'deserialize'
|
|
2053
|
+
| 'deserialization.failure'
|
|
2054
|
+
| 'deserialization.success'
|
|
402
2055
|
| 'annotation.add'
|
|
403
2056
|
| 'annotation.remove'
|
|
2057
|
+
| 'annotation.toggle'
|
|
404
2058
|
| 'blur'
|
|
2059
|
+
| 'data transfer.set'
|
|
2060
|
+
| 'decorator.add'
|
|
2061
|
+
| 'decorator.remove'
|
|
405
2062
|
| 'decorator.toggle'
|
|
406
2063
|
| 'delete.backward'
|
|
2064
|
+
| 'delete.block'
|
|
407
2065
|
| 'delete.forward'
|
|
2066
|
+
| 'delete.text'
|
|
2067
|
+
| 'insert.blocks'
|
|
408
2068
|
| 'insert.block object'
|
|
409
2069
|
| 'insert.inline object'
|
|
410
2070
|
| 'insert.break'
|
|
411
2071
|
| 'insert.soft break'
|
|
2072
|
+
| 'insert.span'
|
|
412
2073
|
| 'insert.text'
|
|
2074
|
+
| 'insert.text block'
|
|
2075
|
+
| 'list item.add'
|
|
2076
|
+
| 'list item.remove'
|
|
413
2077
|
| 'list item.toggle'
|
|
2078
|
+
| 'move.block'
|
|
2079
|
+
| 'move.block down'
|
|
2080
|
+
| 'move.block up'
|
|
2081
|
+
| 'select.previous block'
|
|
2082
|
+
| 'select.next block'
|
|
2083
|
+
| 'style.add'
|
|
2084
|
+
| 'style.remove'
|
|
414
2085
|
| 'style.toggle'
|
|
415
|
-
| '
|
|
2086
|
+
| 'text block.set'
|
|
2087
|
+
| 'text block.unset'
|
|
416
2088
|
| 'key.down'
|
|
417
2089
|
| 'key.up'
|
|
418
2090
|
| 'paste'
|
|
419
2091
|
| `custom.${string}`,
|
|
420
2092
|
true,
|
|
421
|
-
|
|
2093
|
+
PickFromUnion_2<
|
|
2094
|
+
BehaviorEvent_2,
|
|
2095
|
+
'type',
|
|
2096
|
+
| 'focus'
|
|
2097
|
+
| 'select'
|
|
2098
|
+
| 'serialize'
|
|
2099
|
+
| 'copy'
|
|
2100
|
+
| 'serialization.failure'
|
|
2101
|
+
| 'serialization.success'
|
|
2102
|
+
| 'deserialize'
|
|
2103
|
+
| 'deserialization.failure'
|
|
2104
|
+
| 'deserialization.success'
|
|
2105
|
+
| 'annotation.add'
|
|
2106
|
+
| 'annotation.remove'
|
|
2107
|
+
| 'annotation.toggle'
|
|
2108
|
+
| 'blur'
|
|
2109
|
+
| 'data transfer.set'
|
|
2110
|
+
| 'decorator.add'
|
|
2111
|
+
| 'decorator.remove'
|
|
2112
|
+
| 'decorator.toggle'
|
|
2113
|
+
| 'delete.backward'
|
|
2114
|
+
| 'delete.block'
|
|
2115
|
+
| 'delete.forward'
|
|
2116
|
+
| 'delete.text'
|
|
2117
|
+
| 'insert.blocks'
|
|
2118
|
+
| 'insert.block object'
|
|
2119
|
+
| 'insert.inline object'
|
|
2120
|
+
| 'insert.break'
|
|
2121
|
+
| 'insert.soft break'
|
|
2122
|
+
| 'insert.span'
|
|
2123
|
+
| 'insert.text'
|
|
2124
|
+
| 'insert.text block'
|
|
2125
|
+
| 'list item.add'
|
|
2126
|
+
| 'list item.remove'
|
|
2127
|
+
| 'list item.toggle'
|
|
2128
|
+
| 'move.block'
|
|
2129
|
+
| 'move.block down'
|
|
2130
|
+
| 'move.block up'
|
|
2131
|
+
| 'select.previous block'
|
|
2132
|
+
| 'select.next block'
|
|
2133
|
+
| 'style.add'
|
|
2134
|
+
| 'style.remove'
|
|
2135
|
+
| 'style.toggle'
|
|
2136
|
+
| 'text block.set'
|
|
2137
|
+
| 'text block.unset'
|
|
2138
|
+
| 'key.down'
|
|
2139
|
+
| 'key.up'
|
|
2140
|
+
| 'paste'
|
|
2141
|
+
| `custom.${string}`
|
|
2142
|
+
>
|
|
422
2143
|
>
|
|
423
|
-
|
|
2144
|
+
toggleListItemOn: Behavior_2<
|
|
424
2145
|
| 'focus'
|
|
425
2146
|
| 'select'
|
|
2147
|
+
| 'serialize'
|
|
2148
|
+
| 'copy'
|
|
2149
|
+
| 'serialization.failure'
|
|
2150
|
+
| 'serialization.success'
|
|
2151
|
+
| 'deserialize'
|
|
2152
|
+
| 'deserialization.failure'
|
|
2153
|
+
| 'deserialization.success'
|
|
426
2154
|
| 'annotation.add'
|
|
427
2155
|
| 'annotation.remove'
|
|
2156
|
+
| 'annotation.toggle'
|
|
428
2157
|
| 'blur'
|
|
2158
|
+
| 'data transfer.set'
|
|
2159
|
+
| 'decorator.add'
|
|
2160
|
+
| 'decorator.remove'
|
|
429
2161
|
| 'decorator.toggle'
|
|
430
2162
|
| 'delete.backward'
|
|
2163
|
+
| 'delete.block'
|
|
431
2164
|
| 'delete.forward'
|
|
2165
|
+
| 'delete.text'
|
|
2166
|
+
| 'insert.blocks'
|
|
432
2167
|
| 'insert.block object'
|
|
433
2168
|
| 'insert.inline object'
|
|
434
2169
|
| 'insert.break'
|
|
435
2170
|
| 'insert.soft break'
|
|
2171
|
+
| 'insert.span'
|
|
436
2172
|
| 'insert.text'
|
|
2173
|
+
| 'insert.text block'
|
|
2174
|
+
| 'list item.add'
|
|
2175
|
+
| 'list item.remove'
|
|
437
2176
|
| 'list item.toggle'
|
|
2177
|
+
| 'move.block'
|
|
2178
|
+
| 'move.block down'
|
|
2179
|
+
| 'move.block up'
|
|
2180
|
+
| 'select.previous block'
|
|
2181
|
+
| 'select.next block'
|
|
2182
|
+
| 'style.add'
|
|
2183
|
+
| 'style.remove'
|
|
438
2184
|
| 'style.toggle'
|
|
439
|
-
| '
|
|
2185
|
+
| 'text block.set'
|
|
2186
|
+
| 'text block.unset'
|
|
440
2187
|
| 'key.down'
|
|
441
2188
|
| 'key.up'
|
|
442
2189
|
| 'paste'
|
|
443
2190
|
| `custom.${string}`,
|
|
444
2191
|
true,
|
|
445
|
-
|
|
2192
|
+
PickFromUnion_2<
|
|
2193
|
+
BehaviorEvent_2,
|
|
2194
|
+
'type',
|
|
2195
|
+
| 'focus'
|
|
2196
|
+
| 'select'
|
|
2197
|
+
| 'serialize'
|
|
2198
|
+
| 'copy'
|
|
2199
|
+
| 'serialization.failure'
|
|
2200
|
+
| 'serialization.success'
|
|
2201
|
+
| 'deserialize'
|
|
2202
|
+
| 'deserialization.failure'
|
|
2203
|
+
| 'deserialization.success'
|
|
2204
|
+
| 'annotation.add'
|
|
2205
|
+
| 'annotation.remove'
|
|
2206
|
+
| 'annotation.toggle'
|
|
2207
|
+
| 'blur'
|
|
2208
|
+
| 'data transfer.set'
|
|
2209
|
+
| 'decorator.add'
|
|
2210
|
+
| 'decorator.remove'
|
|
2211
|
+
| 'decorator.toggle'
|
|
2212
|
+
| 'delete.backward'
|
|
2213
|
+
| 'delete.block'
|
|
2214
|
+
| 'delete.forward'
|
|
2215
|
+
| 'delete.text'
|
|
2216
|
+
| 'insert.blocks'
|
|
2217
|
+
| 'insert.block object'
|
|
2218
|
+
| 'insert.inline object'
|
|
2219
|
+
| 'insert.break'
|
|
2220
|
+
| 'insert.soft break'
|
|
2221
|
+
| 'insert.span'
|
|
2222
|
+
| 'insert.text'
|
|
2223
|
+
| 'insert.text block'
|
|
2224
|
+
| 'list item.add'
|
|
2225
|
+
| 'list item.remove'
|
|
2226
|
+
| 'list item.toggle'
|
|
2227
|
+
| 'move.block'
|
|
2228
|
+
| 'move.block down'
|
|
2229
|
+
| 'move.block up'
|
|
2230
|
+
| 'select.previous block'
|
|
2231
|
+
| 'select.next block'
|
|
2232
|
+
| 'style.add'
|
|
2233
|
+
| 'style.remove'
|
|
2234
|
+
| 'style.toggle'
|
|
2235
|
+
| 'text block.set'
|
|
2236
|
+
| 'text block.unset'
|
|
2237
|
+
| 'key.down'
|
|
2238
|
+
| 'key.up'
|
|
2239
|
+
| 'paste'
|
|
2240
|
+
| `custom.${string}`
|
|
2241
|
+
>
|
|
446
2242
|
>
|
|
447
|
-
}
|
|
448
|
-
lists: {
|
|
449
2243
|
clearListOnBackspace: Behavior_2<
|
|
450
2244
|
| 'focus'
|
|
451
2245
|
| 'select'
|
|
2246
|
+
| 'serialize'
|
|
2247
|
+
| 'copy'
|
|
2248
|
+
| 'serialization.failure'
|
|
2249
|
+
| 'serialization.success'
|
|
2250
|
+
| 'deserialize'
|
|
2251
|
+
| 'deserialization.failure'
|
|
2252
|
+
| 'deserialization.success'
|
|
452
2253
|
| 'annotation.add'
|
|
453
2254
|
| 'annotation.remove'
|
|
2255
|
+
| 'annotation.toggle'
|
|
454
2256
|
| 'blur'
|
|
2257
|
+
| 'data transfer.set'
|
|
2258
|
+
| 'decorator.add'
|
|
2259
|
+
| 'decorator.remove'
|
|
455
2260
|
| 'decorator.toggle'
|
|
456
2261
|
| 'delete.backward'
|
|
2262
|
+
| 'delete.block'
|
|
457
2263
|
| 'delete.forward'
|
|
2264
|
+
| 'delete.text'
|
|
2265
|
+
| 'insert.blocks'
|
|
458
2266
|
| 'insert.block object'
|
|
459
2267
|
| 'insert.inline object'
|
|
460
2268
|
| 'insert.break'
|
|
461
2269
|
| 'insert.soft break'
|
|
2270
|
+
| 'insert.span'
|
|
462
2271
|
| 'insert.text'
|
|
2272
|
+
| 'insert.text block'
|
|
2273
|
+
| 'list item.add'
|
|
2274
|
+
| 'list item.remove'
|
|
463
2275
|
| 'list item.toggle'
|
|
2276
|
+
| 'move.block'
|
|
2277
|
+
| 'move.block down'
|
|
2278
|
+
| 'move.block up'
|
|
2279
|
+
| 'select.previous block'
|
|
2280
|
+
| 'select.next block'
|
|
2281
|
+
| 'style.add'
|
|
2282
|
+
| 'style.remove'
|
|
464
2283
|
| 'style.toggle'
|
|
465
|
-
| '
|
|
2284
|
+
| 'text block.set'
|
|
2285
|
+
| 'text block.unset'
|
|
466
2286
|
| 'key.down'
|
|
467
2287
|
| 'key.up'
|
|
468
2288
|
| 'paste'
|
|
469
2289
|
| `custom.${string}`,
|
|
470
2290
|
true,
|
|
471
|
-
|
|
2291
|
+
PickFromUnion_2<
|
|
2292
|
+
BehaviorEvent_2,
|
|
2293
|
+
'type',
|
|
2294
|
+
| 'focus'
|
|
2295
|
+
| 'select'
|
|
2296
|
+
| 'serialize'
|
|
2297
|
+
| 'copy'
|
|
2298
|
+
| 'serialization.failure'
|
|
2299
|
+
| 'serialization.success'
|
|
2300
|
+
| 'deserialize'
|
|
2301
|
+
| 'deserialization.failure'
|
|
2302
|
+
| 'deserialization.success'
|
|
2303
|
+
| 'annotation.add'
|
|
2304
|
+
| 'annotation.remove'
|
|
2305
|
+
| 'annotation.toggle'
|
|
2306
|
+
| 'blur'
|
|
2307
|
+
| 'data transfer.set'
|
|
2308
|
+
| 'decorator.add'
|
|
2309
|
+
| 'decorator.remove'
|
|
2310
|
+
| 'decorator.toggle'
|
|
2311
|
+
| 'delete.backward'
|
|
2312
|
+
| 'delete.block'
|
|
2313
|
+
| 'delete.forward'
|
|
2314
|
+
| 'delete.text'
|
|
2315
|
+
| 'insert.blocks'
|
|
2316
|
+
| 'insert.block object'
|
|
2317
|
+
| 'insert.inline object'
|
|
2318
|
+
| 'insert.break'
|
|
2319
|
+
| 'insert.soft break'
|
|
2320
|
+
| 'insert.span'
|
|
2321
|
+
| 'insert.text'
|
|
2322
|
+
| 'insert.text block'
|
|
2323
|
+
| 'list item.add'
|
|
2324
|
+
| 'list item.remove'
|
|
2325
|
+
| 'list item.toggle'
|
|
2326
|
+
| 'move.block'
|
|
2327
|
+
| 'move.block down'
|
|
2328
|
+
| 'move.block up'
|
|
2329
|
+
| 'select.previous block'
|
|
2330
|
+
| 'select.next block'
|
|
2331
|
+
| 'style.add'
|
|
2332
|
+
| 'style.remove'
|
|
2333
|
+
| 'style.toggle'
|
|
2334
|
+
| 'text block.set'
|
|
2335
|
+
| 'text block.unset'
|
|
2336
|
+
| 'key.down'
|
|
2337
|
+
| 'key.up'
|
|
2338
|
+
| 'paste'
|
|
2339
|
+
| `custom.${string}`
|
|
2340
|
+
>
|
|
472
2341
|
>
|
|
473
2342
|
unindentListOnBackspace: Behavior_2<
|
|
474
2343
|
| 'focus'
|
|
475
2344
|
| 'select'
|
|
2345
|
+
| 'serialize'
|
|
2346
|
+
| 'copy'
|
|
2347
|
+
| 'serialization.failure'
|
|
2348
|
+
| 'serialization.success'
|
|
2349
|
+
| 'deserialize'
|
|
2350
|
+
| 'deserialization.failure'
|
|
2351
|
+
| 'deserialization.success'
|
|
476
2352
|
| 'annotation.add'
|
|
477
2353
|
| 'annotation.remove'
|
|
2354
|
+
| 'annotation.toggle'
|
|
478
2355
|
| 'blur'
|
|
2356
|
+
| 'data transfer.set'
|
|
2357
|
+
| 'decorator.add'
|
|
2358
|
+
| 'decorator.remove'
|
|
479
2359
|
| 'decorator.toggle'
|
|
480
2360
|
| 'delete.backward'
|
|
2361
|
+
| 'delete.block'
|
|
481
2362
|
| 'delete.forward'
|
|
2363
|
+
| 'delete.text'
|
|
2364
|
+
| 'insert.blocks'
|
|
482
2365
|
| 'insert.block object'
|
|
483
2366
|
| 'insert.inline object'
|
|
484
2367
|
| 'insert.break'
|
|
485
2368
|
| 'insert.soft break'
|
|
2369
|
+
| 'insert.span'
|
|
486
2370
|
| 'insert.text'
|
|
2371
|
+
| 'insert.text block'
|
|
2372
|
+
| 'list item.add'
|
|
2373
|
+
| 'list item.remove'
|
|
487
2374
|
| 'list item.toggle'
|
|
2375
|
+
| 'move.block'
|
|
2376
|
+
| 'move.block down'
|
|
2377
|
+
| 'move.block up'
|
|
2378
|
+
| 'select.previous block'
|
|
2379
|
+
| 'select.next block'
|
|
2380
|
+
| 'style.add'
|
|
2381
|
+
| 'style.remove'
|
|
488
2382
|
| 'style.toggle'
|
|
489
|
-
| '
|
|
2383
|
+
| 'text block.set'
|
|
2384
|
+
| 'text block.unset'
|
|
490
2385
|
| 'key.down'
|
|
491
2386
|
| 'key.up'
|
|
492
2387
|
| 'paste'
|
|
493
2388
|
| `custom.${string}`,
|
|
494
2389
|
true,
|
|
495
|
-
|
|
2390
|
+
PickFromUnion_2<
|
|
2391
|
+
BehaviorEvent_2,
|
|
2392
|
+
'type',
|
|
2393
|
+
| 'focus'
|
|
2394
|
+
| 'select'
|
|
2395
|
+
| 'serialize'
|
|
2396
|
+
| 'copy'
|
|
2397
|
+
| 'serialization.failure'
|
|
2398
|
+
| 'serialization.success'
|
|
2399
|
+
| 'deserialize'
|
|
2400
|
+
| 'deserialization.failure'
|
|
2401
|
+
| 'deserialization.success'
|
|
2402
|
+
| 'annotation.add'
|
|
2403
|
+
| 'annotation.remove'
|
|
2404
|
+
| 'annotation.toggle'
|
|
2405
|
+
| 'blur'
|
|
2406
|
+
| 'data transfer.set'
|
|
2407
|
+
| 'decorator.add'
|
|
2408
|
+
| 'decorator.remove'
|
|
2409
|
+
| 'decorator.toggle'
|
|
2410
|
+
| 'delete.backward'
|
|
2411
|
+
| 'delete.block'
|
|
2412
|
+
| 'delete.forward'
|
|
2413
|
+
| 'delete.text'
|
|
2414
|
+
| 'insert.blocks'
|
|
2415
|
+
| 'insert.block object'
|
|
2416
|
+
| 'insert.inline object'
|
|
2417
|
+
| 'insert.break'
|
|
2418
|
+
| 'insert.soft break'
|
|
2419
|
+
| 'insert.span'
|
|
2420
|
+
| 'insert.text'
|
|
2421
|
+
| 'insert.text block'
|
|
2422
|
+
| 'list item.add'
|
|
2423
|
+
| 'list item.remove'
|
|
2424
|
+
| 'list item.toggle'
|
|
2425
|
+
| 'move.block'
|
|
2426
|
+
| 'move.block down'
|
|
2427
|
+
| 'move.block up'
|
|
2428
|
+
| 'select.previous block'
|
|
2429
|
+
| 'select.next block'
|
|
2430
|
+
| 'style.add'
|
|
2431
|
+
| 'style.remove'
|
|
2432
|
+
| 'style.toggle'
|
|
2433
|
+
| 'text block.set'
|
|
2434
|
+
| 'text block.unset'
|
|
2435
|
+
| 'key.down'
|
|
2436
|
+
| 'key.up'
|
|
2437
|
+
| 'paste'
|
|
2438
|
+
| `custom.${string}`
|
|
2439
|
+
>
|
|
496
2440
|
>
|
|
497
2441
|
clearListOnEnter: Behavior_2<
|
|
498
2442
|
| 'focus'
|
|
499
2443
|
| 'select'
|
|
2444
|
+
| 'serialize'
|
|
2445
|
+
| 'copy'
|
|
2446
|
+
| 'serialization.failure'
|
|
2447
|
+
| 'serialization.success'
|
|
2448
|
+
| 'deserialize'
|
|
2449
|
+
| 'deserialization.failure'
|
|
2450
|
+
| 'deserialization.success'
|
|
500
2451
|
| 'annotation.add'
|
|
501
2452
|
| 'annotation.remove'
|
|
2453
|
+
| 'annotation.toggle'
|
|
502
2454
|
| 'blur'
|
|
2455
|
+
| 'data transfer.set'
|
|
2456
|
+
| 'decorator.add'
|
|
2457
|
+
| 'decorator.remove'
|
|
503
2458
|
| 'decorator.toggle'
|
|
504
2459
|
| 'delete.backward'
|
|
2460
|
+
| 'delete.block'
|
|
505
2461
|
| 'delete.forward'
|
|
2462
|
+
| 'delete.text'
|
|
2463
|
+
| 'insert.blocks'
|
|
506
2464
|
| 'insert.block object'
|
|
507
2465
|
| 'insert.inline object'
|
|
508
2466
|
| 'insert.break'
|
|
509
2467
|
| 'insert.soft break'
|
|
2468
|
+
| 'insert.span'
|
|
510
2469
|
| 'insert.text'
|
|
2470
|
+
| 'insert.text block'
|
|
2471
|
+
| 'list item.add'
|
|
2472
|
+
| 'list item.remove'
|
|
511
2473
|
| 'list item.toggle'
|
|
2474
|
+
| 'move.block'
|
|
2475
|
+
| 'move.block down'
|
|
2476
|
+
| 'move.block up'
|
|
2477
|
+
| 'select.previous block'
|
|
2478
|
+
| 'select.next block'
|
|
2479
|
+
| 'style.add'
|
|
2480
|
+
| 'style.remove'
|
|
512
2481
|
| 'style.toggle'
|
|
513
|
-
| '
|
|
2482
|
+
| 'text block.set'
|
|
2483
|
+
| 'text block.unset'
|
|
514
2484
|
| 'key.down'
|
|
515
2485
|
| 'key.up'
|
|
516
2486
|
| 'paste'
|
|
517
2487
|
| `custom.${string}`,
|
|
518
2488
|
true,
|
|
519
|
-
|
|
2489
|
+
PickFromUnion_2<
|
|
2490
|
+
BehaviorEvent_2,
|
|
2491
|
+
'type',
|
|
2492
|
+
| 'focus'
|
|
2493
|
+
| 'select'
|
|
2494
|
+
| 'serialize'
|
|
2495
|
+
| 'copy'
|
|
2496
|
+
| 'serialization.failure'
|
|
2497
|
+
| 'serialization.success'
|
|
2498
|
+
| 'deserialize'
|
|
2499
|
+
| 'deserialization.failure'
|
|
2500
|
+
| 'deserialization.success'
|
|
2501
|
+
| 'annotation.add'
|
|
2502
|
+
| 'annotation.remove'
|
|
2503
|
+
| 'annotation.toggle'
|
|
2504
|
+
| 'blur'
|
|
2505
|
+
| 'data transfer.set'
|
|
2506
|
+
| 'decorator.add'
|
|
2507
|
+
| 'decorator.remove'
|
|
2508
|
+
| 'decorator.toggle'
|
|
2509
|
+
| 'delete.backward'
|
|
2510
|
+
| 'delete.block'
|
|
2511
|
+
| 'delete.forward'
|
|
2512
|
+
| 'delete.text'
|
|
2513
|
+
| 'insert.blocks'
|
|
2514
|
+
| 'insert.block object'
|
|
2515
|
+
| 'insert.inline object'
|
|
2516
|
+
| 'insert.break'
|
|
2517
|
+
| 'insert.soft break'
|
|
2518
|
+
| 'insert.span'
|
|
2519
|
+
| 'insert.text'
|
|
2520
|
+
| 'insert.text block'
|
|
2521
|
+
| 'list item.add'
|
|
2522
|
+
| 'list item.remove'
|
|
2523
|
+
| 'list item.toggle'
|
|
2524
|
+
| 'move.block'
|
|
2525
|
+
| 'move.block down'
|
|
2526
|
+
| 'move.block up'
|
|
2527
|
+
| 'select.previous block'
|
|
2528
|
+
| 'select.next block'
|
|
2529
|
+
| 'style.add'
|
|
2530
|
+
| 'style.remove'
|
|
2531
|
+
| 'style.toggle'
|
|
2532
|
+
| 'text block.set'
|
|
2533
|
+
| 'text block.unset'
|
|
2534
|
+
| 'key.down'
|
|
2535
|
+
| 'key.up'
|
|
2536
|
+
| 'paste'
|
|
2537
|
+
| `custom.${string}`
|
|
2538
|
+
>
|
|
520
2539
|
>
|
|
521
2540
|
indentListOnTab: Behavior_2<
|
|
522
2541
|
| 'focus'
|
|
523
2542
|
| 'select'
|
|
2543
|
+
| 'serialize'
|
|
2544
|
+
| 'copy'
|
|
2545
|
+
| 'serialization.failure'
|
|
2546
|
+
| 'serialization.success'
|
|
2547
|
+
| 'deserialize'
|
|
2548
|
+
| 'deserialization.failure'
|
|
2549
|
+
| 'deserialization.success'
|
|
524
2550
|
| 'annotation.add'
|
|
525
2551
|
| 'annotation.remove'
|
|
2552
|
+
| 'annotation.toggle'
|
|
526
2553
|
| 'blur'
|
|
2554
|
+
| 'data transfer.set'
|
|
2555
|
+
| 'decorator.add'
|
|
2556
|
+
| 'decorator.remove'
|
|
527
2557
|
| 'decorator.toggle'
|
|
528
2558
|
| 'delete.backward'
|
|
2559
|
+
| 'delete.block'
|
|
529
2560
|
| 'delete.forward'
|
|
2561
|
+
| 'delete.text'
|
|
2562
|
+
| 'insert.blocks'
|
|
530
2563
|
| 'insert.block object'
|
|
531
2564
|
| 'insert.inline object'
|
|
532
2565
|
| 'insert.break'
|
|
533
2566
|
| 'insert.soft break'
|
|
2567
|
+
| 'insert.span'
|
|
534
2568
|
| 'insert.text'
|
|
2569
|
+
| 'insert.text block'
|
|
2570
|
+
| 'list item.add'
|
|
2571
|
+
| 'list item.remove'
|
|
535
2572
|
| 'list item.toggle'
|
|
2573
|
+
| 'move.block'
|
|
2574
|
+
| 'move.block down'
|
|
2575
|
+
| 'move.block up'
|
|
2576
|
+
| 'select.previous block'
|
|
2577
|
+
| 'select.next block'
|
|
2578
|
+
| 'style.add'
|
|
2579
|
+
| 'style.remove'
|
|
536
2580
|
| 'style.toggle'
|
|
537
|
-
| '
|
|
2581
|
+
| 'text block.set'
|
|
2582
|
+
| 'text block.unset'
|
|
538
2583
|
| 'key.down'
|
|
539
2584
|
| 'key.up'
|
|
540
2585
|
| 'paste'
|
|
541
2586
|
| `custom.${string}`,
|
|
542
2587
|
true,
|
|
543
|
-
|
|
2588
|
+
PickFromUnion_2<
|
|
2589
|
+
BehaviorEvent_2,
|
|
2590
|
+
'type',
|
|
2591
|
+
| 'focus'
|
|
2592
|
+
| 'select'
|
|
2593
|
+
| 'serialize'
|
|
2594
|
+
| 'copy'
|
|
2595
|
+
| 'serialization.failure'
|
|
2596
|
+
| 'serialization.success'
|
|
2597
|
+
| 'deserialize'
|
|
2598
|
+
| 'deserialization.failure'
|
|
2599
|
+
| 'deserialization.success'
|
|
2600
|
+
| 'annotation.add'
|
|
2601
|
+
| 'annotation.remove'
|
|
2602
|
+
| 'annotation.toggle'
|
|
2603
|
+
| 'blur'
|
|
2604
|
+
| 'data transfer.set'
|
|
2605
|
+
| 'decorator.add'
|
|
2606
|
+
| 'decorator.remove'
|
|
2607
|
+
| 'decorator.toggle'
|
|
2608
|
+
| 'delete.backward'
|
|
2609
|
+
| 'delete.block'
|
|
2610
|
+
| 'delete.forward'
|
|
2611
|
+
| 'delete.text'
|
|
2612
|
+
| 'insert.blocks'
|
|
2613
|
+
| 'insert.block object'
|
|
2614
|
+
| 'insert.inline object'
|
|
2615
|
+
| 'insert.break'
|
|
2616
|
+
| 'insert.soft break'
|
|
2617
|
+
| 'insert.span'
|
|
2618
|
+
| 'insert.text'
|
|
2619
|
+
| 'insert.text block'
|
|
2620
|
+
| 'list item.add'
|
|
2621
|
+
| 'list item.remove'
|
|
2622
|
+
| 'list item.toggle'
|
|
2623
|
+
| 'move.block'
|
|
2624
|
+
| 'move.block down'
|
|
2625
|
+
| 'move.block up'
|
|
2626
|
+
| 'select.previous block'
|
|
2627
|
+
| 'select.next block'
|
|
2628
|
+
| 'style.add'
|
|
2629
|
+
| 'style.remove'
|
|
2630
|
+
| 'style.toggle'
|
|
2631
|
+
| 'text block.set'
|
|
2632
|
+
| 'text block.unset'
|
|
2633
|
+
| 'key.down'
|
|
2634
|
+
| 'key.up'
|
|
2635
|
+
| 'paste'
|
|
2636
|
+
| `custom.${string}`
|
|
2637
|
+
>
|
|
544
2638
|
>
|
|
545
2639
|
unindentListOnShiftTab: Behavior_2<
|
|
546
2640
|
| 'focus'
|
|
547
2641
|
| 'select'
|
|
2642
|
+
| 'serialize'
|
|
2643
|
+
| 'copy'
|
|
2644
|
+
| 'serialization.failure'
|
|
2645
|
+
| 'serialization.success'
|
|
2646
|
+
| 'deserialize'
|
|
2647
|
+
| 'deserialization.failure'
|
|
2648
|
+
| 'deserialization.success'
|
|
548
2649
|
| 'annotation.add'
|
|
549
2650
|
| 'annotation.remove'
|
|
2651
|
+
| 'annotation.toggle'
|
|
550
2652
|
| 'blur'
|
|
2653
|
+
| 'data transfer.set'
|
|
2654
|
+
| 'decorator.add'
|
|
2655
|
+
| 'decorator.remove'
|
|
551
2656
|
| 'decorator.toggle'
|
|
552
2657
|
| 'delete.backward'
|
|
2658
|
+
| 'delete.block'
|
|
553
2659
|
| 'delete.forward'
|
|
2660
|
+
| 'delete.text'
|
|
2661
|
+
| 'insert.blocks'
|
|
554
2662
|
| 'insert.block object'
|
|
555
2663
|
| 'insert.inline object'
|
|
556
2664
|
| 'insert.break'
|
|
557
2665
|
| 'insert.soft break'
|
|
2666
|
+
| 'insert.span'
|
|
558
2667
|
| 'insert.text'
|
|
2668
|
+
| 'insert.text block'
|
|
2669
|
+
| 'list item.add'
|
|
2670
|
+
| 'list item.remove'
|
|
559
2671
|
| 'list item.toggle'
|
|
2672
|
+
| 'move.block'
|
|
2673
|
+
| 'move.block down'
|
|
2674
|
+
| 'move.block up'
|
|
2675
|
+
| 'select.previous block'
|
|
2676
|
+
| 'select.next block'
|
|
2677
|
+
| 'style.add'
|
|
2678
|
+
| 'style.remove'
|
|
560
2679
|
| 'style.toggle'
|
|
561
|
-
| '
|
|
2680
|
+
| 'text block.set'
|
|
2681
|
+
| 'text block.unset'
|
|
562
2682
|
| 'key.down'
|
|
563
2683
|
| 'key.up'
|
|
564
2684
|
| 'paste'
|
|
565
2685
|
| `custom.${string}`,
|
|
566
2686
|
true,
|
|
567
|
-
|
|
2687
|
+
PickFromUnion_2<
|
|
2688
|
+
BehaviorEvent_2,
|
|
2689
|
+
'type',
|
|
2690
|
+
| 'focus'
|
|
2691
|
+
| 'select'
|
|
2692
|
+
| 'serialize'
|
|
2693
|
+
| 'copy'
|
|
2694
|
+
| 'serialization.failure'
|
|
2695
|
+
| 'serialization.success'
|
|
2696
|
+
| 'deserialize'
|
|
2697
|
+
| 'deserialization.failure'
|
|
2698
|
+
| 'deserialization.success'
|
|
2699
|
+
| 'annotation.add'
|
|
2700
|
+
| 'annotation.remove'
|
|
2701
|
+
| 'annotation.toggle'
|
|
2702
|
+
| 'blur'
|
|
2703
|
+
| 'data transfer.set'
|
|
2704
|
+
| 'decorator.add'
|
|
2705
|
+
| 'decorator.remove'
|
|
2706
|
+
| 'decorator.toggle'
|
|
2707
|
+
| 'delete.backward'
|
|
2708
|
+
| 'delete.block'
|
|
2709
|
+
| 'delete.forward'
|
|
2710
|
+
| 'delete.text'
|
|
2711
|
+
| 'insert.blocks'
|
|
2712
|
+
| 'insert.block object'
|
|
2713
|
+
| 'insert.inline object'
|
|
2714
|
+
| 'insert.break'
|
|
2715
|
+
| 'insert.soft break'
|
|
2716
|
+
| 'insert.span'
|
|
2717
|
+
| 'insert.text'
|
|
2718
|
+
| 'insert.text block'
|
|
2719
|
+
| 'list item.add'
|
|
2720
|
+
| 'list item.remove'
|
|
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'
|
|
2729
|
+
| 'style.toggle'
|
|
2730
|
+
| 'text block.set'
|
|
2731
|
+
| 'text block.unset'
|
|
2732
|
+
| 'key.down'
|
|
2733
|
+
| 'key.up'
|
|
2734
|
+
| 'paste'
|
|
2735
|
+
| `custom.${string}`
|
|
2736
|
+
>
|
|
568
2737
|
>
|
|
569
2738
|
}
|
|
570
2739
|
}
|
|
@@ -575,26 +2744,101 @@ export declare const coreBehavior: {
|
|
|
575
2744
|
export declare const coreBehaviors: Behavior_2<
|
|
576
2745
|
| 'focus'
|
|
577
2746
|
| 'select'
|
|
2747
|
+
| 'serialize'
|
|
2748
|
+
| 'copy'
|
|
2749
|
+
| 'serialization.failure'
|
|
2750
|
+
| 'serialization.success'
|
|
2751
|
+
| 'deserialize'
|
|
2752
|
+
| 'deserialization.failure'
|
|
2753
|
+
| 'deserialization.success'
|
|
578
2754
|
| 'annotation.add'
|
|
579
2755
|
| 'annotation.remove'
|
|
2756
|
+
| 'annotation.toggle'
|
|
580
2757
|
| 'blur'
|
|
2758
|
+
| 'data transfer.set'
|
|
2759
|
+
| 'decorator.add'
|
|
2760
|
+
| 'decorator.remove'
|
|
581
2761
|
| 'decorator.toggle'
|
|
582
2762
|
| 'delete.backward'
|
|
2763
|
+
| 'delete.block'
|
|
583
2764
|
| 'delete.forward'
|
|
2765
|
+
| 'delete.text'
|
|
2766
|
+
| 'insert.blocks'
|
|
584
2767
|
| 'insert.block object'
|
|
585
2768
|
| 'insert.inline object'
|
|
586
2769
|
| 'insert.break'
|
|
587
2770
|
| 'insert.soft break'
|
|
2771
|
+
| 'insert.span'
|
|
588
2772
|
| 'insert.text'
|
|
2773
|
+
| 'insert.text block'
|
|
2774
|
+
| 'list item.add'
|
|
2775
|
+
| 'list item.remove'
|
|
589
2776
|
| 'list item.toggle'
|
|
2777
|
+
| 'move.block'
|
|
2778
|
+
| 'move.block down'
|
|
2779
|
+
| 'move.block up'
|
|
2780
|
+
| 'select.previous block'
|
|
2781
|
+
| 'select.next block'
|
|
2782
|
+
| 'style.add'
|
|
2783
|
+
| 'style.remove'
|
|
590
2784
|
| 'style.toggle'
|
|
591
|
-
| '
|
|
2785
|
+
| 'text block.set'
|
|
2786
|
+
| 'text block.unset'
|
|
592
2787
|
| 'key.down'
|
|
593
2788
|
| 'key.up'
|
|
594
2789
|
| 'paste'
|
|
595
2790
|
| `custom.${string}`,
|
|
596
2791
|
true,
|
|
597
|
-
|
|
2792
|
+
PickFromUnion_2<
|
|
2793
|
+
BehaviorEvent_2,
|
|
2794
|
+
'type',
|
|
2795
|
+
| 'focus'
|
|
2796
|
+
| 'select'
|
|
2797
|
+
| 'serialize'
|
|
2798
|
+
| 'copy'
|
|
2799
|
+
| 'serialization.failure'
|
|
2800
|
+
| 'serialization.success'
|
|
2801
|
+
| 'deserialize'
|
|
2802
|
+
| 'deserialization.failure'
|
|
2803
|
+
| 'deserialization.success'
|
|
2804
|
+
| 'annotation.add'
|
|
2805
|
+
| 'annotation.remove'
|
|
2806
|
+
| 'annotation.toggle'
|
|
2807
|
+
| 'blur'
|
|
2808
|
+
| 'data transfer.set'
|
|
2809
|
+
| 'decorator.add'
|
|
2810
|
+
| 'decorator.remove'
|
|
2811
|
+
| 'decorator.toggle'
|
|
2812
|
+
| 'delete.backward'
|
|
2813
|
+
| 'delete.block'
|
|
2814
|
+
| 'delete.forward'
|
|
2815
|
+
| 'delete.text'
|
|
2816
|
+
| 'insert.blocks'
|
|
2817
|
+
| 'insert.block object'
|
|
2818
|
+
| 'insert.inline object'
|
|
2819
|
+
| 'insert.break'
|
|
2820
|
+
| 'insert.soft break'
|
|
2821
|
+
| 'insert.span'
|
|
2822
|
+
| 'insert.text'
|
|
2823
|
+
| 'insert.text block'
|
|
2824
|
+
| 'list item.add'
|
|
2825
|
+
| 'list item.remove'
|
|
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'
|
|
2834
|
+
| 'style.toggle'
|
|
2835
|
+
| 'text block.set'
|
|
2836
|
+
| 'text block.unset'
|
|
2837
|
+
| 'key.down'
|
|
2838
|
+
| 'key.up'
|
|
2839
|
+
| 'paste'
|
|
2840
|
+
| `custom.${string}`
|
|
2841
|
+
>
|
|
598
2842
|
>[]
|
|
599
2843
|
|
|
600
2844
|
/**
|
|
@@ -605,26 +2849,101 @@ export declare function createCodeEditorBehaviors(
|
|
|
605
2849
|
): Behavior_2<
|
|
606
2850
|
| 'focus'
|
|
607
2851
|
| 'select'
|
|
2852
|
+
| 'serialize'
|
|
2853
|
+
| 'copy'
|
|
2854
|
+
| 'serialization.failure'
|
|
2855
|
+
| 'serialization.success'
|
|
2856
|
+
| 'deserialize'
|
|
2857
|
+
| 'deserialization.failure'
|
|
2858
|
+
| 'deserialization.success'
|
|
608
2859
|
| 'annotation.add'
|
|
609
2860
|
| 'annotation.remove'
|
|
2861
|
+
| 'annotation.toggle'
|
|
610
2862
|
| 'blur'
|
|
2863
|
+
| 'data transfer.set'
|
|
2864
|
+
| 'decorator.add'
|
|
2865
|
+
| 'decorator.remove'
|
|
611
2866
|
| 'decorator.toggle'
|
|
612
2867
|
| 'delete.backward'
|
|
2868
|
+
| 'delete.block'
|
|
613
2869
|
| 'delete.forward'
|
|
2870
|
+
| 'delete.text'
|
|
2871
|
+
| 'insert.blocks'
|
|
614
2872
|
| 'insert.block object'
|
|
615
2873
|
| 'insert.inline object'
|
|
616
2874
|
| 'insert.break'
|
|
617
2875
|
| 'insert.soft break'
|
|
2876
|
+
| 'insert.span'
|
|
618
2877
|
| 'insert.text'
|
|
2878
|
+
| 'insert.text block'
|
|
2879
|
+
| 'list item.add'
|
|
2880
|
+
| 'list item.remove'
|
|
619
2881
|
| 'list item.toggle'
|
|
2882
|
+
| 'move.block'
|
|
2883
|
+
| 'move.block down'
|
|
2884
|
+
| 'move.block up'
|
|
2885
|
+
| 'select.previous block'
|
|
2886
|
+
| 'select.next block'
|
|
2887
|
+
| 'style.add'
|
|
2888
|
+
| 'style.remove'
|
|
620
2889
|
| 'style.toggle'
|
|
621
|
-
| '
|
|
2890
|
+
| 'text block.set'
|
|
2891
|
+
| 'text block.unset'
|
|
622
2892
|
| 'key.down'
|
|
623
2893
|
| 'key.up'
|
|
624
2894
|
| 'paste'
|
|
625
2895
|
| `custom.${string}`,
|
|
626
2896
|
true,
|
|
627
|
-
|
|
2897
|
+
PickFromUnion_2<
|
|
2898
|
+
BehaviorEvent_2,
|
|
2899
|
+
'type',
|
|
2900
|
+
| 'focus'
|
|
2901
|
+
| 'select'
|
|
2902
|
+
| 'serialize'
|
|
2903
|
+
| 'copy'
|
|
2904
|
+
| 'serialization.failure'
|
|
2905
|
+
| 'serialization.success'
|
|
2906
|
+
| 'deserialize'
|
|
2907
|
+
| 'deserialization.failure'
|
|
2908
|
+
| 'deserialization.success'
|
|
2909
|
+
| 'annotation.add'
|
|
2910
|
+
| 'annotation.remove'
|
|
2911
|
+
| 'annotation.toggle'
|
|
2912
|
+
| 'blur'
|
|
2913
|
+
| 'data transfer.set'
|
|
2914
|
+
| 'decorator.add'
|
|
2915
|
+
| 'decorator.remove'
|
|
2916
|
+
| 'decorator.toggle'
|
|
2917
|
+
| 'delete.backward'
|
|
2918
|
+
| 'delete.block'
|
|
2919
|
+
| 'delete.forward'
|
|
2920
|
+
| 'delete.text'
|
|
2921
|
+
| 'insert.blocks'
|
|
2922
|
+
| 'insert.block object'
|
|
2923
|
+
| 'insert.inline object'
|
|
2924
|
+
| 'insert.break'
|
|
2925
|
+
| 'insert.soft break'
|
|
2926
|
+
| 'insert.span'
|
|
2927
|
+
| 'insert.text'
|
|
2928
|
+
| 'insert.text block'
|
|
2929
|
+
| 'list item.add'
|
|
2930
|
+
| 'list item.remove'
|
|
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'
|
|
2939
|
+
| 'style.toggle'
|
|
2940
|
+
| 'text block.set'
|
|
2941
|
+
| 'text block.unset'
|
|
2942
|
+
| 'key.down'
|
|
2943
|
+
| 'key.up'
|
|
2944
|
+
| 'paste'
|
|
2945
|
+
| `custom.${string}`
|
|
2946
|
+
>
|
|
628
2947
|
>[]
|
|
629
2948
|
|
|
630
2949
|
/**
|
|
@@ -635,26 +2954,101 @@ export declare function createEmojiPickerBehaviors<TEmojiMatch>(
|
|
|
635
2954
|
): Behavior_2<
|
|
636
2955
|
| 'focus'
|
|
637
2956
|
| 'select'
|
|
2957
|
+
| 'serialize'
|
|
2958
|
+
| 'copy'
|
|
2959
|
+
| 'serialization.failure'
|
|
2960
|
+
| 'serialization.success'
|
|
2961
|
+
| 'deserialize'
|
|
2962
|
+
| 'deserialization.failure'
|
|
2963
|
+
| 'deserialization.success'
|
|
638
2964
|
| 'annotation.add'
|
|
639
2965
|
| 'annotation.remove'
|
|
2966
|
+
| 'annotation.toggle'
|
|
640
2967
|
| 'blur'
|
|
2968
|
+
| 'data transfer.set'
|
|
2969
|
+
| 'decorator.add'
|
|
2970
|
+
| 'decorator.remove'
|
|
641
2971
|
| 'decorator.toggle'
|
|
642
2972
|
| 'delete.backward'
|
|
2973
|
+
| 'delete.block'
|
|
643
2974
|
| 'delete.forward'
|
|
2975
|
+
| 'delete.text'
|
|
2976
|
+
| 'insert.blocks'
|
|
644
2977
|
| 'insert.block object'
|
|
645
2978
|
| 'insert.inline object'
|
|
646
2979
|
| 'insert.break'
|
|
647
2980
|
| 'insert.soft break'
|
|
2981
|
+
| 'insert.span'
|
|
648
2982
|
| 'insert.text'
|
|
2983
|
+
| 'insert.text block'
|
|
2984
|
+
| 'list item.add'
|
|
2985
|
+
| 'list item.remove'
|
|
649
2986
|
| 'list item.toggle'
|
|
2987
|
+
| 'move.block'
|
|
2988
|
+
| 'move.block down'
|
|
2989
|
+
| 'move.block up'
|
|
2990
|
+
| 'select.previous block'
|
|
2991
|
+
| 'select.next block'
|
|
2992
|
+
| 'style.add'
|
|
2993
|
+
| 'style.remove'
|
|
650
2994
|
| 'style.toggle'
|
|
651
|
-
| '
|
|
2995
|
+
| 'text block.set'
|
|
2996
|
+
| 'text block.unset'
|
|
652
2997
|
| 'key.down'
|
|
653
2998
|
| 'key.up'
|
|
654
2999
|
| 'paste'
|
|
655
3000
|
| `custom.${string}`,
|
|
656
3001
|
true,
|
|
657
|
-
|
|
3002
|
+
PickFromUnion_2<
|
|
3003
|
+
BehaviorEvent_2,
|
|
3004
|
+
'type',
|
|
3005
|
+
| 'focus'
|
|
3006
|
+
| 'select'
|
|
3007
|
+
| 'serialize'
|
|
3008
|
+
| 'copy'
|
|
3009
|
+
| 'serialization.failure'
|
|
3010
|
+
| 'serialization.success'
|
|
3011
|
+
| 'deserialize'
|
|
3012
|
+
| 'deserialization.failure'
|
|
3013
|
+
| 'deserialization.success'
|
|
3014
|
+
| 'annotation.add'
|
|
3015
|
+
| 'annotation.remove'
|
|
3016
|
+
| 'annotation.toggle'
|
|
3017
|
+
| 'blur'
|
|
3018
|
+
| 'data transfer.set'
|
|
3019
|
+
| 'decorator.add'
|
|
3020
|
+
| 'decorator.remove'
|
|
3021
|
+
| 'decorator.toggle'
|
|
3022
|
+
| 'delete.backward'
|
|
3023
|
+
| 'delete.block'
|
|
3024
|
+
| 'delete.forward'
|
|
3025
|
+
| 'delete.text'
|
|
3026
|
+
| 'insert.blocks'
|
|
3027
|
+
| 'insert.block object'
|
|
3028
|
+
| 'insert.inline object'
|
|
3029
|
+
| 'insert.break'
|
|
3030
|
+
| 'insert.soft break'
|
|
3031
|
+
| 'insert.span'
|
|
3032
|
+
| 'insert.text'
|
|
3033
|
+
| 'insert.text block'
|
|
3034
|
+
| 'list item.add'
|
|
3035
|
+
| 'list item.remove'
|
|
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'
|
|
3044
|
+
| 'style.toggle'
|
|
3045
|
+
| 'text block.set'
|
|
3046
|
+
| 'text block.unset'
|
|
3047
|
+
| 'key.down'
|
|
3048
|
+
| 'key.up'
|
|
3049
|
+
| 'paste'
|
|
3050
|
+
| `custom.${string}`
|
|
3051
|
+
>
|
|
658
3052
|
>[]
|
|
659
3053
|
|
|
660
3054
|
/**
|
|
@@ -665,26 +3059,101 @@ export declare function createLinkBehaviors(
|
|
|
665
3059
|
): Behavior_2<
|
|
666
3060
|
| 'focus'
|
|
667
3061
|
| 'select'
|
|
3062
|
+
| 'serialize'
|
|
3063
|
+
| 'copy'
|
|
3064
|
+
| 'serialization.failure'
|
|
3065
|
+
| 'serialization.success'
|
|
3066
|
+
| 'deserialize'
|
|
3067
|
+
| 'deserialization.failure'
|
|
3068
|
+
| 'deserialization.success'
|
|
668
3069
|
| 'annotation.add'
|
|
669
3070
|
| 'annotation.remove'
|
|
3071
|
+
| 'annotation.toggle'
|
|
670
3072
|
| 'blur'
|
|
3073
|
+
| 'data transfer.set'
|
|
3074
|
+
| 'decorator.add'
|
|
3075
|
+
| 'decorator.remove'
|
|
671
3076
|
| 'decorator.toggle'
|
|
672
3077
|
| 'delete.backward'
|
|
3078
|
+
| 'delete.block'
|
|
673
3079
|
| 'delete.forward'
|
|
3080
|
+
| 'delete.text'
|
|
3081
|
+
| 'insert.blocks'
|
|
674
3082
|
| 'insert.block object'
|
|
675
3083
|
| 'insert.inline object'
|
|
676
3084
|
| 'insert.break'
|
|
677
3085
|
| 'insert.soft break'
|
|
3086
|
+
| 'insert.span'
|
|
678
3087
|
| 'insert.text'
|
|
3088
|
+
| 'insert.text block'
|
|
3089
|
+
| 'list item.add'
|
|
3090
|
+
| 'list item.remove'
|
|
679
3091
|
| 'list item.toggle'
|
|
3092
|
+
| 'move.block'
|
|
3093
|
+
| 'move.block down'
|
|
3094
|
+
| 'move.block up'
|
|
3095
|
+
| 'select.previous block'
|
|
3096
|
+
| 'select.next block'
|
|
3097
|
+
| 'style.add'
|
|
3098
|
+
| 'style.remove'
|
|
680
3099
|
| 'style.toggle'
|
|
681
|
-
| '
|
|
3100
|
+
| 'text block.set'
|
|
3101
|
+
| 'text block.unset'
|
|
682
3102
|
| 'key.down'
|
|
683
3103
|
| 'key.up'
|
|
684
3104
|
| 'paste'
|
|
685
3105
|
| `custom.${string}`,
|
|
686
3106
|
true,
|
|
687
|
-
|
|
3107
|
+
PickFromUnion_2<
|
|
3108
|
+
BehaviorEvent_2,
|
|
3109
|
+
'type',
|
|
3110
|
+
| 'focus'
|
|
3111
|
+
| 'select'
|
|
3112
|
+
| 'serialize'
|
|
3113
|
+
| 'copy'
|
|
3114
|
+
| 'serialization.failure'
|
|
3115
|
+
| 'serialization.success'
|
|
3116
|
+
| 'deserialize'
|
|
3117
|
+
| 'deserialization.failure'
|
|
3118
|
+
| 'deserialization.success'
|
|
3119
|
+
| 'annotation.add'
|
|
3120
|
+
| 'annotation.remove'
|
|
3121
|
+
| 'annotation.toggle'
|
|
3122
|
+
| 'blur'
|
|
3123
|
+
| 'data transfer.set'
|
|
3124
|
+
| 'decorator.add'
|
|
3125
|
+
| 'decorator.remove'
|
|
3126
|
+
| 'decorator.toggle'
|
|
3127
|
+
| 'delete.backward'
|
|
3128
|
+
| 'delete.block'
|
|
3129
|
+
| 'delete.forward'
|
|
3130
|
+
| 'delete.text'
|
|
3131
|
+
| 'insert.blocks'
|
|
3132
|
+
| 'insert.block object'
|
|
3133
|
+
| 'insert.inline object'
|
|
3134
|
+
| 'insert.break'
|
|
3135
|
+
| 'insert.soft break'
|
|
3136
|
+
| 'insert.span'
|
|
3137
|
+
| 'insert.text'
|
|
3138
|
+
| 'insert.text block'
|
|
3139
|
+
| 'list item.add'
|
|
3140
|
+
| 'list item.remove'
|
|
3141
|
+
| 'list item.toggle'
|
|
3142
|
+
| 'move.block'
|
|
3143
|
+
| 'move.block down'
|
|
3144
|
+
| 'move.block up'
|
|
3145
|
+
| 'select.previous block'
|
|
3146
|
+
| 'select.next block'
|
|
3147
|
+
| 'style.add'
|
|
3148
|
+
| 'style.remove'
|
|
3149
|
+
| 'style.toggle'
|
|
3150
|
+
| 'text block.set'
|
|
3151
|
+
| 'text block.unset'
|
|
3152
|
+
| 'key.down'
|
|
3153
|
+
| 'key.up'
|
|
3154
|
+
| 'paste'
|
|
3155
|
+
| `custom.${string}`
|
|
3156
|
+
>
|
|
688
3157
|
>[]
|
|
689
3158
|
|
|
690
3159
|
/**
|
|
@@ -737,26 +3206,101 @@ export declare function createMarkdownBehaviors(
|
|
|
737
3206
|
): Behavior_2<
|
|
738
3207
|
| 'focus'
|
|
739
3208
|
| 'select'
|
|
3209
|
+
| 'serialize'
|
|
3210
|
+
| 'copy'
|
|
3211
|
+
| 'serialization.failure'
|
|
3212
|
+
| 'serialization.success'
|
|
3213
|
+
| 'deserialize'
|
|
3214
|
+
| 'deserialization.failure'
|
|
3215
|
+
| 'deserialization.success'
|
|
740
3216
|
| 'annotation.add'
|
|
741
3217
|
| 'annotation.remove'
|
|
3218
|
+
| 'annotation.toggle'
|
|
742
3219
|
| 'blur'
|
|
3220
|
+
| 'data transfer.set'
|
|
3221
|
+
| 'decorator.add'
|
|
3222
|
+
| 'decorator.remove'
|
|
743
3223
|
| 'decorator.toggle'
|
|
744
3224
|
| 'delete.backward'
|
|
3225
|
+
| 'delete.block'
|
|
745
3226
|
| 'delete.forward'
|
|
3227
|
+
| 'delete.text'
|
|
3228
|
+
| 'insert.blocks'
|
|
746
3229
|
| 'insert.block object'
|
|
747
3230
|
| 'insert.inline object'
|
|
748
3231
|
| 'insert.break'
|
|
749
3232
|
| 'insert.soft break'
|
|
3233
|
+
| 'insert.span'
|
|
750
3234
|
| 'insert.text'
|
|
3235
|
+
| 'insert.text block'
|
|
3236
|
+
| 'list item.add'
|
|
3237
|
+
| 'list item.remove'
|
|
751
3238
|
| 'list item.toggle'
|
|
3239
|
+
| 'move.block'
|
|
3240
|
+
| 'move.block down'
|
|
3241
|
+
| 'move.block up'
|
|
3242
|
+
| 'select.previous block'
|
|
3243
|
+
| 'select.next block'
|
|
3244
|
+
| 'style.add'
|
|
3245
|
+
| 'style.remove'
|
|
752
3246
|
| 'style.toggle'
|
|
753
|
-
| '
|
|
3247
|
+
| 'text block.set'
|
|
3248
|
+
| 'text block.unset'
|
|
754
3249
|
| 'key.down'
|
|
755
3250
|
| 'key.up'
|
|
756
3251
|
| 'paste'
|
|
757
3252
|
| `custom.${string}`,
|
|
758
3253
|
true,
|
|
759
|
-
|
|
3254
|
+
PickFromUnion_2<
|
|
3255
|
+
BehaviorEvent_2,
|
|
3256
|
+
'type',
|
|
3257
|
+
| 'focus'
|
|
3258
|
+
| 'select'
|
|
3259
|
+
| 'serialize'
|
|
3260
|
+
| 'copy'
|
|
3261
|
+
| 'serialization.failure'
|
|
3262
|
+
| 'serialization.success'
|
|
3263
|
+
| 'deserialize'
|
|
3264
|
+
| 'deserialization.failure'
|
|
3265
|
+
| 'deserialization.success'
|
|
3266
|
+
| 'annotation.add'
|
|
3267
|
+
| 'annotation.remove'
|
|
3268
|
+
| 'annotation.toggle'
|
|
3269
|
+
| 'blur'
|
|
3270
|
+
| 'data transfer.set'
|
|
3271
|
+
| 'decorator.add'
|
|
3272
|
+
| 'decorator.remove'
|
|
3273
|
+
| 'decorator.toggle'
|
|
3274
|
+
| 'delete.backward'
|
|
3275
|
+
| 'delete.block'
|
|
3276
|
+
| 'delete.forward'
|
|
3277
|
+
| 'delete.text'
|
|
3278
|
+
| 'insert.blocks'
|
|
3279
|
+
| 'insert.block object'
|
|
3280
|
+
| 'insert.inline object'
|
|
3281
|
+
| 'insert.break'
|
|
3282
|
+
| 'insert.soft break'
|
|
3283
|
+
| 'insert.span'
|
|
3284
|
+
| 'insert.text'
|
|
3285
|
+
| 'insert.text block'
|
|
3286
|
+
| 'list item.add'
|
|
3287
|
+
| 'list item.remove'
|
|
3288
|
+
| 'list item.toggle'
|
|
3289
|
+
| 'move.block'
|
|
3290
|
+
| 'move.block down'
|
|
3291
|
+
| 'move.block up'
|
|
3292
|
+
| 'select.previous block'
|
|
3293
|
+
| 'select.next block'
|
|
3294
|
+
| 'style.add'
|
|
3295
|
+
| 'style.remove'
|
|
3296
|
+
| 'style.toggle'
|
|
3297
|
+
| 'text block.set'
|
|
3298
|
+
| 'text block.unset'
|
|
3299
|
+
| 'key.down'
|
|
3300
|
+
| 'key.up'
|
|
3301
|
+
| 'paste'
|
|
3302
|
+
| `custom.${string}`
|
|
3303
|
+
>
|
|
760
3304
|
>[]
|
|
761
3305
|
|
|
762
3306
|
/**
|
|
@@ -803,11 +3347,24 @@ export declare function defineBehavior<
|
|
|
803
3347
|
>,
|
|
804
3348
|
): Behavior
|
|
805
3349
|
|
|
3350
|
+
declare type Deserializer<TMIMEType extends MIMEType> = ({
|
|
3351
|
+
context,
|
|
3352
|
+
event,
|
|
3353
|
+
}: {
|
|
3354
|
+
context: EditorContext
|
|
3355
|
+
event: PickFromUnion<ConverterEvent<TMIMEType>, 'type', 'deserialize'>
|
|
3356
|
+
}) => PickFromUnion<
|
|
3357
|
+
ConverterEvent<TMIMEType>,
|
|
3358
|
+
'type',
|
|
3359
|
+
'deserialization.success' | 'deserialization.failure'
|
|
3360
|
+
>
|
|
3361
|
+
|
|
806
3362
|
/**
|
|
807
3363
|
* @public
|
|
808
3364
|
*/
|
|
809
3365
|
export declare type EditorContext = {
|
|
810
3366
|
activeDecorators: Array<string>
|
|
3367
|
+
converters: Array<Converter>
|
|
811
3368
|
keyGenerator: () => string
|
|
812
3369
|
schema: EditorSchema
|
|
813
3370
|
selection: EditorSelection
|
|
@@ -884,6 +3441,8 @@ export declare type MarkdownBehaviorsConfig = {
|
|
|
884
3441
|
orderedListStyle?: (context: {schema: EditorSchema}) => string | undefined
|
|
885
3442
|
}
|
|
886
3443
|
|
|
3444
|
+
declare type MIMEType = `${string}/${string}`
|
|
3445
|
+
|
|
887
3446
|
/**
|
|
888
3447
|
* @beta
|
|
889
3448
|
*/
|
|
@@ -892,6 +3451,10 @@ export declare type NativeBehaviorEvent =
|
|
|
892
3451
|
type: 'copy'
|
|
893
3452
|
data: DataTransfer
|
|
894
3453
|
}
|
|
3454
|
+
| {
|
|
3455
|
+
type: 'deserialize'
|
|
3456
|
+
dataTransfer: DataTransfer
|
|
3457
|
+
}
|
|
895
3458
|
| {
|
|
896
3459
|
type: 'key.down'
|
|
897
3460
|
keyboardEvent: Pick<
|
|
@@ -910,6 +3473,11 @@ export declare type NativeBehaviorEvent =
|
|
|
910
3473
|
type: 'paste'
|
|
911
3474
|
data: DataTransfer
|
|
912
3475
|
}
|
|
3476
|
+
| {
|
|
3477
|
+
type: 'serialize'
|
|
3478
|
+
originEvent: 'copy' | 'cut' | 'unknown'
|
|
3479
|
+
dataTransfer: DataTransfer
|
|
3480
|
+
}
|
|
913
3481
|
|
|
914
3482
|
/**
|
|
915
3483
|
* @alpha
|
|
@@ -942,6 +3510,18 @@ export declare function raise(
|
|
|
942
3510
|
event: SyntheticBehaviorEvent | CustomBehaviorEvent,
|
|
943
3511
|
): PickFromUnion<BehaviorActionIntend, 'type', 'raise'>
|
|
944
3512
|
|
|
3513
|
+
declare type Serializer<TMIMEType extends MIMEType> = ({
|
|
3514
|
+
context,
|
|
3515
|
+
event,
|
|
3516
|
+
}: {
|
|
3517
|
+
context: EditorContext
|
|
3518
|
+
event: PickFromUnion<ConverterEvent<TMIMEType>, 'type', 'serialize'>
|
|
3519
|
+
}) => PickFromUnion<
|
|
3520
|
+
ConverterEvent<TMIMEType>,
|
|
3521
|
+
'type',
|
|
3522
|
+
'serialization.success' | 'serialization.failure'
|
|
3523
|
+
>
|
|
3524
|
+
|
|
945
3525
|
/**
|
|
946
3526
|
* @beta
|
|
947
3527
|
*/
|
|
@@ -961,9 +3541,32 @@ export declare type SyntheticBehaviorEvent =
|
|
|
961
3541
|
name: string
|
|
962
3542
|
}
|
|
963
3543
|
}
|
|
3544
|
+
| {
|
|
3545
|
+
type: 'annotation.toggle'
|
|
3546
|
+
annotation: {
|
|
3547
|
+
name: string
|
|
3548
|
+
value: {
|
|
3549
|
+
[prop: string]: unknown
|
|
3550
|
+
}
|
|
3551
|
+
}
|
|
3552
|
+
}
|
|
964
3553
|
| {
|
|
965
3554
|
type: 'blur'
|
|
966
3555
|
}
|
|
3556
|
+
| {
|
|
3557
|
+
type: 'data transfer.set'
|
|
3558
|
+
data: string
|
|
3559
|
+
dataTransfer: DataTransfer
|
|
3560
|
+
mimeType: MIMEType
|
|
3561
|
+
}
|
|
3562
|
+
| {
|
|
3563
|
+
type: 'decorator.add'
|
|
3564
|
+
decorator: string
|
|
3565
|
+
}
|
|
3566
|
+
| {
|
|
3567
|
+
type: 'decorator.remove'
|
|
3568
|
+
decorator: string
|
|
3569
|
+
}
|
|
967
3570
|
| {
|
|
968
3571
|
type: 'decorator.toggle'
|
|
969
3572
|
decorator: string
|
|
@@ -972,13 +3575,26 @@ export declare type SyntheticBehaviorEvent =
|
|
|
972
3575
|
type: 'delete.backward'
|
|
973
3576
|
unit: TextUnit
|
|
974
3577
|
}
|
|
3578
|
+
| {
|
|
3579
|
+
type: 'delete.block'
|
|
3580
|
+
blockPath: [KeyedSegment]
|
|
3581
|
+
}
|
|
975
3582
|
| {
|
|
976
3583
|
type: 'delete.forward'
|
|
977
3584
|
unit: TextUnit
|
|
978
3585
|
}
|
|
3586
|
+
| {
|
|
3587
|
+
type: 'delete.text'
|
|
3588
|
+
anchor: BlockOffset
|
|
3589
|
+
focus: BlockOffset
|
|
3590
|
+
}
|
|
979
3591
|
| {
|
|
980
3592
|
type: 'focus'
|
|
981
3593
|
}
|
|
3594
|
+
| {
|
|
3595
|
+
type: 'insert.blocks'
|
|
3596
|
+
blocks: Array<PortableTextBlock>
|
|
3597
|
+
}
|
|
982
3598
|
| {
|
|
983
3599
|
type: 'insert.block object'
|
|
984
3600
|
placement: 'auto' | 'after' | 'before'
|
|
@@ -1004,22 +3620,97 @@ export declare type SyntheticBehaviorEvent =
|
|
|
1004
3620
|
| {
|
|
1005
3621
|
type: 'insert.soft break'
|
|
1006
3622
|
}
|
|
3623
|
+
| {
|
|
3624
|
+
type: 'insert.span'
|
|
3625
|
+
text: string
|
|
3626
|
+
annotations?: Array<{
|
|
3627
|
+
name: string
|
|
3628
|
+
value: {
|
|
3629
|
+
[prop: string]: unknown
|
|
3630
|
+
}
|
|
3631
|
+
}>
|
|
3632
|
+
decorators?: Array<string>
|
|
3633
|
+
}
|
|
1007
3634
|
| {
|
|
1008
3635
|
type: 'insert.text'
|
|
1009
3636
|
text: string
|
|
1010
3637
|
options?: TextInsertTextOptions
|
|
1011
3638
|
}
|
|
3639
|
+
| {
|
|
3640
|
+
type: 'insert.text block'
|
|
3641
|
+
placement: 'auto' | 'after' | 'before'
|
|
3642
|
+
textBlock?: {
|
|
3643
|
+
children?: PortableTextTextBlock['children']
|
|
3644
|
+
}
|
|
3645
|
+
}
|
|
3646
|
+
| {
|
|
3647
|
+
type: 'list item.add'
|
|
3648
|
+
listItem: string
|
|
3649
|
+
}
|
|
3650
|
+
| {
|
|
3651
|
+
type: 'list item.remove'
|
|
3652
|
+
listItem: string
|
|
3653
|
+
}
|
|
1012
3654
|
| {
|
|
1013
3655
|
type: 'list item.toggle'
|
|
1014
3656
|
listItem: string
|
|
1015
3657
|
}
|
|
3658
|
+
| {
|
|
3659
|
+
type: 'move.block'
|
|
3660
|
+
at: [KeyedSegment]
|
|
3661
|
+
to: [KeyedSegment]
|
|
3662
|
+
}
|
|
3663
|
+
| {
|
|
3664
|
+
type: 'move.block down'
|
|
3665
|
+
at: [KeyedSegment]
|
|
3666
|
+
}
|
|
3667
|
+
| {
|
|
3668
|
+
type: 'move.block up'
|
|
3669
|
+
at: [KeyedSegment]
|
|
3670
|
+
}
|
|
1016
3671
|
| {
|
|
1017
3672
|
type: 'select'
|
|
1018
3673
|
selection: EditorSelection
|
|
1019
3674
|
}
|
|
3675
|
+
| {
|
|
3676
|
+
type: 'select.previous block'
|
|
3677
|
+
}
|
|
3678
|
+
| {
|
|
3679
|
+
type: 'select.next block'
|
|
3680
|
+
}
|
|
3681
|
+
| {
|
|
3682
|
+
type: 'style.add'
|
|
3683
|
+
style: string
|
|
3684
|
+
}
|
|
3685
|
+
| {
|
|
3686
|
+
type: 'style.remove'
|
|
3687
|
+
style: string
|
|
3688
|
+
}
|
|
1020
3689
|
| {
|
|
1021
3690
|
type: 'style.toggle'
|
|
1022
3691
|
style: string
|
|
1023
3692
|
}
|
|
3693
|
+
| {
|
|
3694
|
+
type: 'text block.set'
|
|
3695
|
+
at: [KeyedSegment]
|
|
3696
|
+
level?: number
|
|
3697
|
+
listItem?: string
|
|
3698
|
+
style?: string
|
|
3699
|
+
}
|
|
3700
|
+
| {
|
|
3701
|
+
type: 'text block.unset'
|
|
3702
|
+
at: [KeyedSegment]
|
|
3703
|
+
props: Array<'level' | 'listItem' | 'style'>
|
|
3704
|
+
}
|
|
3705
|
+
| (PickFromUnion<
|
|
3706
|
+
ConverterEvent,
|
|
3707
|
+
'type',
|
|
3708
|
+
| 'deserialization.failure'
|
|
3709
|
+
| 'deserialization.success'
|
|
3710
|
+
| 'serialization.failure'
|
|
3711
|
+
| 'serialization.success'
|
|
3712
|
+
> & {
|
|
3713
|
+
dataTransfer: DataTransfer
|
|
3714
|
+
})
|
|
1024
3715
|
|
|
1025
3716
|
export {}
|