This commit is contained in:
parent
4dd7b02a95
commit
a48854a166
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue