Vanessa 2025-09-15 10:48:04 +08:00
parent 7acf6f5225
commit 49e07f92f5

View file

@ -937,6 +937,7 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen
bind(element) {
const wrapElement = element.querySelector(".b3-switch") as HTMLInputElement;
wrapElement.addEventListener("change", () => {
cellElement.dataset.wrap = wrapElement.checked.toString();
transaction(protyle, [{
action: "setAttrViewColWrap",
id: colId,