Paragraph module content with edit mode "closed" break CKEditor

Created on 10 August 2020, almost 4 years ago
Updated 5 December 2023, 7 months ago

Problem/Motivation

When loading a node edit page with a paragraph field, which includes am editor enabled text area using the Paragraphs Classic widget, it does not seem to detect that CKEditor is being used, and fails to take the measures add the unsafe-inline CSP option.

This can be mitigated by allowing "unsafe-inline" globally for the "script-src-attr" setting. Which is not ideal.

I'm not sure what this module's policy is for supporting other modules, but Paragraphs is pretty common.

Steps to reproduce

* Install Paragraphs.
* Add a Paragraph field to a node, use the "Classic widget" and set the edit mode to closed.
* Create a node. with a paragraph that includes a CKEditor enabled text field.

Proposed resolution

...

Remaining tasks

...

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bburg Washington D.C.

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