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

Vanessa48ad384a54e0
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 64db7090ac..1dfa241d0b 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -663,6 +663,7 @@ export class WYSIWYG {
selectRow(rowElement.querySelector(".av__firstcol"), "toggle");
}
} else if (ctrlElement) {
+ clearSelect(["row", "galleryItem"], this.element);
const embedBlockElement = isInEmbedBlock(ctrlElement);
if (embedBlockElement) {
ctrlElement = embedBlockElement;