Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/11022

Vanessa0e8931ff124b
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts
index e6828a51d7..11b9fe8912 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 4be9737e82..a556ef1aa8 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" |