
- **用法**
- 属性

import { useBlockNote } from "@blocknote/react";
import { BlockEditor } from "@/ui/input/editor/components/BlockEditor";
export const MyComponent = () => {
const BlockNoteEditor = useBlockNote();
return <BlockEditor editor={BlockNoteEditor} />;
};
| 属性 | 类型 | 描述 |
|---|---|---|
| 编辑器 | BlockNoteEditor | 区块编辑器实例或配置 |