mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix and improve Squire HTML/Plain modes
This commit is contained in:
parent
5efbcf5ad3
commit
1c95eab6d6
4 changed files with 17 additions and 13 deletions
|
|
@ -30,7 +30,7 @@ export function pString(value) {
|
|||
export function inFocus() {
|
||||
try {
|
||||
return doc.activeElement && doc.activeElement.matches(
|
||||
'input,textarea,.cke_editable'
|
||||
'input,textarea,[contenteditable]'
|
||||
);
|
||||
} catch (e) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue