- 🇺🇸United States DamienMcKenna NH, USA
#14 was for compatibility with Layout Paragraphs v1.
- 🇩🇪Germany Anybody Porta Westfalica
Thanks @DamienMcKenna and sorry for my dumb question. So does anyone know if this issue or 🐛 Nested paragraph support RTBC is still required for Paragraphs or Layout Paragraphs 2?
Would be super nice to close this chapter.
- 🇺🇸United States DamienMcKenna NH, USA
I don't have access to the site that needed the patch, so I don't know if this patch is still needed. However, we weren't using nested paragraphs so didn't run into the other issue.
- 🇵🇹Portugal jrochate
Using this versions:
- Drupal 10.1.7
- Quick Node Clone 1.16
- Layout Paragraphs 2.0.4
- Paragraphs 1.16I have patched with #3183249 but still didn't get paragraphs do be clone inside the LP paragraph.
When the page's #14 patch, conclude that they can't be applied simultaneously.But....
When applying ONLY this page's #14 patch, the clone works like expected.
So, thanks to @DamienMcKenna and @Anybody. This could be merged.
- Status changed to RTBC
12 months ago 11:01am 26 January 2024 - 🇬🇧United Kingdom hebl
I can confirm what @jrochate said above.
Using these versions:
- Drupal 10.2.2
- Quick Node Clone 1.17
- Layout Paragraphs 2.0.4
- Paragrapghs 1.17...Patch #14 by @DamienMcKenna works, and paragraphs within sections are now being cloned correctly.
I'm not sure what the next steps are here regarding getting it merged. The code in the patch suggests it should ideally live in the layout_paragraphs module
Thanks to @DamienMcKenna for the patch :)
- 🇺🇸United States pbabin
Came across this issue today or at least I came across this today to address an issue where our setup is not cloning the content.
Using the following:
- Drupal 10.3.1
- Quick Node Clone 1.18
- Layout Paragraphs 2.0.8
- Paragraphs 1.17
- Mercury Editor 2.1.1Patch #14 by @DamienMckenna works; however, for the brief moment that I looked at this patch it doesn't look it integrates well with Mercury Editor on the node creation page meaning that the content is not using the Mercury Editor inline editor.
@Hebl calls out a good fact and it looks like they are working on something https://www.drupal.org/project/layout_paragraphs/issues/3306081 ✨ Support cloning of paragraphs by integrating with popular contributed clone/replicate modules Active
I've applied the patch from layout_paragraphs and installed the layout_paragraphs_quick_node_clone submodule and it works without an issue. However, like @godotislate mentions our setup is relatively simple and does not include translations. Additionally, on the node clone create page the inline editor for Mercury Editor is displaying. So while patch #14 works, I'd advocate for the adopting the Layout Paragraphs submodule approach if you have a similar issue of cloned content not appearing when using layout paragraphs and quick node clone.
- 🇩🇪Germany Anybody Porta Westfalica
Patch #14 does not apply anymore with latest quick_node_clone. So should we maybe close this and switch over to ✨ Support cloning of paragraphs by integrating with popular contributed clone/replicate modules Active ?
- 🇮🇹Italy andrea_fal88
I checked the changes in version 8.x-1.20 and why the patch is no longer applied.
I have modified patch #14 to match the latest version, which seems to work.I also plan to create the MR when I have some free time.