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

Vanessa49e07f92f56e
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts
index 5f4bf88bab..8d07859d58 100644
--- a/app/src/protyle/render/av/col.ts
+++ b/app/src/protyle/render/av/col.ts
@@ -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,