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

Vanessa8ad84ec6f7f6
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts
index b1fae4f2d3..1c72ffde29 100644
--- a/app/src/protyle/hint/index.ts
+++ b/app/src/protyle/hint/index.ts
@@ -684,8 +684,6 @@ ${unicode2Emoji(emoji.unicode)}</button>`;
nodeElement.querySelectorAll("colgroup col").forEach((item: HTMLElement) => {
item.style.minWidth = "60px";
});
- } else if (nodeElement.classList.contains("av")) {
- avRender(nodeElement);
}
transaction(protyle, [{
data: oldHTML,
@@ -723,6 +721,8 @@ ${unicode2Emoji(emoji.unicode)}</button>`;
window.siyuan.menus.menu.element.querySelectorAll("input")[0].focus();
} else if (value === "---") {
focusBlock(nodeElement);
+ } else if (nodeElement.classList.contains("av")) {
+ avRender(nodeElement);
} else {
focusByWbr(nodeElement, range);
}