# FindAndReplaceConfig

interface

The configuration of the find and replace feature. The option is used by the [`FindAndReplace`](module_find-and-replace_findandreplace-FindAndReplace.md) feature.

```typescript
ClassicEditor
  .create( {
	findAndReplace: ... // Find and replace feature config.
  } )
  .then( ... )
  .catch( ... );
```

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

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-find-and-replace/src/findandreplaceconfig.ts#L25)

<a id="properties">

## Properties

<a id="member-uiType">

### `uiType?: 'dialog' | 'dropdown'`

The type of the find and replace UI opened by the `'findAndReplace'` button registered in the editor's [component factory](module_ui_componentfactory-ComponentFactory.md)

The default value is `'dialog'`.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-find-and-replace/src/findandreplaceconfig.ts#L33)

---

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