mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 06:30:14 +01:00
This commit is contained in:
parent
425ec1d3ca
commit
96e3996871
1 changed files with 7 additions and 1 deletions
|
|
@ -2488,7 +2488,13 @@ export class WYSIWYG {
|
||||||
input(protyle, blockElement, range, true); // 搜狗拼音数字后面句号变为点;Mac 反向双引号无法输入
|
input(protyle, blockElement, range, true); // 搜狗拼音数字后面句号变为点;Mac 反向双引号无法输入
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
if (isMac() && event.data === "【】") {
|
||||||
|
setTimeout(() => {
|
||||||
input(protyle, blockElement, range, true, event);
|
input(protyle, blockElement, range, true, event);
|
||||||
|
}, Constants.TIMEOUT_INPUT);
|
||||||
|
} else {
|
||||||
|
input(protyle, blockElement, range, true, event);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue