Add mentions to notifications

This commit is contained in:
alonso.torres 2024-11-27 11:28:51 +01:00
parent 4bd1e32462
commit b1dda02b47
39 changed files with 2316 additions and 212 deletions

View file

@ -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;
}