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 (10 loc) 395 B
import { LexicalEditor, NodeKey } from 'lexical'; export declare const INSERT_LINK_COMMAND: import("lexical").LexicalCommand<{ title?: string | undefined; url?: string | undefined; }>; export declare const UPDATE_LINK_TEXT_COMMAND: import("lexical").LexicalCommand<{ key: NodeKey; text: string; }>; export declare function registerLinkCommand(editor: LexicalEditor): () => void;