Questions tagged [live-preview]
Craft CMS allows editors to preview their content as they create and edit. This tag relates specifically to using and integrating with the live preview feature.
6
questions with no upvoted or accepted answers
2
votes
0answers
158 views
Live Preview not showing correct content when using single page app with JavaScript
So I am creating a website using Craft with JavaScript for making it a single page app. I load my layout which then calls the pages which works well.
The only problem is that when viewing pages ...
1
vote
0answers
83 views
Multi site live preview not working on index page
I'm on Craft 3.1.17.2
My multisite setup is using different domains.
If I'm on a.com, I can Live Preview everything on b.com fine, except the homepage.
I get the error Access to XMLHttpRequest at '...
1
vote
0answers
36 views
Can scripts loaded as ES Modules work with Live Preview?
How can a script loaded as an ES module be reinitiated after changes are made in Live Preview? In my experience a script loaded as a module is executed the first time Live Preview is opened, but then ...
1
vote
0answers
48 views
DateTime is null in Live Preview
I made a custom field type (two datetime fields for starting / ending time). They have the good value when I loop in value in an entry, but have null value in Live Preview. Do you have an idea of what ...
0
votes
0answers
62 views
How to get headless live preview to work with multi site?
I'm trying to get Live Preview Targets to work with several sites on a headless site. I have set the preview target uri to be /{uri} and the live preview loads correctly for site number 1. When I ...
0
votes
0answers
69 views
Client not able to access live preview or offline site
Is there any obvious reason why a client is not able to access live preview or an offline site? I've tested the login myself and it works OK. The client has tried using IE on a PC and Chrome and ...