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

Preview for published posts not working when editing #6331

Closed
ghost opened this issue Apr 21, 2018 · 5 comments
Closed

Preview for published posts not working when editing #6331

ghost opened this issue Apr 21, 2018 · 5 comments
Labels
[Feature] Saving Related to saving functionality [Type] Bug An existing feature does not function as intended

Comments

@ghost
Copy link

ghost commented Apr 21, 2018

Hi. I don't know if this has been reported before or if anyone else is experiencing it, but I have tested versions 2.5 and the latest version (2.7.0) on my staging site and when I am editing an already published post and click preview, the preview does not generate and it only brings a white screen with the "generating preview" text but it is stuck there. I have to switch the post to draft for the preview to work.

@pento
Copy link
Member

pento commented Apr 21, 2018

Thanks for the bug report, @matto15! This has been previously reported in #4625, though is actually a symptom of Autosave not being implemented yet, which is being worked on in #6257.

@pento pento closed this as completed Apr 21, 2018
@myleshyson
Copy link
Contributor

Hey I just updated Gutenberg with #6257 being merged in and I'm still seeing the same white screen when trying to preview a post. Using 2017 Theme on fresh Wordpress Install. Steps to reproduce:

  1. Go to hello world post, click "Preview" and the post preview page shows up fine.
  2. Go back to post and then start typing.
  3. Hit "Preview" button again, and now the white screen shows up.

@HavaCo
Copy link

HavaCo commented Aug 6, 2018

The same is happening to me.

@designsimply designsimply added [Type] Bug An existing feature does not function as intended [Feature] Saving Related to saving functionality labels Aug 15, 2018
@designsimply
Copy link
Member

I have just re-tested with @myleshyson's testing steps and I was unable to reproduce the problem (using WordPress 4.9.8 and Gutenberg 3.5.0 with Firefox 61.0.2 on macOS 10.13.6).

In case autosaves are a factor here, please see #7852 (comment) for some testing steps that result in previews getting stuck for me and note that #7416 is the issue to follow for that bug.

@joostmollerus
Copy link

I am using Gutenberg version 3.6.2 (Chrome Version 68.0.3440.106, OS: Windows 8.1 and WordPress 4.9.8)
One site running Attitude (by Theme Horse) Child theme, has the same problem when using preview: Preview opens and says "generating preview" forever.
However another site running Twenty Twelve,Version: 2.5 by the WordPressteam
has no problems in generating the preview:
So maybe the theme used determines if there is a problem when generating the preview?
Please let me know if you need additional information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Saving Related to saving functionality [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

5 participants