# ClipboardContentInsertionEvent

typedef

Fired with the `content`, `dataTransfer`, `method`, and `targetRanges` properties:

* The `content` which comes from the clipboard (was pasted or dropped) should be processed in order to be inserted into the editor.
* The `dataTransfer` object is available in case the transformation functions need access to the raw clipboard data.
* The `method` indicates the original DOM event (for example `'drop'` or `'paste'`).
* The `targetRanges` property is an array of view ranges (it is available only for `'drop'`).

Event handlers can modify the content according to the final insertion position.

It is a part of the [clipboard input pipeline](../framework/deep-dive/clipboard.md#input-pipeline).

**Note**: You should not stop this event if you want to change the input data. You should modify the `content` property instead.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-clipboard/src/clipboardpipeline.ts#L419)

<a id="properties">

## Properties

<a id="member-args">

### `args: [ data: ClipboardContentInsertionData ]`

<a id="member-name">

### `name: 'contentInsertion'`

#### Value

`object`

## Fired by

* [ClipboardPipeline#contentInsertion](module_clipboard_clipboardpipeline-ClipboardPipeline.md#event-contentInsertion)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
