Skip to content

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

:sparkles: https://github.com/siyuan-note/siyuan/issues/8694

Vanessa64c4bec75f5e
diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.ts
index 59ee2e5a7a..a89a7f05e7 100644
--- a/app/src/protyle/render/av/select.ts
+++ b/app/src/protyle/render/av/select.ts
@@ -299,6 +299,9 @@ export const addSelectColAndCell = (protyle: IProtyle, data: IAV, options: {
content: currentElement.dataset.name
});
} else {
+ if (!cellData.value) {
+ cellData.value = {select: {}};
+ }
oldValue = Object.assign({}, cellData.value.select);
cellData.value.select = {
color: currentElement.dataset.color,