Skip to content

Latest commit

 

History

History

find-replace

README.md

@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