From 96e39968717e0f059dcc9d4d6a28060ffa110a27 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 13 Dec 2025 10:59:13 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16532 --- app/src/protyle/wysiwyg/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index df497693c..3993ce33d 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -2488,7 +2488,13 @@ export class WYSIWYG { input(protyle, blockElement, range, true); // 搜狗拼音数字后面句号变为点;Mac 反向双引号无法输入 }); } else { - input(protyle, blockElement, range, true, event); + if (isMac() && event.data === "【】") { + setTimeout(() => { + input(protyle, blockElement, range, true, event); + }, Constants.TIMEOUT_INPUT); + } else { + input(protyle, blockElement, range, true, event); + } } event.stopPropagation(); });