mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-26 10:16:10 +01:00
This commit is contained in:
parent
da6ba86948
commit
34fcbacea2
2 changed files with 14 additions and 5 deletions
|
|
@ -40,6 +40,8 @@ export const getCellText = (cellElement: HTMLElement | false) => {
|
|||
textElements.forEach(item => {
|
||||
if (item.querySelector(".av__cellicon")) {
|
||||
cellText += `${item.firstChild.textContent} → ${item.lastChild.textContent}, `;
|
||||
} else if (item.getAttribute("data-type") === "url") {
|
||||
cellText = item.getAttribute("data-href") + ", ";
|
||||
} else if (item.getAttribute("data-type") !== "block-more") {
|
||||
cellText += item.textContent + ", ";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue