From b1e0335d833b377e2edaab090d5bb327c7bfbb63 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 19 May 2024 11:34:34 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/11454 --- app/src/menus/commonMenuItem.ts | 6 +++--- app/src/protyle/render/av/blockAttr.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/menus/commonMenuItem.ts b/app/src/menus/commonMenuItem.ts index 566950938..25a0768fb 100644 --- a/app/src/menus/commonMenuItem.ts +++ b/app/src/menus/commonMenuItem.ts @@ -176,7 +176,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
- + `; } }); @@ -224,7 +224,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I ${notifyHTML} @@ -335,7 +335,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
- + `); const valueElement = target.parentElement.previousElementSibling.querySelector(".b3-text-field") as HTMLInputElement; valueElement.focus(); diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index cabcddb71..48b191103 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -56,7 +56,7 @@ export const genAVValueHTML = (value: IAVCellValue) => { html = `
${value.block.content}
`; break; case "text": - html = ``; + html = ``; break; case "number": html = ``;