Skip to content

Commit

Permalink
🎨 #11685
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Jun 17, 2024
1 parent 7872366 commit f9eb538
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/protyle/breadcrumb/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f9eb538

Please sign in to comment.