Problem/Motivation

When a paragraph is promoted to the library, the name is created automatically; it does not give the option to set it at that time.

Steps to reproduce

  • Install the "paragraph_library" module.
  • Create a paragraph type, and mark it as "Allow promoting to library."
  • Create a content type with a field that manages the created paragraph.
  • Create a node, add a paragraph, and from the paragraph menu, select "Promote to library." The paragraph is created with an automatic name.

Proposed resolution

Request the name when clicking on "Promote the library"

Remaining tasks

User interface changes

API changes

Data model changes

Comments

pascuperbla created an issue. See original summary.

pascuperbla’s picture

ozicon’s picture

This patch is not updated to version 8.x-1.23

slivorezka’s picture

Fixed the path issues and replaced window.prompt... with Drupal.dialog....

rene bakx’s picture

Who or what do we need to get the patch of @slivorezka merged? Having the option to add a proper name for paragraph when promoting it to the library is key from a UX/Editorial point of view!

rene bakx’s picture

Status: Active » Reviewed & tested by the community