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/15209
Vanessaaf34ac7af75f
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 5320c46502..8a067d41c1 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -1970,6 +1970,9 @@ export class WYSIWYG {}const avGalleryItemElement = hasClosestByClassName(target, "av__gallery-item");if (avGalleryItemElement) {+ if (protyle.disabled) {+ return false;+ }const menu = openGalleryItemMenu({target: avGalleryItemElement.querySelector(".protyle-icon--last"),blockElement: nodeElement,@@ -1982,7 +1985,7 @@ export class WYSIWYG {});event.stopPropagation();event.preventDefault();- return;+ return false;}const avCellElement = hasClosestByClassName(target, "av__cell");if (avCellElement) {