An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: database
Vanessa9468e5b0389b
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.tsindex 65eef4f8d0..ea0367d222 100644--- a/app/src/protyle/render/av/col.ts+++ b/app/src/protyle/render/av/col.ts@@ -353,7 +353,7 @@ export const addAttrViewColAnimation = (options: {}let html = "";if (index === 0) {- html = `<div class="av__cell" data-col-id="${options.id}" data-dtype="${options.type}" style="width: 200px;white-space: nowrap;">+ html = `<div class="av__cell" data-icon="${options.icon || ""}" data-col-id="${options.id}" data-dtype="${options.type}" style="width: 200px;white-space: nowrap;"><div draggable="true" class="av__cellheader">${options.icon ? unicode2Emoji(options.icon, "av__cellicon", true) : `<svg class="av__cellicon"><use xlink:href="#${getColIconByType(options.type)}"></use></svg>`}<span class="av__celltext">${options.name}</span>@@ -400,7 +400,7 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemenlabel: `<input style="margin: 4px 0" class="b3-text-field" type="text" value="${oldValue}">`,bind(element) {const iconElement = element.querySelector(".block__icon") as HTMLElement;- iconElement.setAttribute("data-icon", iconElement.dataset.icon);+ iconElement.setAttribute("data-icon", cellElement.dataset.icon);iconElement.addEventListener("click", (event) => {const rect = iconElement.getBoundingClientRect();openEmojiPanel("", "av", {