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

Vanessa199c566ab184
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts
index ce7c1924ef..abe78e9928 100644
--- a/app/src/protyle/wysiwyg/keydown.ts
+++ b/app/src/protyle/wysiwyg/keydown.ts
@@ -157,6 +157,8 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
} else if (Constants.KEYCODELIST[event.keyCode] === "\\" ||
// 德语
event.key === "\\" ||
+ // Mac 日文-罗马字 https://github.com/siyuan-note/siyuan/issues/13725
+ (event.key === "," && event.keyCode === 229) ||
// windows 中文
(event.code === "Backslash" && event.key === "Process" && event.keyCode === 229)) {
protyle.hint.enableSlash = false;