Issue #2350065 by TwoD: Fixed \t in element IDs for CKEditor config UI.
parent
44ad6d7999
commit
c752a362de
|
@ -1293,7 +1293,7 @@
|
||||||
// Remove all whitespace from the name, lowercase it and ensure
|
// Remove all whitespace from the name, lowercase it and ensure
|
||||||
// HTML-safe encoding, then use this as the group ID for CKEditor
|
// HTML-safe encoding, then use this as the group ID for CKEditor
|
||||||
// configuration UI accessibility purposes only.
|
// 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
|
$group
|
||||||
// Update the group container.
|
// Update the group container.
|
||||||
.removeAttr('aria-label')
|
.removeAttr('aria-label')
|
||||||
|
|
Loading…
Reference in New Issue