# ImportWordConfig

interface

The configuration of the [import from Word feature](module_import-word_importword-ImportWord.md).

The configuration for the import from Word feature requires providing the [`config.importWord.tokenUrl`](#member-tokenUrl):

```typescript
ClassicEditor
	.create( {
		importWord: {
			tokenUrl: 'https://example.com/cs-token-endpoint'
		}
	} )
	.then( ... )
	.catch( ... );
```

See [all editor options](module_core_editor_editorconfig-EditorConfig.md).

<a id="properties">

## Properties

<a id="member-converterUrl">

### `converterUrl?: string`

A URL to the Docx converter.

```typescript
const importWordConfig = {
	converterUrl: 'https://myconverter.com/v1/'
}
```

**Note:** The plugin uses the default Word to HTML converter delivered by CKEditor Cloud Services. You can provide a URL to an on-premises converter instead.

Defaults to `'https://docx-converter.cke-cs.com/v2/convert/docx-html'`

<a id="member-formatting">

### `formatting: ImportWordFormattingOptions`

<a id="member-tokenUrl">

### `tokenUrl?: TokenUrl`

A token URL or a token request function. This field is optional and should be used only when a different `tokenUrl` is required for the Import from Word feature.

**Note:** The token can be disabled with the `false` value provided.

See: [`tokenUrl`](module_cloud-services_cloudservicesconfig-CloudServicesConfig.md#member-tokenUrl)

---

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