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.

16 lines (15 loc) 454 B
import type { IEditorPluginConstructor } from "../../../types"; export interface LinkHighlightPluginOptions { enableHotkey?: boolean; /** * Enable auto-highlight when pasting URLs * @default true */ enablePasteAutoHighlight?: boolean; theme?: string; /** * Custom URL validation regex */ urlRegex?: RegExp; } export declare const LinkHighlightPlugin: IEditorPluginConstructor<LinkHighlightPluginOptions>;