This commit is contained in:
Vanessa 2023-08-11 00:21:35 +08:00
parent 79a6b581c8
commit 3b064ebf88

View file

@ -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")});
}
}
}