mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 22:52:34 +01:00
This commit is contained in:
parent
adb8f65c10
commit
2d52dbfd1c
8 changed files with 4 additions and 70 deletions
|
|
@ -17,7 +17,7 @@ export const initBlockPopover = (app: App) => {
|
|||
let timeoutHide: number;
|
||||
// 编辑器内容块引用/backlinks/tag/bookmark/套娃中使用
|
||||
document.addEventListener("mouseover", (event: MouseEvent & { target: HTMLElement, path: HTMLElement[] }) => {
|
||||
if (!window.siyuan.config) {
|
||||
if (!window.siyuan.config || !window.siyuan.menus) {
|
||||
return;
|
||||
}
|
||||
const aElement = hasClosestByAttribute(event.target, "data-type", "a", true) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue