diff --git a/packages/ckeditor5-clipboard/src/clipboardobserver.ts b/packages/ckeditor5-clipboard/src/clipboardobserver.ts index 9a769856998..5aa427e543b 100644 --- a/packages/ckeditor5-clipboard/src/clipboardobserver.ts +++ b/packages/ckeditor5-clipboard/src/clipboardobserver.ts @@ -185,12 +185,13 @@ export interface ClipboardInputEventData { targetRanges: Array | null; /** - * The content of clipboard input. + * The content of clipboard input. Defaults to `text/html`. Falls-back to `text/plain`. */ content: string | ViewDocumentFragment; /** - * TODO + * Custom data stored by the `clipboardInput` event handlers. Custom properties of this object can be defined and use to + * pass parameters between listeners. Content of this property is passed to the `inputTransformation` event. */ extraContent?: unknown; } diff --git a/packages/ckeditor5-clipboard/src/clipboardpipeline.ts b/packages/ckeditor5-clipboard/src/clipboardpipeline.ts index e88ccb04dc8..f20660bf9c5 100644 --- a/packages/ckeditor5-clipboard/src/clipboardpipeline.ts +++ b/packages/ckeditor5-clipboard/src/clipboardpipeline.ts @@ -363,7 +363,7 @@ export interface ClipboardInputTransformationData { content: ViewDocumentFragment; /** - * TODO + * Custom data stored by the `clipboardInput` event handlers. Content of this property is passed from the `clipboardInput` event. */ extraContent?: unknown; diff --git a/packages/ckeditor5-paste-from-office/src/pastefromoffice.ts b/packages/ckeditor5-paste-from-office/src/pastefromoffice.ts index 054abdd26af..736f423ea67 100644 --- a/packages/ckeditor5-paste-from-office/src/pastefromoffice.ts +++ b/packages/ckeditor5-paste-from-office/src/pastefromoffice.ts @@ -38,7 +38,7 @@ import type { Normalizer } from './normalizer.js'; */ export default class PasteFromOffice extends Plugin { /** - * TODO + * The priority array of registered normalizers. */ private _normalizers = [] as Array<{ normalizer: Normalizer; @@ -67,7 +67,7 @@ export default class PasteFromOffice extends Plugin { } /** - * TODO + * Registers a normalizer with the given priority. */ public registerNormalizer( normalizer: Normalizer,