From 868758a9f71b84ec6ffa52fd3f346f53abc46555 Mon Sep 17 00:00:00 2001 From: zhangqianling Date: Mon, 8 Jul 2024 11:14:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DonCloneNode=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E7=AD=89=E5=BE=85=E7=94=A8=E6=88=B7=E5=A4=84=E7=90=86?= =?UTF-8?q?=E7=BB=93=E6=9D=9F=E5=AF=BC=E8=87=B4=E5=9C=A8=E5=9B=9E=E8=B0=83?= =?UTF-8?q?=E4=B8=AD=E5=A4=84=E7=90=86=E6=A0=B7=E5=BC=8F=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/converts/dom-to-foreign-object-svg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/converts/dom-to-foreign-object-svg.ts b/src/converts/dom-to-foreign-object-svg.ts index 79958cd..8ae76bb 100644 --- a/src/converts/dom-to-foreign-object-svg.ts +++ b/src/converts/dom-to-foreign-object-svg.ts @@ -45,7 +45,7 @@ export async function domToForeignObjectSvg(node: any, options?: any) { } log.timeEnd('clone node') - onCloneNode?.(clone) + await onCloneNode?.(clone) if (font !== false && isElementNode(clone)) { log.time('embed web font')