Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook up preview #1580

Merged
merged 3 commits into from
Aug 21, 2024
Merged

Hook up preview #1580

merged 3 commits into from
Aug 21, 2024

Conversation

TomWoodward
Copy link
Member

https://openstax.atlassian.net/browse/DISCO-441

the https://github.com/torchbox/wagtail-headless-preview project ended up not really working for me here, it had a kind of excessively complicated system for actually hooking up the preview button, didn't work for UIs that loaded multiple pages.

in the end it really wasn't that complicated to just hook it up without a library

@TomWoodward
Copy link
Member Author

once you save the first draft of a flexpage, you can see the preview right in the admin without publishing
image

@TomWoodward TomWoodward merged commit 0c5587c into main Aug 21, 2024
1 check passed
@TomWoodward TomWoodward deleted the hook-up-preview branch August 21, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants