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/10414
Vanessaf2c1c8e0adb1
diff --git a/app/src/protyle/render/av/gallery/util.ts b/app/src/protyle/render/av/gallery/util.tsindex 63477c80a0..52da7eaffe 100644--- a/app/src/protyle/render/av/gallery/util.ts+++ b/app/src/protyle/render/av/gallery/util.ts@@ -58,7 +58,7 @@ export const setGalleryCover = (options: {if (item.type === "mAsset") {menu.addItem({iconHTML: "",- checked: options.view.coverFromAssetKeyID === item.id,+ checked: options.view.coverFrom === 2 && options.view.coverFromAssetKeyID === item.id,label: item.name,click() {transaction(options.protyle, [{@@ -180,12 +180,6 @@ export const openGalleryItemMenu = (options: {}) => {const menu = new Menu();const avID = options.blockElement.getAttribute("data-av-id");- menu.addItem({- icon: "iconCopy",- label: window.siyuan.languages.duplicate,- click() {- }- });menu.addItem({icon: "iconTrashcan",warning: true,@@ -213,12 +207,12 @@ export const openGalleryItemMenu = (options: {content: blockValue.block.content}],blockID: options.blockElement.dataset.nodeId- },{+ }, {action: "doUpdateUpdated",id: options.blockElement.dataset.nodeId,data: options.blockElement.getAttribute("updated")}]);- cardElement.remove()+ cardElement.remove();options.blockElement.setAttribute("updated", newUpdated);}}