mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 03:10:16 +01:00
This commit is contained in:
parent
ff45ebcdaf
commit
2659052bb9
40 changed files with 164 additions and 151 deletions
|
|
@ -1033,7 +1033,7 @@ export const windowKeyDown = (app: App, event: KeyboardEvent) => {
|
|||
}
|
||||
if (matchHotKey(window.siyuan.config.keymap.general.editMode.custom, event)) {
|
||||
event.preventDefault();
|
||||
editor.setReadonly();
|
||||
editor.setReadonly(!window.siyuan.config.editor.readOnly);
|
||||
return;
|
||||
}
|
||||
if (matchHotKey(window.siyuan.config.keymap.general.lockScreen.custom, event)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue