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