mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 11:31:38 +02:00
✨ Add mentions to notifications
This commit is contained in:
parent
4bd1e32462
commit
b1dda02b47
39 changed files with 2316 additions and 212 deletions
8
frontend/vendor/mousetrap/index.js
vendored
8
frontend/vendor/mousetrap/index.js
vendored
|
@ -986,10 +986,10 @@ Mousetrap.prototype.stopCallback = function (e, element, combo) {
|
|||
|
||||
// stop for input, select, textarea and button
|
||||
const shouldStop = element.tagName == "INPUT" ||
|
||||
element.tagName == "SELECT" ||
|
||||
element.tagName == "TEXTAREA" ||
|
||||
(element.tagName == "BUTTON" && combo.includes("tab")) ||
|
||||
(element.contentEditable && element.contentEditable == "true");
|
||||
element.tagName == "SELECT" ||
|
||||
element.tagName == "TEXTAREA" ||
|
||||
(element.tagName == "BUTTON" && combo.includes("tab")) ||
|
||||
(element.contentEditable && (element.contentEditable == "true" || element.contentEditable === "plaintext-only"));
|
||||
return shouldStop;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue