@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) • 312 B
TypeScript
import { LexicalEditor } from 'lexical';
import { IEditorKernel } from "../../../types";
export interface LinkHighlightRegistryOptions {
enableHotkey?: boolean;
}
export declare function registerLinkHighlight(editor: LexicalEditor, kernel: IEditorKernel, options?: LinkHighlightRegistryOptions): () => void;