Problem/Motivation
With nesting, sometimes complex constructions of paragraphs should be cloned to create multiple similar elements.
Currently, a user needs to rebuild the structure with clicking "Add XYZ" multiple times.
Proposed resolution
Every paragraph level should offer an action "Duplicate" that duplicates the paragraph itself and its children.
Remaining tasks
#2829316: Implement "duplicate paragraphs" feature
#2909416: Hide duplicate action while translating
User interface changes
Duplicate action in Paragraphs widget, right alinged.
API changes
Data model changes

| Comment | File | Size | Author |
|---|---|---|---|
| #2 | upload_11_15_2016_at_10_10_34_AM.png | 86.49 KB | drobnjak |
Comments
Comment #2
drobnjak commentedComment #3
johnchqueAdded first step. Might be done soon.
Comment #4
miro_dietikerWe need extensive test coverage that verifies cloning works with multiple levels of nesting and that new IDs result and instances are not mixed up at all.
One question is always coming up - how much is this related with the replication UI module? We should check combined and make sure we are not creating double duplicate entries ever.
Comment #5
miro_dietikerAdded issue :-)
Comment #6
miro_dietikerComment #7
loopduplicate commentedAre there plans to backport to D7? Is there an existing META issue for D7?
I found the following ticket: #2588469: Cloning paragraph items within same paragraphs field
Comment #8
loopduplicate commentedComment #9
miro_dietikerWe are not backporting anything. D8 is way advanced and backporting anything would slow down our progress. Instead you should upgrade. :-)
Comment #10
miro_dietikerThis is pretty much done.