diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.ts index 9ae35a9b0..8dd09063b 100644 --- a/app/src/mobile/util/keyboardToolbar.ts +++ b/app/src/mobile/util/keyboardToolbar.ts @@ -3,7 +3,6 @@ import {hasClosestBlock, hasClosestByClassName, hasClosestByMatchTag} from "../. import {moveToDown, moveToUp} from "../../protyle/wysiwyg/move"; import {Constants} from "../../constants"; import {focusByRange, getSelectionPosition} from "../../protyle/util/selection"; -import {removeBlock} from "../../protyle/wysiwyg/remove"; import {hintSlash} from "../../protyle/hint/extend"; let renderKeyboardToolbarTimeout: number; @@ -166,7 +165,6 @@ export const initKeyboardToolbar = () => { - @@ -272,10 +270,6 @@ export const initKeyboardToolbar = () => { moveToDown(protyle, nodeElement, range); focusByRange(range); return; - } else if (type === "remove") { - nodeElement.classList.add("protyle-wysiwyg--select"); - removeBlock(protyle, nodeElement, range); - return; } else if (type === "add") { renderSlashMenu(protyle, toolbarElement); renderKeyboardToolbarUtil();