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/15656

Vanessa691ef04f62ad
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts
index 0bd2df09a6..bb6627cd8a 100644
--- a/app/src/protyle/render/av/col.ts
+++ b/app/src/protyle/render/av/col.ts
@@ -1818,7 +1818,7 @@ const genColDataByType = (type: TAVCol, id: string, name: string) => {
template: "",
type,
width: "",
- wrap: false,
+ wrap: undefined,
calc: null
};
return colData;
diff --git a/app/src/protyle/render/av/openMenuPanel.ts b/app/src/protyle/render/av/openMenuPanel.ts
index e7f8205414..00ca9c0748 100644
--- a/app/src/protyle/render/av/openMenuPanel.ts
+++ b/app/src/protyle/render/av/openMenuPanel.ts
@@ -112,6 +112,9 @@ export const openMenuPanel = (options: {
html = getAssetHTML(options.cellElements);
} else if (options.type === "edit") {
if (options.editData) {
+ if (typeof options.editData.colData.wrap === "undefined") {
+ options.editData.colData.wrap = data.view.wrapField;
+ }
if (options.editData.previousID) {
fields.find((item, index) => {
if (item.id === options.editData.previousID) {