From 803069d8071240447567a233c5ad104bb5962511 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 9 Oct 2023 17:18:17 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/9370 --- app/src/menus/commonMenuItem.ts | 2 +- app/src/protyle/render/av/blockAttr.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/menus/commonMenuItem.ts b/app/src/menus/commonMenuItem.ts index f83f9c2591a..e7ec9dd46dc 100644 --- a/app/src/menus/commonMenuItem.ts +++ b/app/src/menus/commonMenuItem.ts @@ -225,7 +225,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I ${notifyHTML} -
+
${customHTML}
diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index bec5f4c2ef0..8138658d808 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -76,7 +76,7 @@ export const renderAVAttribute = (element: HTMLElement, id: string, protyle?: IP avID: string avName: string }) => { - html += ``; }); + html += "
"; }); element.innerHTML = html; element.addEventListener("click", (event) => {