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
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | paragraphs-library-rename-promoting-to-library.patch | 12.32 KB | slivorezka |
| #2 | paragraphs_library-rename_promoting_to_library-3581573-2.patch | 9.96 KB | pascuperbla |
Comments
Comment #2
pascuperbla commentedComment #3
ozicon commentedThis patch is not updated to version 8.x-1.23
Comment #4
slivorezkaFixed the path issues and replaced
window.prompt...withDrupal.dialog....Comment #5
rene bakxWho 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!
Comment #6
rene bakx