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/5203
Vanessa96a1e4c51775
diff --git a/app/src/assets/scss/_text-field.scss b/app/src/assets/scss/_text-field.scssindex fdb22eade9..220a984148 100644--- a/app/src/assets/scss/_text-field.scss+++ b/app/src/assets/scss/_text-field.scss@@ -27,7 +27,7 @@}&--text {- border: 0;+ box-shadow: 0 0 0;&:focus {box-shadow: 0 0 0;diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex 785269ed2c..b9be6a7ea4 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -806,6 +806,7 @@ export class Toolbar {});textElement.value = Lute.UnEscapeHTMLStr(renderElement.getAttribute("data-content") || "");}+textElement.addEventListener("input", (event) => {if (!renderElement.parentElement) {return;@@ -865,6 +866,19 @@ export class Toolbar {if (event.isComposing) {return;}+ /// #if !BROWSER+ if (matchHotKey(window.siyuan.config.keymap.editor.general.undo.custom, event)) {+ getCurrentWindow().webContents.undo();+ event.preventDefault();+ return;+ }+ if (matchHotKey(window.siyuan.config.keymap.editor.general.redo.custom, event)) {+ getCurrentWindow().webContents.redo();+ event.preventDefault();+ return;+ }+ /// #endif+if (event.key === "Escape" || matchHotKey("⌘Enter", event)) {this.subElement.classList.add("fn__none");this.subElement.querySelector('[data-type="pin"]').classList.remove("ft__primary");