This commit is contained in:
Vanessa 2022-06-18 20:19:31 +08:00
parent e18e9c2750
commit c14fc344c6
6 changed files with 13 additions and 12 deletions

View file

@ -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") {