Skip to content

Commit e53d782

Browse files
committed
Added code docs.
1 parent 374e94e commit e53d782

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

packages/ckeditor5-clipboard/src/clipboardobserver.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,13 @@ export interface ClipboardInputEventData {
185185
targetRanges: Array<ViewRange> | null;
186186

187187
/**
188-
* The content of clipboard input.
188+
* The content of clipboard input. Defaults to `text/html`. Falls-back to `text/plain`.
189189
*/
190190
content: string | ViewDocumentFragment;
191191

192192
/**
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.
194195
*/
195196
extraContent?: unknown;
196197
}

packages/ckeditor5-clipboard/src/clipboardpipeline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export interface ClipboardInputTransformationData {
363363
content: ViewDocumentFragment;
364364

365365
/**
366-
* TODO
366+
* Custom data stored by the `clipboardInput` event handlers. Content of this property is passed from the `clipboardInput` event.
367367
*/
368368
extraContent?: unknown;
369369

packages/ckeditor5-paste-from-office/src/pastefromoffice.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import type { Normalizer } from './normalizer.js';
3838
*/
3939
export default class PasteFromOffice extends Plugin {
4040
/**
41-
* TODO
41+
* The priority array of registered normalizers.
4242
*/
4343
private _normalizers = [] as Array<{
4444
normalizer: Normalizer;
@@ -67,7 +67,7 @@ export default class PasteFromOffice extends Plugin {
6767
}
6868

6969
/**
70-
* TODO
70+
* Registers a normalizer with the given priority.
7171
*/
7272
public registerNormalizer(
7373
normalizer: Normalizer,

0 commit comments

Comments
 (0)