From 3b064ebf88bbb395111d200b680ac8acc899bb28 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 11 Aug 2023 00:21:35 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/3502 --- app/src/protyle/wysiwyg/index.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 62c5bfd50..9daef45c3 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -1973,15 +1973,7 @@ export class WYSIWYG { actionElement.parentElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss")); updateTransaction(protyle, actionElement.parentElement.getAttribute("data-node-id"), actionElement.parentElement.outerHTML, html); } else { - protyle.gutter.renderMenu(protyle, actionElement.parentElement); - /// #if MOBILE - window.siyuan.menus.menu.fullscreen(); - /// #else - window.siyuan.menus.menu.popup({ - x: event.clientX - 16, - y: event.clientY - 16 - }, true); - /// #endif + zoomOut({protyle, id: actionElement.parentElement.getAttribute("data-node-id")}); } } }