- 🇨🇦Canada pavlosdan
A few years ago I was working on a small paragraphs_enhancements module for the needs of my project back then. The option we went with at the time was a new config entity (to facilitate the exportability as Taxonomy terms wouldn't work for that use case and we don't want site building tasks like that to be taking places in an environment they shouldn't).
Site builders could create their paragraph groups and assign paragraphs to them, which would then be displayed in optgroups in the select add mode. We did this by extending the (back then) experimental paragraphs widget. We could add this functionality to the current paragraphs widget for the select and modal add modes.
If there's still desire for this I could get the code from https://git.drupalcode.org/project/paragraphs_enhancements and adjust it for the latest paragraphs module and open a merge request for review and discussion. Ideally this would solve the grouping issue for paragraphs and allow us to retire the https://www.drupal.org/project/paragraphs_enhancements → module.