mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-23 23:44:06 +01:00
This commit is contained in:
parent
c88f99646c
commit
508eb93183
33 changed files with 111 additions and 108 deletions
|
|
@ -563,7 +563,7 @@ export class Gutter {
|
|||
hasEmbedBlock = true;
|
||||
}
|
||||
if (item.nextElementSibling && selectsElement[index + 1] &&
|
||||
(item.nextElementSibling === selectsElement[index + 1])) {
|
||||
item.nextElementSibling === selectsElement[index + 1]) {
|
||||
isContinue = true;
|
||||
} else if (index !== selectsElement.length - 1) {
|
||||
isContinue = false;
|
||||
|
|
@ -2329,7 +2329,7 @@ export class Gutter {
|
|||
listItem = undefined;
|
||||
}
|
||||
// 标题必须显示
|
||||
if ((topElement !== nodeElement) && type !== "NodeHeading") {
|
||||
if (topElement !== nodeElement && type !== "NodeHeading") {
|
||||
nodeElement = topElement;
|
||||
parentElement = hasClosestBlock(nodeElement.parentElement);
|
||||
type = nodeElement.getAttribute("data-type");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue