mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
This commit is contained in:
parent
7dc9f40484
commit
fde9cbe1cc
1 changed files with 4 additions and 1 deletions
|
|
@ -2364,7 +2364,10 @@ data-type="fold" style="cursor:inherit;"><svg style="width: 10px${fold && fold =
|
|||
if (type === "NodeBlockquote") {
|
||||
space += 8;
|
||||
}
|
||||
if (nodeElement.isSameNode(wysiwyg.firstElementChild) ||
|
||||
if ((
|
||||
!nodeElement.previousElementSibling &&
|
||||
(nodeElement.isSameNode(wysiwyg.firstElementChild) || nodeElement.parentElement.classList.contains("sb"))
|
||||
) ||
|
||||
(nodeElement.previousElementSibling && nodeElement.previousElementSibling.getAttribute("data-node-id"))) {
|
||||
// 前一个块存在时,只显示到当前层级
|
||||
hideParent = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue