mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 14:28:49 +01:00
📱
This commit is contained in:
parent
907dd77655
commit
a01523dc98
1 changed files with 2 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ export const removeBlock = async (protyle: IProtyle, blockElement: Element, rang
|
|||
}
|
||||
|
||||
hideElements(["util"], protyle);
|
||||
/// #if !MOBILE
|
||||
if (!sideElement) {
|
||||
const backlinkElement = hasClosestByClassName(protyle.element, "sy__backlink", true);
|
||||
if (backlinkElement) {
|
||||
|
|
@ -211,6 +212,7 @@ export const removeBlock = async (protyle: IProtyle, blockElement: Element, rang
|
|||
}
|
||||
}
|
||||
}
|
||||
/// #endif
|
||||
return;
|
||||
}
|
||||
const blockType = blockElement.getAttribute("data-type");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue