mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 06:54:08 +01:00
This commit is contained in:
parent
c1d2259eac
commit
9d1c83ce37
7 changed files with 63 additions and 48 deletions
|
|
@ -589,7 +589,9 @@ export const globalShortcut = () => {
|
|||
return;
|
||||
}
|
||||
if (!isTabWindow && matchHotKey(window.siyuan.config.keymap.general.dataHistory.custom, event)) {
|
||||
openHistory();
|
||||
if (!window.siyuan.config.readonly) {
|
||||
openHistory();
|
||||
}
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue