@univerjs/docs-ui v0.5.0-beta.1Docs


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

submodules/univer/packages/docs-ui/src/components/editor/TextEditor.tsx:94