File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
ckeditor5-paste-from-office/src Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -185,12 +185,13 @@ export interface ClipboardInputEventData {
185
185
targetRanges : Array < ViewRange > | null ;
186
186
187
187
/**
188
- * The content of clipboard input.
188
+ * The content of clipboard input. Defaults to `text/html`. Falls-back to `text/plain`.
189
189
*/
190
190
content : string | ViewDocumentFragment ;
191
191
192
192
/**
193
- * TODO
193
+ * Custom data stored by the `clipboardInput` event handlers. Custom properties of this object can be defined and use to
194
+ * pass parameters between listeners. Content of this property is passed to the `inputTransformation` event.
194
195
*/
195
196
extraContent ?: unknown ;
196
197
}
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ export interface ClipboardInputTransformationData {
363
363
content : ViewDocumentFragment ;
364
364
365
365
/**
366
- * TODO
366
+ * Custom data stored by the `clipboardInput` event handlers. Content of this property is passed from the `clipboardInput` event.
367
367
*/
368
368
extraContent ?: unknown ;
369
369
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ import type { Normalizer } from './normalizer.js';
38
38
*/
39
39
export default class PasteFromOffice extends Plugin {
40
40
/**
41
- * TODO
41
+ * The priority array of registered normalizers.
42
42
*/
43
43
private _normalizers = [ ] as Array < {
44
44
normalizer : Normalizer ;
@@ -67,7 +67,7 @@ export default class PasteFromOffice extends Plugin {
67
67
}
68
68
69
69
/**
70
- * TODO
70
+ * Registers a normalizer with the given priority.
71
71
*/
72
72
public registerNormalizer (
73
73
normalizer : Normalizer ,
You can’t perform that action at this time.
0 commit comments