Paragraphs Previewer
Component ID
2709485
Component name
Paragraphs Previewer
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
3801
Component created
Component changed
Component body
Provides a rendered preview of a paragraphs item while on an entity form.
Sponsored by Phase2 Technology.
Features
- Preview the rendered paragraph before saving the entity.
- Previewer can be enabled per field instance.
- Full width window to preview the design.
- Resizable window to preview responsive designs.
Caveats
- Preview popup uses the front end theme to style the rendered markup. This assumes that all styling is applied to that paragraph's markup and does not need any other page context / wrapping markup, example node markup.
8.x Requirements
7.x Requirements
- Paragraphs module with the following patches:
- #2564327: Host entity problems (ajax errors / nested paragraphs / UI speed): Patch #85 - Adds host entity info to the item's element array. This provides the host entity needed to render the paragraph from the form state.
- Optional Support:
- #2201251: field_language shouldn't cache display_languages for new entities: Drupal 7 core patch to fix field_language's static cache collisions for multiple new entities of the same entity type but different bundle. This patch could be needed depending on the field formatter that is used to render the paragraphs field.
