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.

14 lines (13 loc) 416 B
import { IEditorPluginConstructor } from "../../../types"; export interface CodeblockPluginOptions { /** Shiki theme name to use for syntax highlighting */ shikiTheme?: string | { dark: string; light: string; }; /** Custom CSS theme configuration */ theme?: { code?: string; }; } export declare const CodeblockPlugin: IEditorPluginConstructor<CodeblockPluginOptions>;