Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/15210

Vanessa601976f06815
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index bf8d0df021..631180bf63 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -1970,9 +1970,6 @@ export class WYSIWYG {
}
const avGalleryItemElement = hasClosestByClassName(target, "av__gallery-item");
if (avGalleryItemElement) {
- if (protyle.disabled) {
- return false;
- }
openGalleryItemMenu({
target: avGalleryItemElement.querySelector(".protyle-icon--last"),
protyle,