Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/9762

Vanessa81f39961ebd8
diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts
index 6a7690873a..0fb2f45e67 100644
--- a/app/src/protyle/index.ts
+++ b/app/src/protyle/index.ts
@@ -435,7 +435,7 @@ export class Protyle {
}
public getRange(element: Element) {
- getEditorRange(element);
+ return getEditorRange(element);
}
public hasClosestBlock(element: Node) {