jckresko β made their first commit to this issueβs fork.
Please, take a look!
https://www.drupal.org/project/layout_paragraphs/issues/3208180#comment-15107922
β¨
Provide frontend editing experience for Layout Paragraphs.
Active
I've created a Issue fork and made some changes to allow that the field displays the default theme templates and load a library.
1 - After update with the changes, go to /admin/config/content/layout_paragraphs/default-theme and check the checkbox option.
2 - Add your default theme library to load js and css. I created a separated styles file includind .lp-builder prepend each style so the styles will be applied on Layout Paragraphs Field only without conflicts.
Eg: mytheme/admin-library
I added the hook_theme_registry_alter to change paragraphs item and to add all your paragraphs--type templates too (if there is).
This modification search for template files inside your custom theme.
I hope it's useful and can set a path for this to be implemented.
An alternative that the module already has is to use the Layout Paragraph Builder field formatter on the 'manage display' and add or edit the paragraphs within the default theme.
Feel free to use, modify and even think it's bad :)
jckresko β made their first commit to this issueβs fork.