- π©πͺGermany Anybody Porta Westfalica
Just came across this idea again and I think it would be really brilliant to be able to copy whole layouts including their content to other pages or projects. It's a game-changer! But it's not simple.
In constrast to Wordpress Elementor, Drupal uses structured database data, while Elementor and Gutenberg both are kind of WYSIWYG textfield-based.
But still I think if we'll one day have an export / import icon on layouts and paragraphs, that will be wonderful!
I agree that this functionality would be very practical.
Copy single paragraphs or paragraph containers, such as a layout paragraph (along with their contents) into a clipboard, and then insert them into another page with paragraphs.
- First commit to issue fork.
- Merge request !155Copy paste feature issue https://www.drupal.org/project/layout_paragraphs/issues/3311074 β (Open) created by yorchperaza
- last update
8 months ago 3 pass, 28 fail - πΊπΈUnited States yorchperaza Denver
I've developed a preliminary patch in response to this issue. This patch lays the groundwork for the desired feature, addressing the core functionality.
While the current implementation is operational, I want to emphasize that it is in an early stage. Additional testing is required to ensure robustness and compatibility. I welcome feedback and testing from the community to refine and improve this patch.
Please find attached the patch file. I'm looking forward to your insights and suggestions to enhance this contribution to the Drupal project.
- last update
8 months ago 3 pass, 28 fail @yorchperaza thank you for your work, I will test it.
This will be a very neat functionality if it works.- π¬π§United Kingdom andy inman Gloucestershire, UK
Now it exists: https://www.drupal.org/project/paragraphs_clipboard β
- πΊπΈUnited States yorchperaza Denver
@andy-inman seems like not is compatible with layout_paragraphs
- π¬π§United Kingdom andy inman Gloucestershire, UK
@ yorchperaza
> seems like not is compatible with layout_paragraphs
Correct - I spoke/wrote too soon. But they're in the process of adding that as a submodule.
- π¦π²Armenia hhvardan
Added Layout Paragraphs Clipboard submodule to the Paragraphs Clipboard β module to extend the functionality of the Layout Paragraphs (layout_paragraphs) module by adding copy-paste functionality.