Paragraphs (stable) Widget / JS Error

Created on 3 August 2023, over 1 year ago

Problem/Motivation

We are facing a java script error using Paragraphs latest version (8.x-1.15) and its "Paragraphs (stable)" Widget.
When trying to add paragraphs to a node it ends up with js errors:
TypeError: undefined is not an object (evaluating 'Drupal.editors')
An error occurred during the execution of the Ajax response: The following files could not be loaded: /sites/default/files/js/js_prPu4gY6K8gZYMTAQtM27aIADcCvZLIJnbm6ADX1UgI.js0

We are using 9.5.10, PHP 8.1.14 and Paragraphs 8.x-1.15.

Steps to reproduce

- The Website has to have "Aggregate JavaScript files" enabled. (When disabled, the error does not occur)
- The Error occurs only in Safari and according to our customer in Edge. Works in FF and Chrome.
- The error only occurs when editing existing nodes with paragraphs already attached. When creating a new node, there is no problem.
- Configuration of Paragraphs (stable) widget:

Edit mode: Closed
Closed mode: Summary
Autocollapse: None
Add mode: Select list
Form display mode: default
Default paragraph type: Section
Features: Duplicate, Collapse / Edit all
🐛 Bug report
Status

Active

Version

1.15

Component

Experimental Widget

Created by

🇨🇭Switzerland el_majori Bern

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

Comments & Activities

Production build 0.71.5 2024