[lexical] Chore: Update internalMarkNodeAsDirty TODO comment (#7457)

Co-authored-by: Bob Ippolito <bob@redivi.com>
This commit is contained in:
Kiran Dash
2025-04-12 04:25:50 +08:00
committed by GitHub
parent d5f15fca27
commit 5f5181b146

View File

@ -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);
}
}