Update csp_extras to backport add_css from core 10.1

Created on 22 November 2022, over 1 year ago
Updated 8 April 2023, about 1 year ago

Problem/Motivation

A new add_js command was added to core 9.5 by #1988968: Drupal.ajax does not guarantee that "add new JS file to page" commands have finished before calling said JS β†’ , and add_css may be updated to a CSP-compatible implementation (although with a fallback until 11.0) in 10.1 πŸ“Œ Improve Drupal\Core\Ajax\AddCssCommand to accept an array of CSS assets Fixed

Instead of the current custom implementation (that combines css and js into a single asset response), the module should backport the commands as necessary instead.

Proposed resolution

Update module classes & javascript to backport core code when necessary

Remaining tasks

API changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada gapple

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024