Skip to content

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

PropTypeDescriptionDefault
searchTermstringSearch Term''
replaceTermstringReplace Term''
searchResultClassstringSearch Result Class'search-result'
searchResultCurrentClassstringSearch Result Current Class'search-result-current'
caseSensitivebooleanCase Sensitivefalse
disableRegexbooleanDisable Regexfalse
onChange() => voidOn Changeundefined

Source

SourceDocs

Contributors

Changelog

v0.0.11 on 8/19/2024
db3ef - feat: search and replace text

Made with ❤️