Problem/Motivation

The module Paragraph_previewer use a field widget that extend the class "ParagraphsWidget". When you want to use the "dialog_off_canvas" option , the dialog can be openend but the list of paragraph types is empty.

Steps to reproduce

1° first chose the field widget "Paragraphs Previewer & Paragraphs EXPERIMENTAL"
2° Activate the "Use off-canvas instead of modal dialog","Enable add in between buttons" , "add mode with modal"
3° Create a node and click on the "more" link
4° The dialog will open empty

Proposed resolution

Instead of testing the component type (which is paragraphs_previewer instead of paragraph) we can check the "Use off-canvas" setting directly from the component.

CommentFileSizeAuthor
paragraphs_ee.patch691 bytesPierrick Cadet

Comments

Pierrick Cadet created an issue. See original summary.

  • Pierrick Cadet authored 6210947 on 8.x-1.x
    Issue #3216116 by Pierrick Cadet: Compatibility with paragraph_previewer
    
stborchert’s picture

Version: 8.x-1.7 » 8.x-1.x-dev
Status: Active » Fixed

Thanks for the patch. Tested and committed :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.