check is svg when serialization

This commit is contained in:
Yanzhen Yu
2018-11-13 16:09:57 +08:00
parent cb3c842a12
commit 8157b38f99
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 = {