settings.paragraphs_features is undefined

Created on 20 March 2024, 3 months ago

Problem/Motivation

Got a console error under certain conditions.

Steps to reproduce

I enabled the module, do not set the Add in between feature, but do have the Add above enabled.
There is no default paragraph set in the widget.
When I try to add a page I got a console error settings.paragraphs_features is undefined.
It might be due to some other module.

Proposed resolution

Add a condition to the JS to run only if settings.paragraphs_features is defined.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡ΏCzech Republic Petr Illek

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024