fix: update TextQuerySelector cache on subtree update (#11200)

This commit is contained in:
Donnatello 2023-10-19 09:58:40 +00:00 committed by GitHub
parent 6d2f4ac3e2
commit 4206e76c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,6 +146,7 @@ export const createTextContent = (root: Node): TextContent => {
textChangeObserver.observe(root, {
childList: true,
characterData: true,
subtree: true,
});
observedNodes.add(root);
}