I am encountering an issue with the Paragraphs module on a Drupal 9 site, specifically when trying to add custom fields to paragraphs. My goal is to create paragraphs that can contain a title and a body, where the body field is a "Long text" type with the "Full content" option enabled to display the toolbar (WYSIWYG editor). I need these body fields to be unlimited, allowing the addition of as much content as desired. However, when the WYSIWYG editor is enabled for these long text fields, attempting to add a new content item to the paragraph results in an Ajax error, preventing the addition of any new content items.
1. Navigate to the structure management of paragraphs and select a paragraph type to add a custom field to.
2. Add a new field with the following characteristics:
- Field Type: Long text
- Widget: Text area with a summary (to enable the "Full content" option)
- Enable the "Unlimited" option to allow adding multiple entries.
3. Attempt to add a new content item to a paragraph that includes the custom field.
4. Observe that an Ajax error is thrown, and the content item cannot be added.
Expected Behavior:
The expected behavior is that when a long text field with the WYSIWYG editor enabled is set to unlimited, users should be able to add new content items to the paragraph without encountering any errors.
Actual Behavior:
When attempting to add a new content item to a paragraph that includes an unlimited long text field with the WYSIWYG editor enabled, an Ajax error is encountered, and it is not possible to add the content item.