Skip to content

Commit

Permalink
Added code docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
niegowski committed Jan 13, 2025
1 parent 374e94e commit e53d782
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions packages/ckeditor5-clipboard/src/clipboardobserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,13 @@ export interface ClipboardInputEventData {
targetRanges: Array<ViewRange> | 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;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-clipboard/src/clipboardpipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions packages/ckeditor5-paste-from-office/src/pastefromoffice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -67,7 +67,7 @@ export default class PasteFromOffice extends Plugin {
}

/**
* TODO
* Registers a normalizer with the given priority.
*/
public registerNormalizer(
normalizer: Normalizer,
Expand Down

0 comments on commit e53d782

Please sign in to comment.