# ViewDocumentDraggingEvent

typedef

Fired as a continuation of the [event-dragover](module_engine_view_document-ViewDocument.md#event-dragover) event.

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

This event carries a `dataTransfer` object which comes from the clipboard and whose content should be processed and inserted into the editor.

**Note**: This event is not available by default. To make it available, [`ClipboardObserver`](module_clipboard_clipboardobserver-ClipboardObserver.md) needs to be added to the [`ViewDocument`](module_engine_view_document-ViewDocument.md) by using the [`addObserver`](module_engine_view_view-EditingView.md#function-addObserver) method. This is usually done by the [`Clipboard`](module_clipboard_clipboard-Clipboard.md) plugin, but if for some reason it is not loaded, the observer must be added manually.

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

<a id="properties">

## Properties

<a id="member-args">

### `args: [ data: ViewDocumentDomEventData<DragEvent> & DraggingEventData ]`

<a id="member-name">

### `name: 'dragging'`

#### Value

`object`

## Fired by

* [ViewDocument#dragging](module_engine_view_document-ViewDocument.md#event-dragging)

---

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