mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user