mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 00:08:49 +01:00
This commit is contained in:
parent
b10fd8f155
commit
d61eb59e93
1 changed files with 4 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import {transaction} from "../../wysiwyg/transaction";
|
|||
import {openEditorTab} from "../../../menus/util";
|
||||
import {openFileAttr} from "../../../menus/commonMenuItem";
|
||||
import {
|
||||
addDragFill,
|
||||
addDragFill, cellValueIsEmpty,
|
||||
genCellValueByElement,
|
||||
getCellText,
|
||||
getTypeByCellElement,
|
||||
|
|
@ -731,7 +731,9 @@ export const updateAttrViewCellAnimation = (cellElement: HTMLElement, value: IAV
|
|||
const viewType = blockElement.getAttribute("data-av-type") as TAVView;
|
||||
if (viewType === "gallery") {
|
||||
const iconElement = cellElement.querySelector(".b3-menu__avemoji");
|
||||
cellElement.innerHTML = renderCell(value, undefined, iconElement ? !iconElement.classList.contains("fn__none") : false, viewType);
|
||||
cellElement.innerHTML = renderCell(value, undefined, iconElement ? !iconElement.classList.contains("fn__none") : false, viewType) +
|
||||
cellElement.querySelector(".av__gallery-tip").outerHTML;
|
||||
cellElement.setAttribute("data-empty", cellValueIsEmpty(value).toString());
|
||||
} else {
|
||||
cellElement.innerHTML = renderCell(value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue