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