Commit 3f4fa892 authored by Chris Shantz's avatar Chris Shantz
Browse files

Merge branch '1.0.x' into prod/1.0.x

parents deb3ac51 06ded7e7
......@@ -142,3 +142,15 @@ function uw_sites_all_webform_presave(WebformInterface $webform): void {
$webform->setElements($elements);
}
}
/**
* Implements hook_library_info_alter().
*/
function uw_sites_all_library_info_alter(array &$libraries, string $extension): void {
// A JS aggregation bug stopped CKEditor loading on Pantheon in LB blocks.
// Disable aggregation, disable clientside_validation_jquery, or do this.
// @see https://www.drupal.org/project/clientside_validation/issues/3211333#comment-14162507
if (isset($libraries['cv.jquery.validate']['js']['js/cv.jquery.validate.js'])) {
$libraries['cv.jquery.validate']['js']['js/cv.jquery.validate.js']['preprocess'] = FALSE;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment