mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 01:34:20 +01:00
This commit is contained in:
parent
001f20fec0
commit
43b18ad750
1 changed files with 6 additions and 1 deletions
|
|
@ -70,7 +70,12 @@ export const initBlockPopover = (app: App) => {
|
|||
}
|
||||
if (tip && !aElement.classList.contains("b3-tooltips")) {
|
||||
// https://github.com/siyuan-note/siyuan/issues/11294
|
||||
showTooltip(decodeURIComponent(tip), aElement);
|
||||
try {
|
||||
showTooltip(decodeURIComponent(tip), aElement);
|
||||
} catch (e) {
|
||||
// https://ld246.com/article/1718235737991
|
||||
showTooltip(tip, aElement);
|
||||
}
|
||||
event.stopPropagation();
|
||||
} else {
|
||||
hideTooltip();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue