mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 00:04:21 +01:00
This commit is contained in:
parent
766e7ebc6b
commit
f2f292c5fa
8 changed files with 3 additions and 8 deletions
|
|
@ -1081,7 +1081,7 @@ export const windowKeyDown = (app: App, event: KeyboardEvent) => {
|
|||
commandPanel(app);
|
||||
return;
|
||||
}
|
||||
if (matchHotKey(window.siyuan.config.keymap.general.editMode.custom, event)) {
|
||||
if (matchHotKey(window.siyuan.config.keymap.general.editReadonly.custom, event)) {
|
||||
event.preventDefault();
|
||||
editor.setReadonly(!window.siyuan.config.editor.readOnly);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue