Issue #2350065 by TwoD: Fixed \t in element IDs for CKEditor config UI.

8.0.x
Alex Pott 2014-10-05 17:25:12 +02:00
parent 44ad6d7999
commit c752a362de
1 changed files with 1 additions and 1 deletions

View File

@ -1293,7 +1293,7 @@
// Remove all whitespace from the name, lowercase it and ensure
// HTML-safe encoding, then use this as the group ID for CKEditor
// configuration UI accessibility purposes only.
var groupID = 'ckeditor-toolbar-group-aria-label-for-' + Drupal.checkPlain(name.toLowerCase().replace(/ /g, '-'));
var groupID = 'ckeditor-toolbar-group-aria-label-for-' + Drupal.checkPlain(name.toLowerCase().replace(/\s/g, '-'));
$group
// Update the group container.
.removeAttr('aria-label')