Revision 690858f7
Von Sven Schöling vor etwa 1 Jahr hinzugefügt
js/kivi.ActionBar.js | ||
---|---|---|
94 | 94 |
|| (e.target.tagName == 'SELECT'))) |
95 | 95 |
return true; |
96 | 96 |
|
97 |
// special case ckeditor: if the event originates from the editable area of the ckeditor, ignore it, otherwise we drown in Enter events |
|
98 |
if (e.target.classList.contains('ck-content')) |
|
99 |
return true; |
|
100 |
|
|
101 |
console.warn(e); |
|
102 |
console.warn(this); |
|
103 |
|
|
97 | 104 |
if ((target in kivi.ActionBar.Accesskeys.actions) && (accesskey in kivi.ActionBar.Accesskeys.actions[target])) { |
98 | 105 |
e.stopPropagation(); |
99 | 106 |
kivi.ActionBar.Accesskeys.actions[target][accesskey].click(); |
Auch abrufbar als: Unified diff
ckeditor5: ckeditor keypress events in actionbar accesskeys ignorieren