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.

9 lines (8 loc) 369 B
import { LexicalEditor } from 'lexical'; import { IEditorPluginConstructor } from "../../../types"; import { HorizontalRuleNode } from '../node/HorizontalRuleNode'; export interface HRPluginOptions { decorator: (node: HorizontalRuleNode, editor: LexicalEditor) => any; theme?: string; } export declare const HRPlugin: IEditorPluginConstructor<HRPluginOptions>;