Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 690858f7

Von Sven Schöling vor mehr als 1 Jahr hinzugefügt

  • ID 690858f74e099d1c6b4c7b067ca180fe88102100
  • Vorgänger fdb9921e
  • Nachfolger 6ba1d201

ckeditor5: ckeditor keypress events in actionbar accesskeys ignorieren

Unterschiede anzeigen:

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