Zen Editor
📊 Univer Sheet
The Zen Editor plugin provides an immersive cell editing experience. Through Zen Editor, you can easily edit text, images, links, and other content in cells in the form of a document editor.
Installation
pnpm add @univerjs/sheets-zen-editor
Import
import '@univerjs/sheets-zen-editor/lib/index.css';
import { UniverSheetsZenEditorPlugin } from '@univerjs/sheets-zen-editor';
Internationalization
import { LocaleType, Tools } from '@univerjs/core';
import SheetsZenEditorEnUS from '@univerjs/sheets-zen-editor/locale/en-US';
const univer = new Univer({
theme: defaultTheme,
locale: LocaleType.EN_US,
locales: {
[LocaleType.EN_US]: Tools.deepMerge(
SheetsZenEditorEnUS
),
},
});
Register
univer.registerPlugin(UniverSheetsZenEditorPlugin);