@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) • 439 B
TypeScript
import { LexicalEditor } from 'lexical';
export declare enum DiffAction {
Reject = 0,
Accept = 1
}
export declare const LITEXML_DIFFNODE_COMMAND: import("lexical").LexicalCommand<{
action: DiffAction;
nodeKey: string;
}>;
export declare const LITEXML_DIFFNODE_ALL_COMMAND: import("lexical").LexicalCommand<{
action: DiffAction;
}>;
export declare function registerLiteXMLDiffCommand(editor: LexicalEditor): () => void;