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: fix https://github.com/siyuan-note/siyuan/issues/12066
Vanessaaaadba90f9d5
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.tsindex 3830df5dad..e542a704ab 100644--- a/app/src/protyle/wysiwyg/keydown.ts+++ b/app/src/protyle/wysiwyg/keydown.ts@@ -808,6 +808,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {}const position = getSelectionOffset(editElement, protyle.wysiwyg.element, range);if (event.key === "Delete" || matchHotKey("⌃D", event)) {+ // 需使用 innerText,否则表格内 br 无法传唤为 /n https://github.com/siyuan-note/siyuan/issues/12066// 段末反向删除 https://github.com/siyuan-note/insider/issues/274if (position.end === editElement.innerText.length ||// 软换行后删除 https://github.com/siyuan-note/siyuan/issues/11118