To theme a paragraph item in the frontend I can use paragraphs-item--**name**.tpl.php within my theme.
This file is also used for paragraphs editor preview, but without any additional variables available like all the fields, only with renderable $content...
Is there any way to theme the preview output?

Comments

DrCord’s picture

anyone, please?

hubert_r2’s picture

I'd love to be able to do that too. I'm using template files for each paragraph type, and it doesn't seem to work too well with the preview (I am getting all sorts of errors because the fields arrays don't exist)

delacosta456’s picture

hi
Please i am interested in this too .. is there any solution for this please

bluegeek9’s picture

Status: Active » Closed (outdated)
//www.flaticon.com/free-icons/thank-you Thank you for your contribution!

Unfortunately, Drupal 7 is End of Life and no longer supported. We strongly encourage you to upgrade to a supported version of Drupal.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.