mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-21 06:24:06 +01:00
This commit is contained in:
parent
e18e9c2750
commit
c14fc344c6
6 changed files with 13 additions and 12 deletions
|
|
@ -879,7 +879,7 @@ export class Toolbar {
|
|||
}
|
||||
/// #endif
|
||||
|
||||
if (event.key === "Escape" || matchHotKey("⌘Enter", event)) {
|
||||
if (event.key === "Escape" || matchHotKey("⌘↩", event)) {
|
||||
this.subElement.classList.add("fn__none");
|
||||
this.subElement.querySelector('[data-type="pin"]').classList.remove("ft__primary");
|
||||
if (renderElement.tagName === "SPAN") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue