mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-13 07:56:14 +01:00
This commit is contained in:
parent
c325eb696f
commit
c9474ba5f2
1 changed files with 3 additions and 1 deletions
|
|
@ -566,7 +566,9 @@ export class Outline extends Model {
|
|||
if (!nodeElement) {
|
||||
return;
|
||||
}
|
||||
if (nodeElement.getAttribute("data-type") === "NodeHeading") {
|
||||
if (nodeElement.getAttribute("data-type") === "NodeHeading" &&
|
||||
!nodeElement.parentElement.classList.contains("bq") &&
|
||||
!nodeElement.parentElement.classList.contains("callout-content")) {
|
||||
this.setCurrentById(nodeElement.getAttribute("data-node-id"));
|
||||
} else {
|
||||
let previousElement = getPreviousBlock(nodeElement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue