Details
-
Bug
-
Resolution: Unresolved
-
Critical
-
2.4.0-beta1
Description
Developers should be able to define an override (using eZ design engine) for embed-inline.
Steps to reproduce
- define a template for embed-inline view as follow
ezpublish: system: site_group: content_view: embed-inline: product: template: "@ezdesign/embed_inline/product.html.twig" match: Identifier\ContentType: [product]
- add a template embed_inline/product.html
{{ ez_render_field(content, 'price') }}
- edit a content item with a rich text field
- in a paragraph, "embed-inline" a product
- click on preview
Result
The default template is loaded (name of the embed content object and the link).
Expected result
The price should be displayed.
Attachments
Issue Links
- relates to
-
EZP-29812 As an editor, I want to embed a content item within a block element
- Closed