mirror of
https://github.com/facebook/lexical.git
synced 2025-06-02 01:50:16 +08:00
Fix memory leak with EditorContext (#1767)
* Fix memory leak with EditorContext * Fix flow * Fix prettier
This commit is contained in:
@ -12,7 +12,7 @@ declare export class OverflowNode extends ElementNode {
|
||||
static getType(): string;
|
||||
static clone(node: OverflowNode): OverflowNode;
|
||||
constructor(key?: NodeKey): void;
|
||||
createDOM<EditorContext>(config: EditorConfig<EditorContext>): HTMLElement;
|
||||
createDOM(config: EditorConfig): HTMLElement;
|
||||
updateDOM(prevNode: OverflowNode, dom: HTMLElement): boolean;
|
||||
insertNewAfter(selection: RangeSelection): null | LexicalNode;
|
||||
excludeFromCopy(): boolean;
|
||||
|
Reference in New Issue
Block a user