@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) • 461 B
TypeScript
import type { EditorState } from 'lexical';
import { LexicalEditor, LexicalNode } from 'lexical';
export declare function $parseSerializedNodeImpl(serializedNode: any, editor: LexicalEditor, keepId?: boolean, state?: EditorState | null): LexicalNode;
export declare function $cloneNode(node: LexicalNode, editor: LexicalEditor): LexicalNode;
export declare function idToChar(id: string | number): string;
export declare function charToId(char: string): string;