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/14309 4

Vanessab91432f996a0
diff --git a/app/src/protyle/render/av/relation.ts b/app/src/protyle/render/av/relation.ts
index 8804495649..ce17379319 100644
--- a/app/src/protyle/render/av/relation.ts
+++ b/app/src/protyle/render/av/relation.ts
@@ -307,10 +307,6 @@ ${html || genSelectItemHTML("empty")}`;
setRelationCell(options.protyle, options.blockElement as HTMLElement, currentElement, options.cellElements);
event.preventDefault();
event.stopPropagation();
- } else if (event.key === "Escape") {
- options.menuElement.parentElement.remove();
- event.preventDefault();
- event.stopPropagation();
}
});
inputElement.addEventListener("input", (event: InputEvent) => {