mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
This commit is contained in:
parent
f63d551e2e
commit
50ff1cfb1c
1 changed files with 1 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ export const getTopAloneElement = (topSourceElement: Element) => {
|
|||
if (topSourceElement.parentElement.getAttribute("data-type") === "NodeBlockquote" && topSourceElement.parentElement.childElementCount === 2) {
|
||||
topSourceElement = topSourceElement.parentElement;
|
||||
} else {
|
||||
topSourceElement = getTopAloneElement(topSourceElement);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue