Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

1.5 KB
Raw Blame

@univerjs/find-replace

npm version license downloads

@univerjs/find-replace provides shared find and replace services and UI infrastructure that product-specific packages can extend.

Package Overview

Package UMD global CSS Locales Facade entry Worker entry
@univerjs/find-replace UniverFindReplace Yes Yes No No

Installation

pnpm add @univerjs/find-replace
# or
npm install @univerjs/find-replace

Usage

Start 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.

Resources