# clipboard/utils/normalizeclipboarddata

module

<a id="functions">

## Functions

<a id="function-normalizeClipboardData">

### `normalizeClipboardData( data ) → string` _(internal)_

Removes some popular browser quirks out of the clipboard data (HTML). Removes all HTML comments. These are considered an internal thing and it makes little sense if they leak into the editor data.

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

#### Parameters

* `data: string`

  The HTML data to normalize.

#### Returns

* `string`

  Normalized HTML.

---

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