@slesaad/veda-content-editor
Version:
VEDA Content Editor - A React-based MDX editor component
18 lines • 884 B
TypeScript
import { ElementNode, LexicalNode, NodeKey, SerializedElementNode, DOMConversionMap } from 'lexical';
export type SerializedScrollytellingNode = SerializedElementNode & {
type: 'scrollytelling';
version: 1;
};
export declare class ScrollytellingNode extends ElementNode {
static getType(): string;
static clone(node: ScrollytellingNode): ScrollytellingNode;
constructor(key?: NodeKey);
createDOM(): HTMLElement;
updateDOM(): boolean;
static importJSON(serializedNode: SerializedScrollytellingNode): ScrollytellingNode;
exportJSON(): SerializedScrollytellingNode;
static importDOM(): DOMConversionMap | null;
}
export declare function $createScrollytellingNode(): ScrollytellingNode;
export declare function $isScrollytellingNode(node: LexicalNode | null | undefined): node is ScrollytellingNode;
//# sourceMappingURL=ScrollytellingNode.d.ts.map