Add support for paragraph PREVIEWER widget

Created on 29 April 2022, over 2 years ago
Updated 6 September 2024, 2 months ago

Problem/Motivation

The extra field "Paragraphs Type Help: Rendered as Default" is added to the form displays By default. But this field doesn't show up when using "Paragraphs Previewer & Paragraphs EXPERIMENTAL" widget. Add support for this PREVIEWER widget.

Steps to reproduce

  1. Enable module
  2. Create help content at `/admin/content/paragraphs-type-help`.
  3. Go to form display of content type where you have added a paragraph reference.
  4. Change the widget to "Paragraphs Previewer & Paragraphs EXPERIMENTAL"
  5. Create content of this type add paragraph; the help field is not available
  6. Go back to form display of content type and change to widget to Classic or Experimental
  7. Create/Edit content of this type; add paragraph; the help field is now available

Proposed resolution

Implement hook_field_widget_WIDGET_TYPE_form_alter() for "paragraphs_previewer" widget type.

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇳India madhavimalgaonkar

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024