Vanessa 2023-03-10 10:00:03 +08:00
parent c1d2259eac
commit 9d1c83ce37
7 changed files with 63 additions and 48 deletions

View file

@ -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;
}