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

Vanessaf9eb5388b5be
diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.ts
index 0561678576..df2cd562dd 100644
--- a/app/src/protyle/breadcrumb/index.ts
+++ b/app/src/protyle/breadcrumb/index.ts
@@ -568,7 +568,9 @@ ${padHTML}
/// #if !MOBILE
let range: Range;
let blockElement: Element;
- if (nodeElement) {
+ if (nodeElement &&
+ !nodeElement.classList.contains("list") // 列表 id 不会返回数据,因此不进行处理 https://github.com/siyuan-note/siyuan/issues/11685
+ ) {
blockElement = nodeElement;
} else if (getSelection().rangeCount > 0) {
range = getSelection().getRangeAt(0);