Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem
For Paragraphs that have an underscore in machine-name(e.g. download_list) it is not possible to move the Paragraph with drag n drop in a layout.
Proposed solution:
Replace hyphen with underscore for variableparaType
in js/erl-restriction-widget.js
Comment | File | Size | Author |
---|---|---|---|
#3 | erl_restriction_make_paragraphs_with_underscore_dragable_3.patch | 547 bytes | InaW |
#2 | erl_restriction_paragraph_not_dragable_debugging.png | 94.59 KB | InaW |
Comments
Comment #2
InaW CreditAttribution: InaW at Unic commentedComment #3
InaW CreditAttribution: InaW at Unic commentedAttached I uploaded a patch that converts hyphen to underscore for variable
paraType
.Comment #4
dermarioLooks good to me.
Comment #6
dermarioFixed and pushed thx @InaW