mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
e18e9c2750
commit
c14fc344c6
6 changed files with 13 additions and 12 deletions
|
|
@ -29,7 +29,7 @@ const bindAttrInput = (inputElement: HTMLInputElement, confirmElement: Element)
|
|||
if (event.isComposing) {
|
||||
return;
|
||||
}
|
||||
if (matchHotKey("⌘Enter", event)) {
|
||||
if (matchHotKey("⌘↩", event)) {
|
||||
confirmElement.dispatchEvent(new CustomEvent("click"));
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue