diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.ts index d2721b86a..82e41174a 100644 --- a/app/src/protyle/wysiwyg/remove.ts +++ b/app/src/protyle/wysiwyg/remove.ts @@ -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");