UNPKG

@lobehub/editor

Version:

A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.

11 lines 378 B
import { useEditor } from "../hooks/useEditor"; import { useEditorState } from "../hooks/useEditorState"; import EditorParent from "./Editor"; import { withProps } from "./utils"; var Editor = EditorParent; Editor.useEditor = useEditor; Editor.useEditorState = useEditorState; Editor.withProps = withProps; export default Editor; export * from "./type"; export * from "./utils";