---
title: "Vue 3 Editor Find and Replace"
description: "Turn on the find-replace plugin in the Vue 3 editor to search content, step through matches, and replace one or all without adding highlight markup."
head:
- - meta
- name: robots
content: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1'
- - meta
- name: googlebot
content: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1'
- - meta
- name: bingbot
content: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1'
---
Are you an LLM? You can read better optimized documentation at https://raw.githubusercontent.com/eramitgupta/erag/main/text-editor-vue/docs/find-and-replace.md
# Find and replace in the Vue 3 editor
Enable the `find-replace` plugin and the Vue 3 editor gets a dialog for searching and replacing text in the current document. Replacements are ordinary edits, so the updated HTML flows back through your `v-model` binding.
---
## Configuration
Enable the `find-replace` plugin:
```ts
const editorConfig: EditorInit = {
plugins: ['find-replace'],
menubar: ['edit'],
toolbar: 'undo redo | bold italic | removeformat',
};
```
Inside a single-file component it looks like this:
```vue
```
The [configuration reference](./configuration.html#plugins) explains how an explicit `plugins` array filters the other controls.
---
## Interactive Find and Replace Dialog
Navigate to **Edit → Find and replace** or press `Ctrl+F` / `Cmd+F` while the editor is focused to open the dialog. `find-replace` is a plugin and menu action; it is not a toolbar keyword.
1. **Find Input**: Enter search term.
2. **Replace With Input**: Enter replacement string.
3. **Match Case Checkbox**: Toggle case-sensitive matching.
4. **Whole Word Checkbox**: Exclude partial-word matches.
5. **Find Next / Previous**: Step through matching occurrences in the document canvas.
6. **Replace**: Replaces the current occurrence.
7. **Replace All**: Replaces all matching occurrences and updates the document.
Previous and Next use the browser selection to show the active match. The editor does not insert permanent highlight spans into the saved HTML.
The shortcut also appears in the [keyboard shortcut table](./editing-experience.html#keyboard-shortcuts). Dividers and timestamps are switched on the same way, as shown in [horizontal rules and date-time](./horizontal-rules-and-datetime.html).