Details
-
Bug
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
DevX 3
-
2
Description
```
For the edit mode, make sure you include variants=all on the query params.
```
This is not full info.
Adding the variants only in edit mode,
having some not default variant chosen,
clicking on the preview page would render the empty component.
What we need is:
Edit page
iframe src: mgnl-author.com/foobar.html?mgnlPreview=false&mgnlChannel=desktop
YES, we need variants=all
Preview page
iframe src: mgnl-author.com/foobar.html?mgnlPreview=true&mgnlChannel=desktop
YES, we need variants=all
Preview as visitor
iframe src: mgnl-author.com/foobar.html?mgnlPreviewAsVisitor=true
NO, we DO NOT need variants=all
So we need to have variants=all when iframe src has mgnlPreview query parameter present.
Checklists
Acceptance criteria