API Reference
@univerjs
@univerjs/docs-ui
functions
Texteditor

@univerjs/docs-ui v0.3.0Docs


Function: TextEditor()

function TextEditor(props): JSX.Element | null

The component to render toolbar item label and menu item label.

Parameters

ParameterType
propsITextEditorProps & Omit<MyComponentProps, "onChange" | "onActive">

Returns

JSX.Element | null

Deprecated

The business side encapsulates its own Editor component.

Defined in

packages/docs-ui/src/components/editor/TextEditor.tsx:93 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.