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/15100

Vanessaa3c2e5c43785
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 1866d9b742..6d3d7f1440 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -616,6 +616,12 @@ export class WYSIWYG {
}
return;
}
+
+ // https://github.com/siyuan-note/siyuan/issues/15100
+ if (galleryItemElement) {
+ return;
+ }
+
// https://github.com/siyuan-note/siyuan/issues/3026
hideElements(["select"], protyle);
if (hasClosestByAttribute(target, "data-type", "av-gallery-more")) {