https://github.com/ahebrank/paragraphs_previewer_popup
Inline Paragraphs preview popups from content edit forms
https://github.com/ahebrank/paragraphs_previewer_popup
drupal drupal-8 drupal-module
Last synced: 4 months ago
JSON representation
Inline Paragraphs preview popups from content edit forms
- Host: GitHub
- URL: https://github.com/ahebrank/paragraphs_previewer_popup
- Owner: ahebrank
- Created: 2018-02-23T17:22:06.000Z (over 8 years ago)
- Default Branch: 2.0.x
- Last Pushed: 2025-05-29T00:08:15.000Z (about 1 year ago)
- Last Synced: 2025-10-21T02:56:25.033Z (8 months ago)
- Topics: drupal, drupal-8, drupal-module
- Language: PHP
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Paragraphs Previewer Popup
Provides a rendered preview of a paragraphs item while on an entity form. Forked from drupal/paragraphs_previewer, this module takes a different approach to how it is associated with the Paragraphs widgets.
Enable the module and check "Enable preview" on a Paragraphs field widget (under Manage Form Display)
# 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.
# Roadmap / Planned features
* Dynamic field labeling on the preview. To which elements of the design do the
paragraph fields correspond?
* Dynamic fake data on the preview. I'm not sure what this component looks like--
show me an example.
# Caveats
* Assumes modular component styling; preview will not include contextual styling
* You may need to add a "page--paragraphs-previewer-popup.html.twig" template to
render your paragraphs without page wrappers.