mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 23:22:33 +01:00
🚨
This commit is contained in:
parent
4b56408095
commit
7cff7ce704
9 changed files with 21 additions and 22 deletions
|
|
@ -153,7 +153,7 @@ export const getEditorRange = (element: Element): Range => {
|
|||
}
|
||||
|
||||
if (element.classList.contains("li") || element.classList.contains("list")) {
|
||||
const childElement = element.querySelector("[data-node-id]")
|
||||
const childElement = element.querySelector("[data-node-id]");
|
||||
if (childElement) {
|
||||
return getEditorRange(childElement);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue