CKEditor does not work when big_pipe is used

Created on 11 August 2022, almost 2 years ago
Updated 5 December 2023, 7 months ago

Problem/Motivation

The CSP module adds unsafe-inline when CKEditor is used. The CSP module determines whether ckeditor is used based on the libraries that are attached to the request. If big_pipe is enabled these libraries are not attached to the initial request and csp does not set the required unsafe-inline policy.

Steps to reproduce

Enable big_pipe and csp and try to use cke as a non admin user.

Proposed resolution

Find a better way to determine if ckeditor is used.

The issue was already addressed by Grimreaper in #3201249. But as Arkener suggested I think this topic deserves its own issue.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Harlor Berlin

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.

  • πŸ‡¨πŸ‡¦Canada gapple

    Since Drupal 9 / CKEditor 4 are no longer supported, I'm closing this as outdated.

    Please reopen with any relevant Drupal 10 / CKE5 info if this is still an issue.

Production build 0.69.0 2024