This commit is contained in:
parent
0dc5f64a41
commit
5e0e054db8
1 changed files with 4 additions and 0 deletions
|
@ -1695,6 +1695,10 @@ export class Gutter {
|
|||
}
|
||||
const topElement = getTopAloneElement(nodeElement);
|
||||
listItem = topElement.querySelector(".li") || topElement.querySelector(".list");
|
||||
// 嵌入块中有列表时块标显示位置错误 https://github.com/siyuan-note/siyuan/issues/6254
|
||||
if (hasClosestByAttribute(listItem, "data-type", "NodeBlockQueryEmbed")) {
|
||||
listItem = undefined;
|
||||
}
|
||||
// 标题必须显示
|
||||
if (!topElement.isSameNode(nodeElement) && type !== "NodeHeading") {
|
||||
nodeElement = topElement;
|
||||
|
|
Loading…
Add table
Reference in a new issue