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/11757
Vanessa22b0bd2e908c
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.tsindex a7fb802035..0c3f3c87f3 100644--- a/app/src/menus/protyle.ts+++ b/app/src/menus/protyle.ts@@ -1464,11 +1464,11 @@ const genImageWidthMenu = (label: string, assetElement: HTMLElement, imgElement:click() {nodeElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));if (label === window.siyuan.languages.default) {- const isCenter = assetElement.style.display === "block";+ const isCenter = assetElement.style.display === "block" || assetElement.style.minWidth;assetElement.removeAttribute("style");imgElement.removeAttribute("style");if (isCenter) {- assetElement.style.display = "block";+ assetElement.style.minWidth = "calc(100% - 0.1em)";}} else {assetElement.style.width = label;