check is svg when serialization

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 544ef0b3a3
commit e9786e7596
3 changed files with 9 additions and 100 deletions

View File

@@ -27,6 +27,7 @@ export type elementNode = {
tagName: string;
attributes: attributes;
childNodes: serializedNodeWithId[];
isSVG?: true;
};
export type textNode = {