mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 18:10:43 +08:00
This commit is contained in:
parent
4dd7b02a95
commit
a48854a166
@ -334,7 +334,8 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!isFileFocus && !event.repeat && matchHotKey(window.siyuan.config.keymap.editor.general.duplicate.custom, event)) {
|
||||
if (!isFileFocus && !event.repeat && !protyle.disabled &&
|
||||
matchHotKey(window.siyuan.config.keymap.editor.general.duplicate.custom, event)) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
let selectsElement: HTMLElement[] = Array.from(protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select"));
|
||||
|
Loading…
Reference in New Issue
Block a user