瀏覽代碼

:art: fix https://github.com/siyuan-note/siyuan/issues/10067

Vanessa 1 年之前
父節點
當前提交
3abdf13773
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/protyle/render/av/cell.ts

+ 1 - 1
app/src/protyle/render/av/cell.ts

@@ -520,7 +520,7 @@ export const renderCell = (cellValue: IAVCellValue, wrap: boolean) => {
             text = `<span class="av__celltext">${cellValue.block.content || ""}</span>
 <span class="b3-chip b3-chip--info b3-chip--small" data-type="block-more">${window.siyuan.languages.more}</span>`;
         } else {
-            text = `<span data-type="block-ref" data-id="${cellValue.block.id}" data-subtype="s" class="av__celltext av__celltext--ref">${cellValue.block.content || ""}</span>
+            text = `<span data-type="block-ref" data-id="${cellValue.block.id}" data-subtype="s" class="av__celltext av__celltext--ref">${cellValue.block.content || "Untitled"}</span>
 <span class="b3-chip b3-chip--info b3-chip--small popover__block" data-id="${cellValue.block.id}" data-type="block-more">${window.siyuan.languages.update}</span>`;
         }
     } else if (cellValue.type === "number") {