From 0e8931ff124bfd5654efed977ace09eb8c3ab3e7 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 11 Jul 2025 11:32:37 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11022 --- app/src/protyle/render/av/col.ts | 2 +- app/src/types/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts index e6828a51d..11b9fe891 100644 --- a/app/src/protyle/render/av/col.ts +++ b/app/src/protyle/render/av/col.ts @@ -960,7 +960,7 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen label: window.siyuan.languages.syncColWidth, click() { transaction(protyle, [{ - action: "syncColWidth", + action: "syncAttrViewTableColWidth", keyID: colId, avID, id: blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW), diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts index 4be9737e8..a556ef1aa 100644 --- a/app/src/types/index.d.ts +++ b/app/src/types/index.d.ts @@ -64,7 +64,7 @@ type TOperation = | "setAttrViewColDesc" | "setAttrViewBlockView" | "setAttrViewGroup" - | "syncColWidth" + | "syncAttrViewTableColWidth" type TBazaarType = "templates" | "icons" | "widgets" | "themes" | "plugins" type TCardType = "doc" | "notebook" | "all" type TEventBus = "ws-main" | "sync-start" | "sync-end" | "sync-fail" |