Skip to content

Commit a01523d

Browse files
committed
📱
1 parent 907dd77 commit a01523d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/protyle/wysiwyg/remove.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ export const removeBlock = async (protyle: IProtyle, blockElement: Element, rang
193193
}
194194

195195
hideElements(["util"], protyle);
196+
/// #if !MOBILE
196197
if (!sideElement) {
197198
const backlinkElement = hasClosestByClassName(protyle.element, "sy__backlink", true);
198199
if (backlinkElement) {
@@ -211,6 +212,7 @@ export const removeBlock = async (protyle: IProtyle, blockElement: Element, rang
211212
}
212213
}
213214
}
215+
/// #endif
214216
return;
215217
}
216218
const blockType = blockElement.getAttribute("data-type");

0 commit comments

Comments
 (0)