mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 07:02:33 +01:00
This commit is contained in:
parent
58d47ed548
commit
8322087cba
3 changed files with 70 additions and 6 deletions
|
|
@ -82,6 +82,8 @@ export const initBlockPopover = (app: App) => {
|
|||
if (href) {
|
||||
tip = `<span style="word-break: break-all">${href.substring(0, Constants.SIZE_TITLE)}</span>`;
|
||||
tooltipClass = "href"; // 为超链接添加 class https://github.com/siyuan-note/siyuan/issues/11440#issuecomment-2119080691
|
||||
} else {
|
||||
tip = "";
|
||||
}
|
||||
const title = aElement.getAttribute("data-title");
|
||||
if (tip && isLocalPath(href) && !aElement.classList.contains("b3-tooltips")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue