# PasteFromOfficeNormalizer

interface

Interface defining a content transformation pasted from an external editor.

Normalizers are registered by the [`PasteFromOffice`](module_paste-from-office_pastefromoffice-PasteFromOffice.md) plugin and run on [inputTransformation event](module_clipboard_clipboardpipeline-ClipboardPipeline.md#event-inputTransformation). They detect environment-specific quirks and transform it into a form compatible with other CKEditor features.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-paste-from-office/src/normalizer.ts#L19)

<a id="methods">

## Methods

<a id="function-execute">

### `execute( data ) → void`

Executes the normalization of a given data.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-paste-from-office/src/normalizer.ts#L29)

#### Parameters

* `data: ClipboardInputTransformationData`

#### Returns

* `void`

<a id="function-isActive">

### `isActive( htmlString ) → boolean`

Must return `true` if the `htmlString` contains content which this normalizer can transform.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-paste-from-office/src/normalizer.ts#L24)

#### Parameters

* `htmlString: string`

#### Returns

* `boolean`

---

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