Vanessa 2025-11-03 13:47:41 +08:00
parent b1a00c6ebd
commit a0b238075d
8 changed files with 174 additions and 7 deletions

View file

@ -13,7 +13,7 @@ import {escapeAriaLabel, escapeAttr, escapeHtml} from "../../../util/escape";
import {electronUndo} from "../../undo";
import {isInAndroid, isInHarmony, isInIOS} from "../../util/compatibility";
import {isMobile} from "../../../util/functions";
import {renderGallery} from "./gallery/render";
import {renderKanban, renderGallery} from "./gallery/render";
import {getFieldsByData, getViewIcon} from "./view";
import {openMenuPanel} from "./openMenuPanel";
import {getPageSize} from "./groups";
@ -467,6 +467,10 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: (data: IAV) =
renderGallery({blockElement: e, protyle, cb, renderAll});
return;
}
if (e.getAttribute("data-av-type") === "kanban") {
renderKanban({blockElement: e, protyle, cb, renderAll});
return;
}
let selectCellId;
const selectCellElement = e.querySelector(".av__cell--select") as HTMLElement;