mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
📝 →
This commit is contained in:
@@ -24,7 +24,7 @@ export const initBlockPopover = (app: App) => {
|
||||
if (aElement.classList.contains("av__celltext")) {
|
||||
if (aElement.offsetWidth > aElement.parentElement.clientWidth - 11) {
|
||||
if (aElement.querySelector(".av__cellicon")) {
|
||||
tip = `${aElement.firstChild.textContent} ➡️ ${aElement.lastChild.textContent}`;
|
||||
tip = `${aElement.firstChild.textContent} → ${aElement.lastChild.textContent}`;
|
||||
} else {
|
||||
tip = aElement.textContent;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
|
||||
if (copyElement) {
|
||||
const textElement = copyElement.previousElementSibling
|
||||
if (textElement.querySelector(".av__cellicon")) {
|
||||
writeText(`${textElement.firstChild.textContent} ➡️ ${textElement.lastChild.textContent}`);
|
||||
writeText(`${textElement.firstChild.textContent} → ${textElement.lastChild.textContent}`);
|
||||
} else {
|
||||
writeText(textElement.textContent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user