mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-19 05:28:07 +01:00
🚨
This commit is contained in:
parent
a7dadc5a1f
commit
01e5df1e3d
5 changed files with 9 additions and 10 deletions
|
|
@ -613,7 +613,7 @@ export const focusBlock = (element: Element, parentElement?: HTMLElement, toStar
|
|||
} else {
|
||||
// li 下面为 hr、嵌入块、数学公式、iframe、音频、视频、图表渲染块等时递归处理
|
||||
if (element.classList.contains("li")) {
|
||||
return focusBlock(element.querySelector('[data-node-id]'), parentElement, toStart);
|
||||
return focusBlock(element.querySelector("[data-node-id]"), parentElement, toStart);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue