Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/3502

Vanessa3b064ebf88bb
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 62c5bfd504..9daef45c30 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")});
}
}
}