@univerjs-pro/shape-editor-ui
本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。
Reusable shape editing panels, floating toolbars, shape-text hyperlink UI, and SmartArt layout, color, quick-style, and text-pane controls for Web SDK.
TypeScript
import { ShapeEditPanel } from '@univerjs-pro/shape-editor-ui'import enUS from '@univerjs-pro/shape-editor-ui/locale/en-US'Entry Points
- Locale:
@univerjs-pro/shape-editor-ui/locale/*
Mobile Shape Editor
MobileShapeEditorService exposes the active mobile editing state through state$ and getState(). Use open(mode, shapeRef) with the text, formula, or style mode, and call close() when the panel is dismissed.
The root entry also exports IMobileShapeEditorState and MobileShapeEditorMode.
你觉得这篇文档如何?