mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 16:24:20 +01:00
🚨
This commit is contained in:
parent
f15b2f8666
commit
b2b1089e3d
7 changed files with 27 additions and 22 deletions
|
|
@ -43,7 +43,6 @@ import {escapeHtml} from "../../util/escape";
|
|||
import {syncGuide} from "../../sync/syncGuide";
|
||||
import {getStartEndElement, goEnd, goHome} from "../../protyle/wysiwyg/commonHotkey";
|
||||
import {getNextFileLi, getPreviousFileLi} from "../../protyle/wysiwyg/getBlock";
|
||||
import {editor} from "../../config/editor";
|
||||
import {hintMoveBlock} from "../../protyle/hint/extend";
|
||||
import {Backlink} from "../../layout/dock/Backlink";
|
||||
/// #if !BROWSER
|
||||
|
|
@ -1267,7 +1266,7 @@ export const windowKeyDown = (app: App, event: KeyboardEvent) => {
|
|||
}
|
||||
if (matchHotKey(window.siyuan.config.keymap.general.editReadonly.custom, event)) {
|
||||
event.preventDefault();
|
||||
setReadOnly(!window.siyuan.config.editor.readOnly)
|
||||
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