# utils/dom/getdatafromelement

module

<a id="functions">

## Functions

<a id="function-getDataFromElement">

### `getDataFromElement( el ) → string`

Gets data from a given source element.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/dom/getdatafromelement.ts#L16)

#### Parameters

* `el: HTMLElement`

  The element from which the data will be retrieved.

#### Returns

* `string`

  The data string.

---

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