- ๐ฎ๐นItaly g.rocchini
g.rocchini โ made their first commit to this issueโs fork.
- ๐ช๐ธSpain bletch
Here is patch for 2.1.0alpha, for people who need it.
- Status changed to Needs review
over 1 year ago 9:04pm 26 August 2023 - ๐ธ๐ชSweden twod Sweden
I re-implemented this serverside and added a checkbox to the widget settings to toggle alphabetization of the render list without affecting which buttons are made available for quick access - the drag & drop weight still controls that.
This is for the 10.x version as that was the only one working for us with the latest Paragraphs and Paragraphs Features modules.
- ๐ธ๐ชSweden twod Sweden
The schema update for the new setting did not make it into the previous patch.
- ๐บ๐ธUnited States orbmantell
This patch in #16 has issues with multilingual sites. When editing a translated node there are no paragraphs allowed to be added, so the
$types_available
variable inparagraphs_ee_field_widget_complete_form_alter()
is empty. This causes an issue with$render_order = array_combine(array_keys($types_available), range(0, count($types_available) - 1));
, as it tries to callarray_combine()
on an empty array and an array with two elements (0 and -1). This throws a ValueError due to mismatching numbers of keys and values. - Status changed to Needs work
26 days ago 1:27pm 29 November 2024 - ๐ฉ๐ชGermany stborchert
As said before, I'm no fan of the way it is implemented.
Here is how I would like to see this:
- A new setting "Sort paragraphs by". The option lists all sort plugins defined ("weight", "alphabet") for ParagraphsEE
- Either a set of buttons in the dialog header or a dropdown with all available sort options
Please create merge requests for the changes as they are much easier to review.