CKEditor5 requires style-src 'unsafe-inline'

Created on 8 September 2023, 10 months ago
Updated 13 December 2023, 7 months 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.69.0 2024