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: https://github.com/siyuan-note/siyuan/issues/13892
Vanessae40fe2f8b831
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex e74def78e6..c339a34ad2 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -12,7 +12,7 @@ import {getColIconByType} from "./col";import {genAVValueHTML} from "./blockAttr";import {Constants} from "../../../constants";import {hintRef} from "../../hint/extend";-import {pathPosix} from "../../../util/pathName";+import {getAssetName, pathPosix} from "../../../util/pathName";import {mergeAddOption} from "./select";import {escapeAttr, escapeHtml} from "../../../util/escape";import {electronUndo} from "../../undo";@@ -631,6 +631,11 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, valet link = protyle.lute.GetLinkDest(value);let name = "";let imgSrc = "";+ // https://github.com/siyuan-note/siyuan/issues/13892+ if (!link && value.startsWith("assets/")) {+ link = value;+ name = getAssetName(value) + pathPosix().extname(value);+ }if (html) {const tempElement = document.createElement("template");tempElement.innerHTML = html;