- Issue created by @el_majori
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.
- 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
Active
1.15
Experimental Widget