mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-28 09:54:07 +01:00
This commit is contained in:
parent
d19cf0ec0e
commit
a0f016ebca
6 changed files with 35 additions and 33 deletions
|
|
@ -16,9 +16,7 @@ export const initBlockPopover = (app: App) => {
|
|||
}
|
||||
const aElement = hasClosestByAttribute(event.target, "data-type", "a", true) ||
|
||||
hasClosestByAttribute(event.target, "data-type", "tab-header") ||
|
||||
hasClosestByClassName(event.target, "av__gutters") ||
|
||||
hasClosestByClassName(event.target, "emojis__item") ||
|
||||
hasClosestByClassName(event.target, "emojis__type") ||
|
||||
hasClosestByClassName(event.target, "ariaLabel") ||
|
||||
hasClosestByAttribute(event.target, "data-type", "inline-memo");
|
||||
if (aElement) {
|
||||
let tip = aElement.getAttribute("aria-label") || aElement.getAttribute("data-inline-memo-content");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue