An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art:
Vanessa24ee5d14beba
diff --git a/app/src/util/highlightById.ts b/app/src/util/highlightById.tsindex 406c51d093..270cb87ea2 100644--- a/app/src/util/highlightById.ts+++ b/app/src/util/highlightById.ts@@ -44,7 +44,7 @@ export const scrollCenter = (protyle: IProtyle, nodeElement?: Element, top = falif (blockElement) {// undo 时禁止数据库滚动if (blockElement.classList.contains("av") && blockElement.dataset.render === "true" &&- (blockElement.querySelector(".av__row--header").getAttribute("style").indexOf("transform") > -1 || blockElement.querySelector(".av__row--footer").getAttribute("style").indexOf("transform") > -1)) {+ (blockElement.querySelector(".av__row--header").getAttribute("style")?.indexOf("transform") > -1 || blockElement.querySelector(".av__row--footer").getAttribute("style")?.indexOf("transform") > -1)) {return;}const editorElement = protyle.contentElement;