Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/9285

Vanessaaa0797494722
diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts
index 226f699f6a..0953116511 100644
--- a/app/src/protyle/render/av/blockAttr.ts
+++ b/app/src/protyle/render/av/blockAttr.ts
@@ -90,7 +90,7 @@ export const renderAVAttribute = (element: HTMLElement, id: string, protyle?: IP
</div>`;
table.keyValues?.forEach(item => {
html += `<div class="block__icons" data-id="${id}">
- <div class="block__logo">
+ <div class="block__logo popover__block">
<svg><use xlink:href="#${getColIconByType(item.key.type)}"></use></svg>
<span>${item.key.name}</span>
</div>
diff --git a/app/src/protyle/render/av/date.ts b/app/src/protyle/render/av/date.ts
index d3b807d95c..121084ea3f 100644
--- a/app/src/protyle/render/av/date.ts
+++ b/app/src/protyle/render/av/date.ts
@@ -33,6 +33,7 @@ export const getDateHTML = (data: IAVTable, cellElements: HTMLElement[]) => {
if (cellValue?.value?.date?.isNotEmpty2) {
value2 = dayjs(cellValue.value.date.content2).format(cellValue.value.date.isNotTime ? "YYYY-MM-DD" : "YYYY-MM-DD HH:mm");
}
+ const isNotTime = !cellValue || cellValue?.value?.date?.isNotTime;
return `<div class="b3-menu__items">
<div>
<input type="${(!cellValue || cellValue?.value?.date?.isNotTime) ? "date" : "datetime-local"}" max="9999-12-31 23:59" value="${value}" data-value="${value ? dayjs(cellValue.value.date.content).format("YYYY-MM-DD HH:mm") : ""}" class="b3-text-field fn__size200"><br>