Commit 11e31e7
committed
ContentEditable elements are InputElements
In onKeyUpOrDown, we check to see whether we should ignore a particular
key or not. One of the checks is whether an input element is focused.
'inInputElemFocused' checks whether the focused element is an instance
of Input or TextArea or Object or Embed. However, contentEditable divs
should be included in the check because some websites like facebook use
content editable elements instead of other input elements for better
styling.1 parent ccdaab6 commit 11e31e7
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1125 | 1125 | | |
1126 | 1126 | | |
1127 | 1127 | | |
1128 | | - | |
| 1128 | + | |
| 1129 | + | |
1129 | 1130 | | |
1130 | 1131 | | |
1131 | 1132 | | |
| |||
0 commit comments