Find & Replace
The Find & Replace plugin (find-replace) provides in-document text search and batch replacement tools.
Configuration
Enable the find-replace plugin:
ts
const editorConfig: EditorInit = {
plugins: ['find-replace'],
menubar: ['edit'],
toolbar: 'undo redo | bold italic | removeformat',
};Interactive Find & 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.
- Find Input: Enter search term.
- Replace With Input: Enter replacement string.
- Match Case Checkbox: Toggle case-sensitive matching.
- Whole Word Checkbox: Exclude partial-word matches.
- Find Next / Previous: Step through matching occurrences in the document canvas.
- Replace: Replaces the current occurrence.
- 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.