@univerjs/find-replace provides shared find and replace services and UI infrastructure that product-specific packages can extend.
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|---|---|---|---|---|---|
@univerjs/find-replace |
UniverFindReplace |
Yes | Yes | No | No |
pnpm add @univerjs/find-replace
# or
npm install @univerjs/find-replaceStart with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
import '@univerjs/find-replace/lib/index.css';
import EnUS from '@univerjs/find-replace/locale/en-US';
import { UniverFindReplacePlugin } from '@univerjs/find-replace';
univer.registerPlugin(UniverFindReplacePlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.