An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: 多选复制到单选中会变为多个
Vanessacf4e9f22ac73
diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.tsindex 8cf63e5f1e..e9d1a1618c 100644--- a/app/src/protyle/util/insertHTML.ts+++ b/app/src/protyle/util/insertHTML.ts@@ -107,6 +107,9 @@ const processAV = (range: Range, html: string, protyle: IProtyle, blockElement:cellValue.isDetached = true;delete cellValue.block.id;} else if (type === "select" || type === "mSelect") {+ if (type === "select" && cellValue.type === "mSelect" && cellValue.mSelect.length > 0) {+ cellValue.mSelect.splice(1, cellValue.mSelect.length - 1);+ }const operations = mergeAddOption(columns.find(e => e.id === cellElement.dataset.colId), cellValue, avID);doOperations.push(...operations.doOperations);undoOperations.push(...operations.undoOperations);