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.

7 lines (6 loc) 279 B
import { LexicalEditor } from 'lexical'; export declare const INSERT_MENTION_COMMAND: import("lexical").LexicalCommand<{ label: string; metadata?: Record<string, unknown> | undefined; }>; export declare function registerMentionCommand(editor: LexicalEditor): () => void;