mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
fec603487b
commit
e290d2a3fc
1 changed files with 4 additions and 0 deletions
|
@ -1176,6 +1176,10 @@ export const addDragFill = (cellElement: Element) => {
|
|||
}
|
||||
cellElement.classList.add("av__cell--active");
|
||||
if (!cellElement.querySelector(".av__drag-fill")) {
|
||||
const cellType = cellElement.getAttribute("data-dtype") as TAVCol;
|
||||
if (["template", "rollup", "lineNumber", "created", "updated"].includes(cellType)) {
|
||||
return;
|
||||
}
|
||||
cellElement.insertAdjacentHTML("beforeend", `<div aria-label="${window.siyuan.languages.dragFill}" class="av__drag-fill ariaLabel"></div>`);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue