An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipstick: https://github.com/siyuan-note/siyuan/issues/13311
Vanessa2e2e2f331b70
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.tsindex 9b413e19f7..e5743b9e5b 100644--- a/app/src/menus/protyle.ts+++ b/app/src/menus/protyle.ts@@ -1835,7 +1835,7 @@ const genImageHeightMenu = (label: string, imgElement: HTMLElement, protyle: IPrclick() {nodeElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));imgElement.style.height = label === window.siyuan.languages.default ? "" : parseInt(label) + "vh";- imgElement.style.width = "";+ imgElement.parentElement.style.width = "";updateTransaction(protyle, id, nodeElement.outerHTML, html);focusBlock(nodeElement);}diff --git a/app/src/protyle/header/Background.ts b/app/src/protyle/header/Background.tsindex 74ebc7c9ab..acb68d51f1 100644--- a/app/src/protyle/header/Background.ts+++ b/app/src/protyle/header/Background.ts@@ -444,6 +444,9 @@ export class Background {let html = "";const colors = ["secondary", "primary", "info", "success", "warning", "error", "pink"];tags.split(",").forEach((item, index) => {+ if (!item) {+ return;+ }html += `<div class="b3-chip b3-chip--middle b3-chip--pointer b3-chip--${colors[index % 7]}" data-type="open-search">${escapeHtml(item)}<svg class="b3-chip__close" data-type="remove-tag"><use xlink:href="#iconCloseRound"></use></svg></div>`;});this.tagsElement.innerHTML = `${html}