mirror of
https://github.com/facebook/lexical.git
synced 2025-05-17 15:18:47 +08:00
[lexical] Chore: Update internalMarkNodeAsDirty TODO comment (#7457)
Co-authored-by: Bob Ippolito <bob@redivi.com>
This commit is contained in:
@ -408,7 +408,6 @@ export function internalMarkNodeAsDirty(node: LexicalNode): void {
|
||||
if ($isElementNode(node)) {
|
||||
dirtyElements.set(key, true);
|
||||
} else {
|
||||
// TODO split internally MarkNodeAsDirty into two dedicated Element/leave functions
|
||||
editor._dirtyLeaves.add(key);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user