CKEditor5 requires style-src 'unsafe-inline'

Created on 8 September 2023, over 1 year ago
Updated 13 December 2023, about 1 year ago

Problem/Motivation

When using CKEditor5 in Drupal 10.1 with a CSP that does not have 'unsafe-inline' in the style-src directive, CKEditor fails to load properly. (See attached screenshot).

As documented by CKEditor5, style-src requires unsafe-inline: https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/csp.html

Steps to reproduce

Proposed resolution

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States chrissnyder Maryland

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024