Vanessa 2024-06-17 10:00:42 +08:00
parent 7bbc10d4ee
commit 19a601a065

View file

@ -44,7 +44,7 @@ export const initBlockPopover = (app: App) => {
}
}
} else if (aElement.classList.contains("av__celltext--url")) {
tip = `<span style="word-break: break-all">${tip}</span><br>${aElement.getAttribute("data-name")}`;
tip = `<span style="word-break: break-all">${tip.substring(0, Constants.SIZE_TITLE)}</span><br>${aElement.getAttribute("data-name")}`;
}
if (!tip) {
const href = aElement.getAttribute("data-href") || "";