Search And Replace
- Search and Replace Extension for Tiptap Editor.
Usage
tsx
import { SearchAndReplace } from 'reactjs-tiptap-editor';
const extensions = [
...,
// Import Extensions Here
SearchAndReplace,
];
Props
Prop | Type | Description | Default |
---|---|---|---|
searchTerm | string | Search Term | '' |
replaceTerm | string | Replace Term | '' |
searchResultClass | string | Search Result Class | 'search-result' |
searchResultCurrentClass | string | Search Result Current Class | 'search-result-current' |
caseSensitive | boolean | Case Sensitive | false |
disableRegex | boolean | Disable Regex | false |
onChange | () => void | On Change | undefined |