Skip to content

Commit

Permalink
Docs (clipboard): Fix reference to outputTransformation event.
Browse files Browse the repository at this point in the history
  • Loading branch information
arkflpc committed Sep 26, 2023
1 parent aa00467 commit 99524c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ The default action is to:

1. {@link module:engine/model/model~Model#getSelectedContent Get the selected content} from the editor.
1. Prevent the default action of the native `copy` or `cut` event.
1. Fire {@link module:clipboard/clipboardpipeline~ClipboardPipeline#event:outputTransformation `view.Document#outputTransformation`}` with a selected content represented by a {@link module:engine/model/documentfragment~DocumentFragment model document fragment}.
1. Fire {@link module:clipboard/clipboardpipeline~ClipboardPipeline#event:outputTransformation `clipboard.ClipboardPipeline#outputTransformation`}` with a selected content represented by a {@link module:engine/model/documentfragment~DocumentFragment model document fragment}.

### 2. On {@link module:clipboard/clipboardpipeline~ClipboardPipeline#event:outputTransformation `view.Document#outputTransformation`}
### 2. On {@link module:clipboard/clipboardpipeline~ClipboardPipeline#event:outputTransformation `clipboard.ClipboardPipeline#outputTransformation`}

The default action is to:

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 @@ -478,7 +478,7 @@ export interface ViewDocumentClipboardOutputEventData {
*
* It is a part of the {@glink framework/deep-dive/clipboard#output-pipeline clipboard output pipeline}.
*
* @eventName ~ClipboardPipeline##outputTransformation
* @eventName ~ClipboardPipeline#outputTransformation
* @param data The event data.
*/
export type ClipboardOutputTransformationEvent = {
Expand Down

0 comments on commit 99524c4

Please sign in to comment.