🐛 sync tip 转义及支持点击

This commit is contained in:
Vanessa 2023-06-19 21:01:57 +08:00
parent b2c0f3ea1f
commit 887443c321
4 changed files with 23 additions and 11 deletions

View file

@ -37,7 +37,7 @@ export const initBlockPopover = (app: App) => {
event.stopPropagation();
return;
}
} else if (!aElement) {
} else if (!aElement && !hasClosestByAttribute(event.target, "id", "tooltip", true)) {
hideTooltip();
}
if (window.siyuan.config.editor.floatWindowMode === 1 || window.siyuan.shiftIsPressed) {