snapshot and rebuild shadow DOM

https://github.com/rrweb-io/rrweb/issues/38
This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent af000d4a7a
commit 105268f472
8 changed files with 717 additions and 16 deletions

View File

@@ -56,6 +56,8 @@ export type serializedNode = (
| commentNode
) & {
rootId?: number;
isShadowHost?: boolean;
isShadow?: boolean;
};
export type serializedNodeWithId = serializedNode & { id: number };